From b5e1b1ef16d57c58feb05f8a8b6e70b0f31be512 Mon Sep 17 00:00:00 2001
From: mekolat <mekolat@users.noreply.github.com>
Date: Sun, 1 May 2016 11:09:28 -0400
Subject: add discharge handler to flar

---
 world/map/npc/magic/level1-flare-dart.txt | 7 +++++++
 1 file changed, 7 insertions(+)

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;
-- 
cgit v1.2.3-70-g09d2