home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TCE: Add upper limit for grace.
[plomrogue]
/
plugins
/
server
/
TheCrawlingEater.py
diff --git
a/plugins/server/TheCrawlingEater.py
b/plugins/server/TheCrawlingEater.py
index 798ad57c0e31fd14e85d6412e97f3f6030c8aec3..11955305a180a4840039d2ecbdba52b393914c85 100644
(file)
--- 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.")
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.")
elif t == world_db["Things"][0]:
log("You try to MOVE there, but fail.")