summaryrefslogtreecommitdiff
path: root/world/map/npc/magic
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/magic')
-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: