From c1ba6a47a623fa0bcb239e58252ca0d018d2d540 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 2 Mar 2019 16:24:25 -0300 Subject: [skip ci] debug --- npc/011-3/flood.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'npc/011-3/flood.txt') diff --git a/npc/011-3/flood.txt b/npc/011-3/flood.txt index d095044d4..be59dc4d6 100644 --- a/npc/011-3/flood.txt +++ b/npc/011-3/flood.txt @@ -50,12 +50,13 @@ OnSkipFlood: delcells "ESwpBridge7"; mapannounce "011-3", "Eternal Swamps: The flood ceases!",bc_all|bc_npc; } else { - debugmes "[Flood] Analysis"; // 40% chances to flood, 75% during night .@odds=40; if (is_night()) .@odds+=35; + debugmes "[Flood] Analysis with %d odds to flood", .@odds; + // Maybe we should flood it if (rand(0,100) < .@odds) { debugmes "[Flood] F - Flooding"; @@ -77,6 +78,8 @@ OnSkipFlood: // TODO: Handle players in bridges debugmes "[Flood] F - Map Timer OK"; maptimer("011-3", "#EternalSwampCore::OnBridgeDown", 10); + } else { + debugmes "[Flood] NF Aborted"; } } -- cgit v1.2.3-70-g09d2