diff options
author | gumi <git@gumi.ca> | 2018-11-11 17:18:14 -0500 |
---|---|---|
committer | gumi <git@gumi.ca> | 2018-11-11 22:36:15 -0500 |
commit | 0e1a7f000ccdcf6f84ec66192b025f261772cdb3 (patch) | |
tree | 7367604274d14b0fdabae946985ef30fc71aa8de /world/map/npc/magic/level2-flying-backpack.txt | |
parent | 15e556361dabcee7d215cb6aeb2f157d30c0963a (diff) | |
download | serverdata-0e1a7f000ccdcf6f84ec66192b025f261772cdb3.tar.gz serverdata-0e1a7f000ccdcf6f84ec66192b025f261772cdb3.tar.bz2 serverdata-0e1a7f000ccdcf6f84ec66192b025f261772cdb3.tar.xz serverdata-0e1a7f000ccdcf6f84ec66192b025f261772cdb3.zip |
give unique ids to magic spell effects
Diffstat (limited to 'world/map/npc/magic/level2-flying-backpack.txt')
-rw-r--r-- | world/map/npc/magic/level2-flying-backpack.txt | 6 |
1 files changed, 3 insertions, 3 deletions
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: |