summaryrefslogtreecommitdiff
path: root/npc/functions/gmbot.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/gmbot.txt')
-rw-r--r--npc/functions/gmbot.txt10
1 files 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;