From f2b84d1756c667285dc2bfd74ba2e63d52938929 Mon Sep 17 00:00:00 2001 From: mekolat Date: Sun, 1 May 2016 11:05:48 -0400 Subject: add discharge handler to confringo --- world/map/npc/magic/level0-wand.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'world/map/npc') 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; -- cgit v1.2.3-70-g09d2