summaryrefslogtreecommitdiff
path: root/world/map
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-05-01 21:22:54 -0400
committermekolat <mekolat@users.noreply.github.com>2016-05-01 21:22:54 -0400
commitc16033aed34246336502a1bbaec1a06d77cd35b1 (patch)
treee93b4f44db7208b8aafd5a96772ac525aaf0fcaa /world/map
parentb73ce2f464f15ee01368890e7dfaba2fecee5dbb (diff)
downloadserverdata-c16033aed34246336502a1bbaec1a06d77cd35b1.tar.gz
serverdata-c16033aed34246336502a1bbaec1a06d77cd35b1.tar.bz2
serverdata-c16033aed34246336502a1bbaec1a06d77cd35b1.tar.xz
serverdata-c16033aed34246336502a1bbaec1a06d77cd35b1.zip
remove attachrid from joyplim spell
Diffstat (limited to 'world/map')
-rw-r--r--world/map/npc/magic/level2-happy-curse.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/world/map/npc/magic/level2-happy-curse.txt b/world/map/npc/magic/level2-happy-curse.txt
index dbfea17a..a82dce21 100644
--- a/world/map/npc/magic/level2-happy-curse.txt
+++ b/world/map/npc/magic/level2-happy-curse.txt
@@ -23,9 +23,8 @@
set @joyplim_count, 1, @target_id;
set @joyplim_emote, if_then_else(getskilllv(SKILL_MAGIC_DARK) > 1, EMOTE_EVIL, EMOTE_HAPPY), @target_id;
set @joyplim_total, (@spellpower/10), @target_id;
- if (attachrid(@target_id) != 1) end;
- emotion @joyplim_emote, "self";
- addtimer 500, strnpcinfo(0)+"::OnEmote";
+ emotion @joyplim_emote, strcharinfo(0, @target_id);
+ addtimer 500, strnpcinfo(0)+"::OnEmote", @target_id;
end;
OnEmote: