summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-17 17:33:47 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-17 17:33:47 -0300
commit9c1a4887c5721faa61050c67186958b0dfa1d3d0 (patch)
tree452fa16fb198d1fcceca5b2e22db00fc721d2762 /npc/functions
parentf2f9ccad834470dfebc2e30d4b1629c409fc9447 (diff)
downloadserverdata-9c1a4887c5721faa61050c67186958b0dfa1d3d0.tar.gz
serverdata-9c1a4887c5721faa61050c67186958b0dfa1d3d0.tar.bz2
serverdata-9c1a4887c5721faa61050c67186958b0dfa1d3d0.tar.xz
serverdata-9c1a4887c5721faa61050c67186958b0dfa1d3d0.zip
Condition for siege stage on game storyline to be over: 500 points in overall.
This results in 0% of organization of the Monster Army.
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/gmbot.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/npc/functions/gmbot.txt b/npc/functions/gmbot.txt
index 21ad9f3cc..d2cb3081a 100644
--- a/npc/functions/gmbot.txt
+++ b/npc/functions/gmbot.txt
@@ -214,6 +214,17 @@ OnTimer90000:
$GAME_STORYLINE=2;
$MK_TEMPVAR=0;
}
+ if ($GAME_STORYLINE == 2 &&
+ $MK_TEMPVAR >= 500) {
+ kamibroadcast("The Monster King army is in total disarray and disorder!", "Saulc | The Alliance");
+ sleep(2500);
+ kamibroadcast("It's our chance to strike back!", "Saulc | The Alliance");
+ sleep(2500);
+
+ // Apply the changes
+ $GAME_STORYLINE=3;
+ $MK_TEMPVAR=0; // In past, we forced 1 month wait. Now we have KW mechs...
+ }
// We're done, restart loop timer
initnpctimer;