diff options
author | mekolat <mekolat@users.noreply.github.com> | 2016-05-02 15:18:44 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2016-05-02 15:18:44 -0400 |
commit | 65ec6edb3dcbf725360771f882c92a95f101743c (patch) | |
tree | d6d81d62a1d0805e77939cabbeceeebacf54a549 /world/map/npc/magic/level2-happy-curse.txt | |
parent | a1d3ffc6ddefcb56cbf44f0782f6431b6438580b (diff) | |
parent | a1339b4f44971c1a585bdca04ec8e0f2edc78dbb (diff) | |
download | serverdata-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.txt | 5 |
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: |