From 0e1a7f000ccdcf6f84ec66192b025f261772cdb3 Mon Sep 17 00:00:00 2001 From: gumi Date: Sun, 11 Nov 2018 17:18:14 -0500 Subject: give unique ids to magic spell effects --- world/map/npc/magic/level2-shear.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'world/map/npc/magic/level2-shear.txt') diff --git a/world/map/npc/magic/level2-shear.txt b/world/map/npc/magic/level2-shear.txt index 46993ca0..325e0863 100644 --- a/world/map/npc/magic/level2-shear.txt +++ b/world/map/npc/magic/level2-shear.txt @@ -8,7 +8,7 @@ addtimer 1000, "Magic Timer::OnClear"; // set the new debuff callfunc "adjust_spellpower"; set Sp, Sp - 23; - misceffect FX_MAGIC_GREEN, strcharinfo(0); + misceffect FX_MAGIC_SHEAR_CAST, strcharinfo(0); setarray @chipchipspell[0], @spellpower, (((200 - Agi) * 2000) / 200); //delay @@ -50,12 +50,12 @@ L_FreeRecast: OnDischarge: if (@chipchipspell[2] < 1) end; set @chipchipspell[2], 0; - misceffect FX_FIRE_BURST, strcharinfo(0); + misceffect FX_MAGIC_DISCHARGE, strcharinfo(0); overrideattack; end; OnSetRecast: - overrideattack @chipchipspell[1], 1, ATTACK_ICON_SHEARING, 30, strnpcinfo(0)+"::OnAttack", @chipchipspell[2]; + overrideattack @chipchipspell[1], 1, ATTACK_ICON_SHEARING, OVERRIDE_SHEAR, strnpcinfo(0)+"::OnAttack", @chipchipspell[2]; end; OnInit: -- cgit v1.2.3-60-g2f50