summaryrefslogtreecommitdiff
path: root/npc/001-6
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-07 19:41:44 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-07 19:41:44 -0300
commit64986a278938d132db6b224d87ebf711b77be86c (patch)
tree2dcc29399f85fc1959cd631c8a0aaa0e21e4fda7 /npc/001-6
parenta7644cff4f703d13600300b777c7a87c2108cecc (diff)
downloadserverdata-64986a278938d132db6b224d87ebf711b77be86c.tar.gz
serverdata-64986a278938d132db6b224d87ebf711b77be86c.tar.bz2
serverdata-64986a278938d132db6b224d87ebf711b77be86c.tar.xz
serverdata-64986a278938d132db6b224d87ebf711b77be86c.zip
Use @SorenWarpOnline to prevent spamming warp activations
Diffstat (limited to 'npc/001-6')
-rw-r--r--npc/001-6/warp.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/001-6/warp.txt b/npc/001-6/warp.txt
index 35ff5613c..ceb19c8d8 100644
--- a/npc/001-6/warp.txt
+++ b/npc/001-6/warp.txt
@@ -9,11 +9,15 @@
end;
OnTouch:
+ if (@SorenWarpOnline == 1)
+ end;
dispbottom l("Loading warp, be at this spot in 15 seconds.");
+ @SorenWarpOnline=1;
addtimer 15000, "Soren Village::OnWarper";
end;
OnWarper:
+ @SorenWarpOnline=0;
if (isin("001-6", 159, 157, 159, 157)) {
if (!ispcdead())
warp "soren", 179, 76;