summaryrefslogtreecommitdiff
path: root/world/map/npc
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-05-01 11:15:59 -0400
committermekolat <mekolat@users.noreply.github.com>2016-05-01 11:15:59 -0400
commit5c2c4cc7399c76f42e35a8f5c074b2a1bfe86a81 (patch)
tree15f24f4488cffb0ded3dc4c1895f2d63970e9272 /world/map/npc
parente1ae9308f1475133d7b7693a55830315871824bf (diff)
downloadserverdata-5c2c4cc7399c76f42e35a8f5c074b2a1bfe86a81.tar.gz
serverdata-5c2c4cc7399c76f42e35a8f5c074b2a1bfe86a81.tar.bz2
serverdata-5c2c4cc7399c76f42e35a8f5c074b2a1bfe86a81.tar.xz
serverdata-5c2c4cc7399c76f42e35a8f5c074b2a1bfe86a81.zip
add discharge handler to chipchip
Diffstat (limited to 'world/map/npc')
-rw-r--r--world/map/npc/magic/level2-shear.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/world/map/npc/magic/level2-shear.txt b/world/map/npc/magic/level2-shear.txt
index 91bb4de0..f65119c3 100644
--- a/world/map/npc/magic/level2-shear.txt
+++ b/world/map/npc/magic/level2-shear.txt
@@ -47,6 +47,13 @@ L_FreeRecast:
addtimer 0, strnpcinfo(0) + "::OnSetRecast"; // we can't do it while already overridden, until it reaches a script terminator
end;
+OnDischarge:
+ if (@chipchipspell[2] < 1) end;
+ set @chipchipspell[2], 0;
+ misceffect FX_FIRE_BURST, strcharinfo(0);
+ overrideattack;
+ end;
+
OnSetRecast:
overrideattack @chipchipspell[1], 1, ATTACK_ICON_SHEARING, 30, strnpcinfo(0)+"::OnAttack";
end;