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-flying-backpack.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'world/map/npc/magic/level2-flying-backpack.txt') diff --git a/world/map/npc/magic/level2-flying-backpack.txt b/world/map/npc/magic/level2-flying-backpack.txt index 444fe710..84c95e70 100644 --- a/world/map/npc/magic/level2-flying-backpack.txt +++ b/world/map/npc/magic/level2-flying-backpack.txt @@ -11,14 +11,14 @@ addtimer 1000, "Magic Timer::OnClear"; // set the new debuff callfunc "adjust_spellpower"; set Sp, Sp - 12; - misceffect FX_MAGIC_GREEN, strcharinfo(0); + misceffect FX_MAGIC_FLYING_CAST, strcharinfo(0); callfunc "magic_exp"; set @target_id, getcharid(3, @args$); if (@target_id < 1 || !(isloggedin(@target_id)) || get(INVISIBLE, @target_id) == 1) set @target_id, BL_ID; // fallback to self if (distance(BL_ID, @target_id) >= (@spellpower/30)+2) set @target_id, BL_ID; if (get(GM, @target_id) == 1) end; - if (BL_ID != @target_id) misceffect FX_MAGIC_GENERIC, @args$; + if (BL_ID != @target_id) misceffect FX_MAGIC_FLYING_HIT, @args$; if (BL_ID == @target_id) set @args$, strcharinfo(0); set @plugh_time, (@spellpower*500)+5000, @target_id; sc_start SC_FLYING_BACKPACK, @plugh_time, 0, @target_id; @@ -31,7 +31,7 @@ OnEnd: if (gettimetick(0) - @plugh_future < 0) end; if (sc_check(SC_FLYING_BACKPACK) != 1) end; message strcharinfo(0), "Backpack : Your backpack is no longer levitating."; - misceffect FX_MAGIC_GENERIC, strcharinfo(0); + misceffect FX_MAGIC_FLYING_END, strcharinfo(0); end; OnInit: -- cgit v1.2.3-60-g2f50