From c16033aed34246336502a1bbaec1a06d77cd35b1 Mon Sep 17 00:00:00 2001 From: mekolat Date: Sun, 1 May 2016 21:22:54 -0400 Subject: remove attachrid from joyplim spell --- world/map/npc/magic/level2-happy-curse.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'world/map/npc/magic/level2-happy-curse.txt') 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: -- cgit v1.2.3-60-g2f50