diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-06-23 01:09:30 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-06-23 01:09:30 -0300 |
commit | c287943f22b294bb074411ae3e3d04ce02726841 (patch) | |
tree | 8c93db35addd1761a24e92a7a7be9131c3f27379 /npc/config/magic.txt | |
parent | 9701df54795ff74f23391a259edb29196d0fbd4f (diff) | |
download | serverdata-c287943f22b294bb074411ae3e3d04ce02726841.tar.gz serverdata-c287943f22b294bb074411ae3e3d04ce02726841.tar.bz2 serverdata-c287943f22b294bb074411ae3e3d04ce02726841.tar.xz serverdata-c287943f22b294bb074411ae3e3d04ce02726841.zip |
Fix a few tiny bugs
Diffstat (limited to 'npc/config/magic.txt')
-rw-r--r-- | npc/config/magic.txt | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt index b0ebea7a6..9792e3394 100644 --- a/npc/config/magic.txt +++ b/npc/config/magic.txt @@ -133,21 +133,16 @@ function script areaharm { getunitdata(.@t, UDT_MAPIDXY, .@loc); .@x=.@loc[1]; .@y=.@loc[2]; - debugmes("Loc %s (%d, %d) - Real loc %s", .@m$, .@x, .@y, str(.@loc[0])); + //debugmes("Loc %s (%d, %d) - Real loc %s", .@m$, .@x, .@y, str(.@loc[0])); .@c=getunits(.@b, .@mbs, false, .@m$, .@x-.@r, .@y-.@r, .@x+.@r, .@y+.@r); - debugmes "Begin"; for (.@i = 0; .@i < .@c; .@i++) { // Filtering if (!callfunc(.@f$, .@mbs[.@i])) continue; - debugmes "Target %d", .@mbs[.@i]; harm(.@mbs[.@i], .@d, .@t, .@e); - debugmes "Harmed"; specialeffect(FX_ATTACK, AREA, .@mbs[.@i]); - debugmes "FX'ed"; } - debugmes "Done"; return; } |