From be87cabd34193fee0a7e2aef99ebc50b76552710 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 13 Mar 2016 22:27:14 +0100 Subject: [PATCH] TCE: Some balancing. --- plugins/server/TheCrawlingEater.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/server/TheCrawlingEater.py b/plugins/server/TheCrawlingEater.py index 887cdf5..6625273 100644 --- a/plugins/server/TheCrawlingEater.py +++ b/plugins/server/TheCrawlingEater.py @@ -424,17 +424,17 @@ def turn_over(): elif world_db["MAP"][pos] == ord("$"): height = -3 if height == -2 and wetness > 1 \ - and 0 == rand.next() % ((2 ** 11) / (2 ** wetness)): + and 0 == rand.next() % ((2 ** 10) / (2 ** wetness)): world_db["MAP"][pos] = ord("*") world_db["HUMIDITY"] += wetness if height == -1 and wetness > 1 \ - and 0 == rand.next() % ((2 ** 10) / (2 ** wetness)): + and 0 == rand.next() % ((2 ** 9) / (2 ** wetness)): world_db["MAP"][pos] = ord("+") if height == 0 and wetness > 1 \ - and 0 == rand.next() % ((2 ** 9) / (2 ** wetness)): + and 0 == rand.next() % ((2 ** 8) / (2 ** wetness)): world_db["MAP"][pos] = ord("-") if ((wetness > 0 and height > 0) or wetness > 1) \ - and 0 == rand.next() % 5: + and 0 == rand.next() % 16: world_db["wetmap"][pos] -= 1 world_db["HUMIDITY"] += 1 if world_db["HUMIDITY"] > 0: -- 2.30.2