From 86b79f3e073ad714ae48f8ebb3c5e56c32d340b4 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 26 Apr 2019 21:00:16 -0300 Subject: Fix typo --- npc/023-2/mk.txt | 2 +- npc/functions/gmbot.txt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/npc/023-2/mk.txt b/npc/023-2/mk.txt index 319bc26d4..00b531450 100644 --- a/npc/023-2/mk.txt +++ b/npc/023-2/mk.txt @@ -73,7 +73,7 @@ L_Finish2: // Game Storyline advances: The Town Blockade Stage is now over $GAME_STORYLINE=1; - $MK_TEMP=gettimeparam(GETTIME_DAYOFMONTH)+rand(30,35); + $MK_TEMPVAR=gettimeparam(GETTIME_DAYOFMONTH)+rand(30,35); // Clean up the event $NIVALIS_LIBDATE=gettimetick(2); diff --git a/npc/functions/gmbot.txt b/npc/functions/gmbot.txt index 81bf977ce..2d7bbc2c7 100644 --- a/npc/functions/gmbot.txt +++ b/npc/functions/gmbot.txt @@ -171,8 +171,8 @@ OnTimer90000: } // Maybe, just maybe, game storyline must be updated here - if ($GAME_STORYLINE == 1 && $MK_TEMP && - $MK_TEMP <= gettimeparam(GETTIME_DAYOFMONTH)) { + if ($GAME_STORYLINE == 1 && $MK_TEMPVAR && + $MK_TEMPVAR <= gettimeparam(GETTIME_DAYOFMONTH)) { // Game Story Change: Idle MK -> Active MK kamibroadcast("I can't handle it anymore! NO MORE!", "Monster King"); sleep(2500); @@ -186,7 +186,7 @@ OnTimer90000: // Apply the changes $GAME_STORYLINE=2; - $MK_TEMP=0; + $MK_TEMPVAR=0; } // We're done, restart loop timer -- cgit v1.2.3-60-g2f50