summaryrefslogtreecommitdiff
path: root/npc/026-6
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-05-18 15:44:55 -0300
committerJesusaves <cpntb1@ymail.com>2024-05-18 15:44:55 -0300
commitbc7994a5667d6e6c6235ae97b27d99f3f3511e24 (patch)
treef5a835d76e02d4f8d0e7c09aa490d90bdf7fb184 /npc/026-6
parent966da363ff81f37f96b31b7c4f3811c9babecc58 (diff)
downloadserverdata-bc7994a5667d6e6c6235ae97b27d99f3f3511e24.tar.gz
serverdata-bc7994a5667d6e6c6235ae97b27d99f3f3511e24.tar.bz2
serverdata-bc7994a5667d6e6c6235ae97b27d99f3f3511e24.tar.xz
serverdata-bc7994a5667d6e6c6235ae97b27d99f3f3511e24.zip
Allow Game Masters to start the MK Showdown at will. Improve the intro "cutscene"
Diffstat (limited to 'npc/026-6')
-rw-r--r--npc/026-6/ctrl.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/npc/026-6/ctrl.c b/npc/026-6/ctrl.c
index 79539b399..d7f8bf54f 100644
--- a/npc/026-6/ctrl.c
+++ b/npc/026-6/ctrl.c
@@ -34,7 +34,7 @@ L_Warp:
end;
}
// Not a hero
- if (!$@MK_CHALLENGE && !islegendary() && strcharinfo(0) != $MOST_HEROIC$) {
+ if (!$@MK_CHALLENGE && !islegendary() && strcharinfo(0) != $MOST_HEROIC$ && !is_gm()) {
dispbottom l("I should wait for %s or one of the heroes to challenge the Monster King.", $MOST_HEROIC$);
end;
}
@@ -54,7 +54,7 @@ OnInit:
026-6,22,40,0, script #MKBossFightFire NPC_HIDDEN,0,0,{
end;
OnTouch:
- if ($@MK_COOLDOWN > gettimetick(2)) {
+ if ($@MK_COOLDOWN > gettimetick(2) && !is_gm()) {
dispbottom l("I should wait for %s.", ($GAME_STORYLINE >= 5 ? l("the Moubootaur arrange a new puppet") : l("the blood stains to be cleaned up")));
end;
}
@@ -76,7 +76,9 @@ OnTouch:
closeclientdialog;
}
// Already started or no difficulty selected
- if ($@MK_CHALLENGE || !@menuint) end;
+ if ($@MK_CHALLENGE) end;
+ if (!@menuint) cwarp "026-6", 22, 41;
+ // Begin the challenge! It's SHOWDOWN TIME!
$@MK_CHALLENGE=@menuint;
kamibroadcast(strcharinfo(0)+" has CHALLENGED the MONSTER KING to a SHOWDOWN!", "WORLD HEART");
sleep(2500);