diff options
-rw-r--r-- | npc/functions/filters.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/filters.txt b/npc/functions/filters.txt index bb4d8d6..c97b816 100644 --- a/npc/functions/filters.txt +++ b/npc/functions/filters.txt @@ -76,11 +76,11 @@ function script filter_hostile { // FIXME: We already have !(filter_sameguildorparty()) // We might be over-processing this // Honor party flag - if (!getmapflag(.@mapa$, mf_pvp_noparty) && + if (!getmapflag(.@m$, mf_pvp_noparty) && getcharid(1) == getcharid(1, strcharinfo(0, "", .@chkid))) return false; // Honor guild flag - if (!getmapflag(.@mapa$, mf_pvp_noguild) && + if (!getmapflag(.@m$, mf_pvp_noguild) && getcharid(2) == getcharid(2, strcharinfo(0, "", .@chkid))) return false; } |