diff options
author | mekolat <mekolat@users.noreply.github.com> | 2016-05-01 11:05:48 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2016-05-01 11:05:48 -0400 |
commit | f2b84d1756c667285dc2bfd74ba2e63d52938929 (patch) | |
tree | 3c7b3896a9208a59c1cc0e6555a73f93195602ab /world/map/npc/magic/level0-wand.txt | |
parent | 59f26d0b42143ba632d9a1bbfe2cdd896ca933cd (diff) | |
download | serverdata-f2b84d1756c667285dc2bfd74ba2e63d52938929.tar.gz serverdata-f2b84d1756c667285dc2bfd74ba2e63d52938929.tar.bz2 serverdata-f2b84d1756c667285dc2bfd74ba2e63d52938929.tar.xz serverdata-f2b84d1756c667285dc2bfd74ba2e63d52938929.zip |
add discharge handler to confringo
Diffstat (limited to 'world/map/npc/magic/level0-wand.txt')
-rw-r--r-- | world/map/npc/magic/level0-wand.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/world/map/npc/magic/level0-wand.txt b/world/map/npc/magic/level0-wand.txt index 9c8a6825..00934806 100644 --- a/world/map/npc/magic/level0-wand.txt +++ b/world/map/npc/magic/level0-wand.txt @@ -19,6 +19,13 @@ L_FreeRecast: addtimer 0, strnpcinfo(0) + "::OnSetRecast"; end; +OnDischarge: + if (@wandspell[4] < 1) end; + set @wandspell[4], 0; + misceffect FX_FIRE_BURST, strcharinfo(0); + overrideattack; + end; + OnSetRecast: overrideattack @wandspell[3], 3, ATTACK_ICON_GENERIC, @wandspell[0], strnpcinfo(0)+"::OnAttack"; end; |