diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-07-17 17:33:47 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-07-17 17:33:47 -0300 |
commit | 9c1a4887c5721faa61050c67186958b0dfa1d3d0 (patch) | |
tree | 452fa16fb198d1fcceca5b2e22db00fc721d2762 /npc/functions | |
parent | f2f9ccad834470dfebc2e30d4b1629c409fc9447 (diff) | |
download | serverdata-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.txt | 11 |
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; |