diff options
author | mekolat <mekolat@users.noreply.github.com> | 2016-05-01 11:16:44 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2016-05-01 11:16:44 -0400 |
commit | aafa96bd9d08f98db8f45ddc191d48fadf77e103 (patch) | |
tree | b0aff2b61feb12fea8b01ed0415e3e0dfad631a4 /world/map/npc/magic | |
parent | 5c2c4cc7399c76f42e35a8f5c074b2a1bfe86a81 (diff) | |
download | serverdata-aafa96bd9d08f98db8f45ddc191d48fadf77e103.tar.gz serverdata-aafa96bd9d08f98db8f45ddc191d48fadf77e103.tar.bz2 serverdata-aafa96bd9d08f98db8f45ddc191d48fadf77e103.tar.xz serverdata-aafa96bd9d08f98db8f45ddc191d48fadf77e103.zip |
add discharge handler to phlex
Diffstat (limited to 'world/map/npc/magic')
-rw-r--r-- | world/map/npc/magic/level2-toxic-dart.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/world/map/npc/magic/level2-toxic-dart.txt b/world/map/npc/magic/level2-toxic-dart.txt index c72520c4..c30eaa00 100644 --- a/world/map/npc/magic/level2-toxic-dart.txt +++ b/world/map/npc/magic/level2-toxic-dart.txt @@ -37,6 +37,13 @@ L_FreeRecast: addtimer 0, strnpcinfo(0) + "::OnSetRecast"; end; +OnDischarge: + if (@phlexspell[3] < 1) end; + set @phlexspell[3], 0; + misceffect FX_FIRE_BURST, strcharinfo(0); + overrideattack; + end; + OnSetRecast: overrideattack @phlexspell[2], 4, ATTACK_ICON_GENERIC, 31, strnpcinfo(0)+"::OnAttack"; end; |