From: Christian Heller Date: Sun, 13 Mar 2016 20:18:07 +0000 (+0100) Subject: TCE: Add upper limit for grace. X-Git-Tag: tce~7 X-Git-Url: https://plomlompom.com/repos/index.html?a=commitdiff_plain;h=956a39dff5c15acaf4bb48638b9f7cf03a593d6c;p=plomrogue TCE: Add upper limit for grace. --- diff --git a/plugins/server/TheCrawlingEater.py b/plugins/server/TheCrawlingEater.py index 798ad57..1195530 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.")