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-hide.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'world/map/npc/magic/level2-hide.txt') diff --git a/world/map/npc/magic/level2-hide.txt b/world/map/npc/magic/level2-hide.txt index 85c5c40a..b129a163 100644 --- a/world/map/npc/magic/level2-hide.txt +++ b/world/map/npc/magic/level2-hide.txt @@ -15,12 +15,12 @@ addtimer 1000, "Magic Timer::OnClear"; // set the new debuff callfunc "adjust_spellpower"; set Sp, Sp - 11; - misceffect FX_MAGIC_BLUE, strcharinfo(0); + misceffect FX_MAGIC_HIDE_CAST, strcharinfo(0); callfunc "magic_exp"; if (distance(BL_ID, @target_id) >= (@spellpower/30)+2) set @target_id, BL_ID; if (BL_ID == @target_id) set @args$, strcharinfo(0); - if (BL_ID != @target_id) misceffect FX_MAGIC_DEFAULT, @args$; + if (BL_ID != @target_id) misceffect FX_MAGIC_HIDE_HIT, @args$; set .@time, (@spellpower*2500)+5000; set @anwiltyp_time, .@time, @target_id; sc_start SC_HIDE, .@time, 0, @target_id; @@ -34,7 +34,7 @@ OnEnd: if (gettimetick(0) - @anwiltyp_future < 0) end; if (sc_check(SC_HIDE) != 1) end; message strcharinfo(0), "Magic : You are no longer hidden."; - misceffect FX_MAGIC_GENERIC, strcharinfo(0); + misceffect FX_MAGIC_HIDE_END, strcharinfo(0); end; OnInit: -- cgit v1.2.3-60-g2f50