summaryrefslogtreecommitdiff
path: root/npc/config/magic.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/config/magic.txt')
-rw-r--r--npc/config/magic.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt
index afc422793..aaa69ff8a 100644
--- a/npc/config/magic.txt
+++ b/npc/config/magic.txt
@@ -150,7 +150,7 @@ function script SummonMagic {
return;
}
-// areaharm(target, range, DMG, {type, element, filter, bl})
+// areaharm(caster, range, DMG, {type, element, filter, bl})
// Defaults to HARM_MISC, Ele_Neutral, filter filter_hostile and all BLs
// Valid BL: BL_MOB | BL_PC | BL_HOM | BL_MER
// Do not use: NPC, PET, ELEM
@@ -171,7 +171,7 @@ function script areaharm {
// Filtering
if (!callfunc(.@f$, .@mbs[.@i]))
continue;
- harm(.@mbs[.@i], .@d, .@h, .@e);
+ harm(.@mbs[.@i], .@d, .@h, .@e, .@t);
specialeffect(FX_ATTACK, AREA, .@mbs[.@i]);
// TODO: Handle MobPt to don't overload timer system?
}
@@ -179,7 +179,7 @@ function script areaharm {
}
-// rectharm(target, x, y, DMG, {type, element, filter, bl})
+// rectharm(caster, x, y, DMG, {type, element, filter, bl})
// Same as areaharm() but causes a rectangle in (x,y) size, instead of a square
function script rectharm {
.@t=getarg(0);
@@ -198,7 +198,7 @@ function script rectharm {
// Filtering
if (!callfunc(.@f$, .@mbs[.@i]))
continue;
- harm(.@mbs[.@i], .@d, .@h, .@e);
+ harm(.@mbs[.@i], .@d, .@h, .@e, .@t);
specialeffect(FX_ATTACK, AREA, .@mbs[.@i]);
// TODO: Handle MobPt to don't overload timer system?
}