From a442c7213c1ca41ead1c6eb21faded46ea2831d7 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 29 Dec 2021 08:07:13 -0300 Subject: Fix a bug on areaharm() which prevented defense from being applied --- npc/config/magic.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/config') 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? } -- cgit v1.2.3-70-g09d2