X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=plugins%2Fserver%2FTheCrawlingEater.py;h=850094ddb1c53608fa0e8630bffe8a8dc3b41110;hb=6bc66917f98e63e20b5718b32dbd5e40180d3b1f;hp=798ad57c0e31fd14e85d6412e97f3f6030c8aec3;hpb=98f19424a1201f9335d7168b3d32150ecc28542b;p=plomrogue diff --git a/plugins/server/TheCrawlingEater.py b/plugins/server/TheCrawlingEater.py index 798ad57..850094d 100644 --- a/plugins/server/TheCrawlingEater.py +++ b/plugins/server/TheCrawlingEater.py @@ -260,7 +260,8 @@ def actor_move(t): log("You now have the DEATH touch.") if world_db["GRACE"] < 24: log("You will now LEVITATE over holes.") - world_db["GRACE"] += 8 + if world_db["GRACE"] <= 24: + world_db["GRACE"] += 8 elif t == world_db["Things"][0]: log("You try to MOVE there, but fail.") @@ -481,7 +482,7 @@ def turn_over(): dirs = "edcxsw" for i in range(len(dirs)): score += libpr.get_neighbor_score(i) - if score == 5 or score == 6: + if score == 6: world_db["MAP"][pos] = ord("&") libpr.free_score_map() world_db["TURN"] += 1