From 39f8ef9abe0074c132e55a314ad1fd718c541f2f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 1 Jul 2023 16:02:22 -0300 Subject: Fix filters --- npc/functions/filters.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc') 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; } -- cgit v1.2.3-70-g09d2