summaryrefslogtreecommitdiff
path: root/world/map/npc/magic
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-05-01 11:15:03 -0400
committermekolat <mekolat@users.noreply.github.com>2016-05-01 11:15:03 -0400
commite1ae9308f1475133d7b7693a55830315871824bf (patch)
treed69b43db18d1cfadb00b56ebe5e78454ce3c9899 /world/map/npc/magic
parent3db2aae2fc376d19880e483bc64832ed5955645c (diff)
downloadserverdata-e1ae9308f1475133d7b7693a55830315871824bf.tar.gz
serverdata-e1ae9308f1475133d7b7693a55830315871824bf.tar.bz2
serverdata-e1ae9308f1475133d7b7693a55830315871824bf.tar.xz
serverdata-e1ae9308f1475133d7b7693a55830315871824bf.zip
add discharge handler to upmarmu
Diffstat (limited to 'world/map/npc/magic')
-rw-r--r--world/map/npc/magic/level2-magic-knuckles.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/world/map/npc/magic/level2-magic-knuckles.txt b/world/map/npc/magic/level2-magic-knuckles.txt
index 7b6afeed..d309804b 100644
--- a/world/map/npc/magic/level2-magic-knuckles.txt
+++ b/world/map/npc/magic/level2-magic-knuckles.txt
@@ -31,6 +31,13 @@ L_FreeRecast:
addtimer 0, strnpcinfo(0) + "::OnSetRecast";
end;
+OnDischarge:
+ if (@upmarmuspell[1] < 1) end;
+ set @upmarmuspell[1], 0;
+ misceffect FX_FIRE_BURST, strcharinfo(0);
+ overrideattack;
+ end;
+
OnSetRecast:
overrideattack @upmarmuspell[2], 1, ATTACK_ICON_GENERIC, 34, strnpcinfo(0)+"::OnAttack";
end;