summaryrefslogtreecommitdiff
path: root/npc/014-4/kamelot.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-03 16:58:24 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-03 16:58:24 -0300
commit63b6de139988dcfd6cc8fe00a4625aa7f7251e68 (patch)
tree832d63a3633f27766230481a5606eb4d2fb44dae /npc/014-4/kamelot.txt
parentbb044cf537a4a7cf409242860c79c918ae3e21b9 (diff)
downloadserverdata-63b6de139988dcfd6cc8fe00a4625aa7f7251e68.tar.gz
serverdata-63b6de139988dcfd6cc8fe00a4625aa7f7251e68.tar.bz2
serverdata-63b6de139988dcfd6cc8fe00a4625aa7f7251e68.tar.xz
serverdata-63b6de139988dcfd6cc8fe00a4625aa7f7251e68.zip
Kamelot mode alpha -> beta
Can be enabled by @event
Diffstat (limited to 'npc/014-4/kamelot.txt')
-rw-r--r--npc/014-4/kamelot.txt18
1 files changed, 9 insertions, 9 deletions
diff --git a/npc/014-4/kamelot.txt b/npc/014-4/kamelot.txt
index ec049a3c8..c73461f09 100644
--- a/npc/014-4/kamelot.txt
+++ b/npc/014-4/kamelot.txt
@@ -55,16 +55,16 @@ function script KamelotCleanup {
end;
OnTouch:
- // XXX STATUS: STAGING - FINAL TESTING XXX
- if (!is_staff())
- end;
-
// Not in a guild: Gate is sealed (MK might be excluded as well)
if (getcharid(2) < 1) {
dispbottom l("The gates are firmly shut. A warning is on the door, \"DO NOT ENTER. Guild Only.\"");
end;
}
+ // XXX STATUS: STAGING - FINAL TESTING XXX
+ if ($EVENT$ != "Kamelot")
+ end;
+
// Save your GID for reference
.@g=getcharid(2);
@@ -104,8 +104,8 @@ OnTouch:
}
// You can enter in every other state
- if (is_admin())
- warp "042-0@"+.@g, any(59, 60), 80;
+ warp "042-0@"+.@g, any(59, 60), 80;
+
// Renew the instance clock : 6 hours
instance_set_timeout(21600, 21600, $@KAMELOT_ID[.@g]);
end;
@@ -145,11 +145,11 @@ OnDebug:
l("Warp - Arrest me!");
mes "";
switch (@menu) {
- case 2:
- KamelotCleanup(.@g);
- break;
+ // 3 inheirs 2
case 3:
instance_destroy($@KAMELOT_ID[.@g]);
+ case 2:
+ $KAMELOT_COOLDOWN[.@g] = 0;
KamelotCleanup(.@g);
break;
// We now order from bottom-up