diff options
author | mekolat <mekolat@users.noreply.github.com> | 2016-05-01 11:14:52 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2016-05-01 11:14:52 -0400 |
commit | 3db2aae2fc376d19880e483bc64832ed5955645c (patch) | |
tree | 9a8416632fd9973fc563486b8b099a96fd1a045c | |
parent | a8d45a3d95a1d9d7e09fabd0b9f4d83286c3fa6e (diff) | |
download | serverdata-3db2aae2fc376d19880e483bc64832ed5955645c.tar.gz serverdata-3db2aae2fc376d19880e483bc64832ed5955645c.tar.bz2 serverdata-3db2aae2fc376d19880e483bc64832ed5955645c.tar.xz serverdata-3db2aae2fc376d19880e483bc64832ed5955645c.zip |
add discharge handler to ingrav
-rw-r--r-- | world/map/npc/magic/level2-lightning-strike.txt | 7 |
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; |