summaryrefslogtreecommitdiff
path: root/world
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-05-01 11:14:52 -0400
committermekolat <mekolat@users.noreply.github.com>2016-05-01 11:14:52 -0400
commit3db2aae2fc376d19880e483bc64832ed5955645c (patch)
tree9a8416632fd9973fc563486b8b099a96fd1a045c /world
parenta8d45a3d95a1d9d7e09fabd0b9f4d83286c3fa6e (diff)
downloadserverdata-3db2aae2fc376d19880e483bc64832ed5955645c.tar.gz
serverdata-3db2aae2fc376d19880e483bc64832ed5955645c.tar.bz2
serverdata-3db2aae2fc376d19880e483bc64832ed5955645c.tar.xz
serverdata-3db2aae2fc376d19880e483bc64832ed5955645c.zip
add discharge handler to ingrav
Diffstat (limited to 'world')
-rw-r--r--world/map/npc/magic/level2-lightning-strike.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/world/map/npc/magic/level2-lightning-strike.txt b/world/map/npc/magic/level2-lightning-strike.txt
index 69189ed4..2baa2d33 100644
--- a/world/map/npc/magic/level2-lightning-strike.txt
+++ b/world/map/npc/magic/level2-lightning-strike.txt
@@ -41,6 +41,13 @@ L_FreeRecast:
addtimer 0, strnpcinfo(0) + "::OnSetRecast";
end;
+OnDischarge:
+ if (@ingravspell[2] < 1) end;
+ set @ingravspell[2], 0;
+ misceffect FX_FIRE_BURST, strcharinfo(0);
+ overrideattack;
+ end;
+
OnSetRecast:
overrideattack @ingravspell[3], 8, ATTACK_ICON_GENERIC, 31, strnpcinfo(0)+"::OnAttack";
end;