summaryrefslogtreecommitdiff
path: root/world/map/npc/magic
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-05-01 11:09:28 -0400
committermekolat <mekolat@users.noreply.github.com>2016-05-01 11:09:28 -0400
commitb5e1b1ef16d57c58feb05f8a8b6e70b0f31be512 (patch)
tree60562a56bba74fb46515098f7c45e38ce96eea6b /world/map/npc/magic
parentf2b84d1756c667285dc2bfd74ba2e63d52938929 (diff)
downloadserverdata-b5e1b1ef16d57c58feb05f8a8b6e70b0f31be512.tar.gz
serverdata-b5e1b1ef16d57c58feb05f8a8b6e70b0f31be512.tar.bz2
serverdata-b5e1b1ef16d57c58feb05f8a8b6e70b0f31be512.tar.xz
serverdata-b5e1b1ef16d57c58feb05f8a8b6e70b0f31be512.zip
add discharge handler to flar
Diffstat (limited to 'world/map/npc/magic')
-rw-r--r--world/map/npc/magic/level1-flare-dart.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/world/map/npc/magic/level1-flare-dart.txt b/world/map/npc/magic/level1-flare-dart.txt
index 559134e7..0f70637f 100644
--- a/world/map/npc/magic/level1-flare-dart.txt
+++ b/world/map/npc/magic/level1-flare-dart.txt
@@ -31,6 +31,13 @@ L_FreeRecast:
addtimer 0, strnpcinfo(0) + "::OnSetRecast";
end;
+OnDischarge:
+ if (@flarspell[2] < 1) end;
+ set @flarspell[2], 0;
+ misceffect FX_FIRE_BURST, strcharinfo(0);
+ overrideattack;
+ end;
+
OnSetRecast:
overrideattack @flarspell[3], 4, ATTACK_ICON_GENERIC, 34, strnpcinfo(0)+"::OnAttack";
end;