summaryrefslogtreecommitdiff
path: root/world
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-05-01 11:16:44 -0400
committermekolat <mekolat@users.noreply.github.com>2016-05-01 11:16:44 -0400
commitaafa96bd9d08f98db8f45ddc191d48fadf77e103 (patch)
treeb0aff2b61feb12fea8b01ed0415e3e0dfad631a4 /world
parent5c2c4cc7399c76f42e35a8f5c074b2a1bfe86a81 (diff)
downloadserverdata-aafa96bd9d08f98db8f45ddc191d48fadf77e103.tar.gz
serverdata-aafa96bd9d08f98db8f45ddc191d48fadf77e103.tar.bz2
serverdata-aafa96bd9d08f98db8f45ddc191d48fadf77e103.tar.xz
serverdata-aafa96bd9d08f98db8f45ddc191d48fadf77e103.zip
add discharge handler to phlex
Diffstat (limited to 'world')
-rw-r--r--world/map/npc/magic/level2-toxic-dart.txt7
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;