summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level2-hide.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-hide.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-hide.txt')
-rw-r--r--world/map/npc/magic/level2-hide.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/world/map/npc/magic/level2-hide.txt b/world/map/npc/magic/level2-hide.txt
index ff67e6a5..6d9c125d 100644
--- a/world/map/npc/magic/level2-hide.txt
+++ b/world/map/npc/magic/level2-hide.txt
@@ -26,8 +26,7 @@
sc_start SC_HIDE, .@time, 0, @target_id;
message @args$, "Magic : You are hidden!";
if (BL_ID != @target_id) message strcharinfo(0), "Magic : You hid someone!";
- if (attachrid(@target_id) != 1) end;
- addtimer @anwiltyp_time, strnpcinfo(0)+"::OnEnd";
+ addtimer @anwiltyp_time, strnpcinfo(0)+"::OnEnd", @target_id;
end;
OnEnd: