summaryrefslogtreecommitdiff
path: root/npc/functions/filters.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-09-06 14:56:28 -0300
committerJesusaves <cpntb1@ymail.com>2020-09-06 14:56:28 -0300
commit11eca31d2f8882b62517c0a6367e102dd5721d0d (patch)
tree19d3a5f9ec90dd8536340a5a11bd3beae28e67b7 /npc/functions/filters.txt
parentbfa2ea9156fe9c598d89cb8f7b996484553ff177 (diff)
downloadserverdata-11eca31d2f8882b62517c0a6367e102dd5721d0d.tar.gz
serverdata-11eca31d2f8882b62517c0a6367e102dd5721d0d.tar.bz2
serverdata-11eca31d2f8882b62517c0a6367e102dd5721d0d.tar.xz
serverdata-11eca31d2f8882b62517c0a6367e102dd5721d0d.zip
Disable looting mode from summons.
Also ensure all summons can suffer from knockback. There are other stuff I could do, but for now, it is not necessary
Diffstat (limited to 'npc/functions/filters.txt')
-rw-r--r--npc/functions/filters.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/npc/functions/filters.txt b/npc/functions/filters.txt
index fd9928647..01e3a8569 100644
--- a/npc/functions/filters.txt
+++ b/npc/functions/filters.txt
@@ -121,7 +121,6 @@ function script filter_friendly {
// filter_notboss( id )
function script filter_notboss {
- // 32 = MD_BOSS
- return (!(getunitdata(getarg(0), UDT_MODE) & 32));
+ return (!(getunitdata(getarg(0), UDT_MODE) & MD_BOSS));
}