From 5b079b814b66258aba2eb73a30931684e45ee317 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 7 Sep 2018 01:20:46 -0300 Subject: Reorder some stuff, so it works alright --- npc/functions/gmbot.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/npc/functions/gmbot.txt b/npc/functions/gmbot.txt index e1b171f3e..6372019f3 100644 --- a/npc/functions/gmbot.txt +++ b/npc/functions/gmbot.txt @@ -54,10 +54,6 @@ OnTimer62000: initnpctimer; } - // If too few players are online, we don't need an event AT ALL! - if (.users < rand(2,4)) - initnpctimer; - // Raise aggro $@MK_AGGRO+=.users; @@ -125,6 +121,10 @@ OnTimer62000: if (.mp$ == "011-1") disablenpc "Mana Stone"; + // If too few players are online, we don't need an event AT ALL! + if (.users < rand(2,4)) + initnpctimer; + // Decide if we should have an event here if (.nearby > 1 && $@MK_AGGRO >= rand(0,100)){ // We should decide event kind, but that's NYI @@ -142,7 +142,7 @@ OnTimer62000: // Debug markers if ($@GM_OVERRIDE) - debugmes .mp$+" ("+.@x+", "+.@y+"("; + debugmes "Monster King (bot): "+.mp$+" ("+.@x+", "+.@y+")"; // We're done, restart loop timer initnpctimer; -- cgit v1.2.3-60-g2f50