From 7a29e39a400b48d2f522eef54e84d770277d5f06 Mon Sep 17 00:00:00 2001 From: Graham Nelson Date: Wed, 13 Apr 2022 10:13:07 +0100 Subject: [PATCH] Fix for Mantis bug 1872 --- resources/Documentation/Examples/Lanista2.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/Documentation/Examples/Lanista2.txt b/resources/Documentation/Examples/Lanista2.txt index 5e5dc5d44..26826ff9f 100644 --- a/resources/Documentation/Examples/Lanista2.txt +++ b/resources/Documentation/Examples/Lanista2.txt @@ -85,7 +85,7 @@ Our new action is also a perfect place to use an action variable: we're going to Carry out an actor attacking something with something (this is the standard attacking it with a weapon rule): decrease the current hit points of the noun by the damage inflicted; - if the noun is dead: + if the noun is dead and the noun is not the player: now the noun is nowhere. Though our checks and carry-out rules are similar regardless of who is acting, we're going to want actions to be described differently for different actors, so we'll use separate "report attacking" and "report someone attacking" rules. We'll also make some special cases for when the character has died as a result of the attack: