summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-02 16:24:25 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-02 16:24:25 -0300
commitc1ba6a47a623fa0bcb239e58252ca0d018d2d540 (patch)
tree27029a2c874fbcc89f82cf509e0eff81f19b1cbc
parenta4373be4ff1f32f16e790ba39a3816877048866e (diff)
downloadserverdata-c1ba6a47a623fa0bcb239e58252ca0d018d2d540.tar.gz
serverdata-c1ba6a47a623fa0bcb239e58252ca0d018d2d540.tar.bz2
serverdata-c1ba6a47a623fa0bcb239e58252ca0d018d2d540.tar.xz
serverdata-c1ba6a47a623fa0bcb239e58252ca0d018d2d540.zip
[skip ci] debug
-rw-r--r--npc/000-1/exit.txt1
-rw-r--r--npc/011-3/flood.txt5
2 files changed, 5 insertions, 1 deletions
diff --git a/npc/000-1/exit.txt b/npc/000-1/exit.txt
index 6887aa4ba..e819b3036 100644
--- a/npc/000-1/exit.txt
+++ b/npc/000-1/exit.txt
@@ -18,6 +18,7 @@ OnTalkNearby:
}
//if (getsavepoint(0) != "000-1") warp getsavepoint(0), getsavepoint(1), getsavepoint(2);
+ if (getsavepoint(0) != "000-1") debugmes "Emergency Exit - Fallback to savepoint";
if (getsavepoint(0) != "000-1") warp "Save", 0, 0;
if (getsavepoint(0) != "000-1") end;
savepoint "002-1", 53, 38;
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";
}
}