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-arrow-hail.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-arrow-hail.txt')
-rw-r--r-- | world/map/npc/magic/level2-arrow-hail.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/world/map/npc/magic/level2-arrow-hail.txt b/world/map/npc/magic/level2-arrow-hail.txt index ba4c0a45..b1e713d0 100644 --- a/world/map/npc/magic/level2-arrow-hail.txt +++ b/world/map/npc/magic/level2-arrow-hail.txt @@ -30,7 +30,7 @@ OnCast: callfunc "adjust_spellpower"; set @new_npc_name$, "#" + strnpcinfo(0) + "#" + getcharid(3); // make a unique puppet name for every player callfunc "magic_exp"; - misceffect FX_MAGIC_BLACK, strcharinfo(0); + misceffect FX_MAGIC_AHAIL_CAST, strcharinfo(0); set @spell_npc, puppet(getmap(), POS_X, POS_Y, @new_npc_name$, 127); // clone npc => get puppet id if (@spell_npc < 1) end; set .max_hit, (@spellpower / 8), @spell_npc; // set .max_hit in the puppet |