diff options
Diffstat (limited to 'npc/011-3')
-rw-r--r-- | npc/011-3/flood.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/011-3/flood.txt b/npc/011-3/flood.txt index 04d7e12fc..1abbdc0dc 100644 --- a/npc/011-3/flood.txt +++ b/npc/011-3/flood.txt @@ -32,11 +32,11 @@ OnMinute46: OnMinute52: OnMinute56: OnSkipFlood: - debugmes "[Flood] Cycle begin"; + if ($@GM_OVERRIDE || debug) debugmes "[Flood] Cycle begin"; .@fd=!(getmapmask("011-3")&MASK_SPECIAL); // .@fd - is flooded? if (.@fd) { - debugmes "[Flood] UF - Unflooding"; + if ($@GM_OVERRIDE || debug) debugmes "[Flood] UF - Unflooding"; // If it is flooded, unflood it to prevent players getting struck for too long killmonster("011-3", "#EternalSwampCore::OnSwampMob"); addmapmask "011-3", MASK_SPECIAL; @@ -66,7 +66,7 @@ OnSkipFlood: // Maybe we should flood it if (rand(0,100) < .@odds) { - debugmes "[Flood] F - Flooding"; + if ($@GM_OVERRIDE || debug) debugmes "[Flood] F - Flooding"; removemapmask "011-3", MASK_SPECIAL; //debugmes "[Flood] F - Adding Cells"; @@ -88,7 +88,7 @@ OnSkipFlood: } } - debugmes "[Flood] Cycle finished"; + if ($@GM_OVERRIDE || debug) debugmes "[Flood] Cycle finished"; end; // Fix players struck by setcells |