summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level1-magic-blade.txt
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-11-11 17:18:14 -0500
committergumi <git@gumi.ca>2018-11-11 22:36:15 -0500
commit0e1a7f000ccdcf6f84ec66192b025f261772cdb3 (patch)
tree7367604274d14b0fdabae946985ef30fc71aa8de /world/map/npc/magic/level1-magic-blade.txt
parent15e556361dabcee7d215cb6aeb2f157d30c0963a (diff)
downloadserverdata-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/level1-magic-blade.txt')
-rw-r--r--world/map/npc/magic/level1-magic-blade.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/world/map/npc/magic/level1-magic-blade.txt b/world/map/npc/magic/level1-magic-blade.txt
index 16417d17..1c6c891f 100644
--- a/world/map/npc/magic/level1-magic-blade.txt
+++ b/world/map/npc/magic/level1-magic-blade.txt
@@ -12,7 +12,7 @@
addtimer 500, "Magic Timer::OnClear"; // set the new debuff
callfunc "adjust_spellpower";
set Sp, Sp - 9;
- misceffect FX_MAGIC_BLACK, strcharinfo(0);
+ misceffect FX_MAGIC_BLADE_CAST, strcharinfo(0);
setarray @chizaspell[0],
if_then_else(.@component$ == "Knife", 40, 60), // dmg
Str, // do not allow to equip light armor, cast, and then switch to heavy armor to get bonus str
@@ -26,7 +26,7 @@
OnDischarge:
if (@chizaspell[2] < 1) end;
set @chizaspell[2], 0;
- misceffect FX_FIRE_BURST, strcharinfo(0);
+ misceffect FX_MAGIC_DISCHARGE, strcharinfo(0);
overrideattack;
end;
@@ -42,7 +42,7 @@ L_FreeRecast:
end;
OnSetRecast:
- overrideattack @chizaspell[3], 1, ATTACK_ICON_GENERIC, 30, strnpcinfo(0)+"::OnAttack", @chizaspell[2];
+ overrideattack @chizaspell[3], 1, ATTACK_ICON_GENERIC, OVERRIDE_BLADE, strnpcinfo(0)+"::OnAttack", @chizaspell[2];
end;
OnInit: