summaryrefslogtreecommitdiff
path: root/npc/functions/filters.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-01 00:27:47 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-01 00:27:47 -0300
commit5987c2db7e96d01a79e673abf567d06e93c8de82 (patch)
tree112e5aca0a3e4928bac04f233fe8ad2917e85707 /npc/functions/filters.txt
parent06c37f2568409d12ab97188b80902d6fe5d745b6 (diff)
downloadserverdata-5987c2db7e96d01a79e673abf567d06e93c8de82.tar.gz
serverdata-5987c2db7e96d01a79e673abf567d06e93c8de82.tar.bz2
serverdata-5987c2db7e96d01a79e673abf567d06e93c8de82.tar.xz
serverdata-5987c2db7e96d01a79e673abf567d06e93c8de82.zip
Some notes
Diffstat (limited to 'npc/functions/filters.txt')
-rw-r--r--npc/functions/filters.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/functions/filters.txt b/npc/functions/filters.txt
index 1b13aa59e..ff2a2dbf9 100644
--- a/npc/functions/filters.txt
+++ b/npc/functions/filters.txt
@@ -73,6 +73,8 @@ function script filter_hostile {
getmapxy(.@m$, .@x, .@y, .@type, .@chkid);
if (!ispvpmap(.@m$))
return false;
+ // FIXME: We already have !(filter_sameguildorparty())
+ // We might be over-processing this
// Honor party flag
if (!getmapflag(.@mapa$, mf_pvp_noparty) &&
getcharid(1) == getcharid(1, strcharinfo(0, "", .@chkid)))