summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level2-happy-curse.txt
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-05-02 15:18:44 -0400
committermekolat <mekolat@users.noreply.github.com>2016-05-02 15:18:44 -0400
commit65ec6edb3dcbf725360771f882c92a95f101743c (patch)
treed6d81d62a1d0805e77939cabbeceeebacf54a549 /world/map/npc/magic/level2-happy-curse.txt
parenta1d3ffc6ddefcb56cbf44f0782f6431b6438580b (diff)
parenta1339b4f44971c1a585bdca04ec8e0f2edc78dbb (diff)
downloadserverdata-65ec6edb3dcbf725360771f882c92a95f101743c.tar.gz
serverdata-65ec6edb3dcbf725360771f882c92a95f101743c.tar.bz2
serverdata-65ec6edb3dcbf725360771f882c92a95f101743c.tar.xz
serverdata-65ec6edb3dcbf725360771f882c92a95f101743c.zip
Merge pull request #498 from mekolat/magic-attach
remove attachrid from magic spells
Diffstat (limited to 'world/map/npc/magic/level2-happy-curse.txt')
-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: