diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-09-07 01:20:46 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-09-07 01:20:46 -0300 |
commit | 5b079b814b66258aba2eb73a30931684e45ee317 (patch) | |
tree | 9435762f94dd3efe5ee01a8679078ee0db52888f | |
parent | 794ad296a5750884623d4f5891ad3c1560655708 (diff) | |
download | serverdata-5b079b814b66258aba2eb73a30931684e45ee317.tar.gz serverdata-5b079b814b66258aba2eb73a30931684e45ee317.tar.bz2 serverdata-5b079b814b66258aba2eb73a30931684e45ee317.tar.xz serverdata-5b079b814b66258aba2eb73a30931684e45ee317.zip |
Reorder some stuff, so it works alright
-rw-r--r-- | npc/functions/gmbot.txt | 10 |
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; |