summaryrefslogtreecommitdiff
path: root/npc/config
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-12-29 08:07:13 -0300
committerJesusaves <cpntb1@ymail.com>2021-12-29 08:07:13 -0300
commita442c7213c1ca41ead1c6eb21faded46ea2831d7 (patch)
treedec2f8194fccd90ba7c4b4afda7334bc6eae608d /npc/config
parentfa32276164368ba630bd94eee4dab7b75323f2bb (diff)
downloadserverdata-a442c7213c1ca41ead1c6eb21faded46ea2831d7.tar.gz
serverdata-a442c7213c1ca41ead1c6eb21faded46ea2831d7.tar.bz2
serverdata-a442c7213c1ca41ead1c6eb21faded46ea2831d7.tar.xz
serverdata-a442c7213c1ca41ead1c6eb21faded46ea2831d7.zip
Fix a bug on areaharm() which prevented defense from being applied
Diffstat (limited to 'npc/config')
-rw-r--r--npc/config/magic.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt
index f9caa7bcc..afc422793 100644
--- a/npc/config/magic.txt
+++ b/npc/config/magic.txt
@@ -171,7 +171,7 @@ function script areaharm {
// Filtering
if (!callfunc(.@f$, .@mbs[.@i]))
continue;
- harm(.@mbs[.@i], .@d, .@t, .@e);
+ harm(.@mbs[.@i], .@d, .@h, .@e);
specialeffect(FX_ATTACK, AREA, .@mbs[.@i]);
// TODO: Handle MobPt to don't overload timer system?
}
@@ -198,7 +198,7 @@ function script rectharm {
// Filtering
if (!callfunc(.@f$, .@mbs[.@i]))
continue;
- harm(.@mbs[.@i], .@d, .@t, .@e);
+ harm(.@mbs[.@i], .@d, .@h, .@e);
specialeffect(FX_ATTACK, AREA, .@mbs[.@i]);
// TODO: Handle MobPt to don't overload timer system?
}