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-rain.txt | |
parent | 15e556361dabcee7d215cb6aeb2f157d30c0963a (diff) | |
download | classic-serverdata-0e1a7f000ccdcf6f84ec66192b025f261772cdb3.tar.gz classic-serverdata-0e1a7f000ccdcf6f84ec66192b025f261772cdb3.tar.bz2 classic-serverdata-0e1a7f000ccdcf6f84ec66192b025f261772cdb3.tar.xz classic-serverdata-0e1a7f000ccdcf6f84ec66192b025f261772cdb3.zip |
give unique ids to magic spell effects
Diffstat (limited to 'world/map/npc/magic/level2-rain.txt')
-rw-r--r-- | world/map/npc/magic/level2-rain.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/world/map/npc/magic/level2-rain.txt b/world/map/npc/magic/level2-rain.txt index 111f5188..df8ef1c9 100644 --- a/world/map/npc/magic/level2-rain.txt +++ b/world/map/npc/magic/level2-rain.txt @@ -27,7 +27,7 @@ OnCast: set @new_npc_name$, "#" + strnpcinfo(0) + "#" + getcharid(3); // make a unique puppet name for every player callfunc "magic_exp"; - misceffect FX_MAGIC_GREEN, strcharinfo(0); + misceffect FX_MAGIC_RAIN_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 .caster, getcharid(3), @spell_npc; // tell the puppet who controls it |