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/level1-flare-dart.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/level1-flare-dart.txt')
-rw-r--r-- | world/map/npc/magic/level1-flare-dart.txt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/world/map/npc/magic/level1-flare-dart.txt b/world/map/npc/magic/level1-flare-dart.txt index 6359c5a9..e85ce3e8 100644 --- a/world/map/npc/magic/level1-flare-dart.txt +++ b/world/map/npc/magic/level1-flare-dart.txt @@ -10,7 +10,7 @@ addtimer 500, "Magic Timer::OnClear"; // set the new debuff callfunc "adjust_spellpower"; set Sp, Sp - 10; - misceffect FX_MAGIC_BLACK, strcharinfo(0); + misceffect FX_MAGIC_DART_CAST, strcharinfo(0); setarray @flarspell[0], sqrt(@spellpower) * 5, //dmg (BaseLevel/3) + 5, // dmg bonus @@ -21,8 +21,7 @@ OnAttack: if (target(BL_ID, @target_id, 50) != 50) goto L_FreeRecast; // 0x20 | 0x02 | 0x10 - misceffect FX_MAGIC_BLACK, strcharinfo(0); - void call("elt_damage", @flarspell[0], @flarspell[1], ELT_WATER, ELT_FIRE, FX_MAGIC_BLACK); + void call("elt_damage", @flarspell[0], @flarspell[1], ELT_WATER, ELT_FIRE, FX_NONE); set @flarspell[2], @flarspell[2] - 1; goto L_FreeRecast; @@ -34,12 +33,12 @@ L_FreeRecast: OnDischarge: if (@flarspell[2] < 1) end; set @flarspell[2], 0; - misceffect FX_FIRE_BURST, strcharinfo(0); + misceffect FX_MAGIC_DISCHARGE, strcharinfo(0); overrideattack; end; OnSetRecast: - overrideattack @flarspell[3], 4, ATTACK_ICON_GENERIC, 34, strnpcinfo(0)+"::OnAttack", @flarspell[2]; + overrideattack @flarspell[3], 4, ATTACK_ICON_GENERIC, OVERRIDE_DART, strnpcinfo(0)+"::OnAttack", @flarspell[2]; end; OnInit: |