From: Christian Heller Date: Sat, 7 Mar 2015 21:36:12 +0000 (+0100) Subject: Server/py: Don't replicate wrongful actor_use() behavior from original. X-Git-Tag: tce~382 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/pick_tasks?a=commitdiff_plain;h=20da835cb5f85fc3416caef6e70bd74711bd75d0;p=plomrogue Server/py: Don't replicate wrongful actor_use() behavior from original. --- diff --git a/plomrogue-server.py b/plomrogue-server.py index cc7ddf7..2b65287 100755 --- a/plomrogue-server.py +++ b/plomrogue-server.py @@ -668,8 +668,6 @@ def actor_use(t): t["T_CARRIES"].remove(id) del world_db["Things"][id] t["T_SATIATION"] += world_db["ThingTypes"][type]["TT_CONSUMABLE"] - t["T_LIFEPOINTS"] += 1 - # Wrongly increment HPs is a replica of the original code. strong_write(io_db["file_out"], "LOG You consume this object.\n") else: strong_write(io_db["file_out"], "LOG You try to use this object," +