diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-11 03:07:29 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-11 03:07:29 -0300 |
commit | 36deb711b795de69693a679ec4b9d6948a982924 (patch) | |
tree | 36df47304c1601db395322a0b13ae447f2b7a270 /npc/011-3/flood.txt | |
parent | f2ef796528890aa1532ea471a923fd065fd46098 (diff) | |
download | serverdata-36deb711b795de69693a679ec4b9d6948a982924.tar.gz serverdata-36deb711b795de69693a679ec4b9d6948a982924.tar.bz2 serverdata-36deb711b795de69693a679ec4b9d6948a982924.tar.xz serverdata-36deb711b795de69693a679ec4b9d6948a982924.zip |
Okay, since 4144 bugfix, 011-3 haven't given me headache anymore ^.^
Diffstat (limited to 'npc/011-3/flood.txt')
-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 |