From 5b13f62fa37fe42f973cf225e65af86e5099c0d2 Mon Sep 17 00:00:00 2001 From: cohrs Date: Mon, 22 Apr 2002 03:58:41 +0000 Subject: [PATCH] R792 - crocodile kicking Based on the limited research I've done, it does not appear that crocodiles of any size have legs that can effectively kick doors, chests, et al. They could kick objects, but kicking a monster would be more of a claw attack. It's simpler to just print a message in all cases. --- doc/fixes34.1 | 1 + src/dokick.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/doc/fixes34.1 b/doc/fixes34.1 index 5c05daaf2..186042ac9 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -88,6 +88,7 @@ attaching a single candle to fill candelabrum's last slot gave message with poor grammar: "The candelabrum now has seven candle attached." vault guards won't ask who you are if you're unconscious or paralyzed monsters should not repeatedly try to teleport on noteleport levels +crocodiles legs are not designed for kicking open doors, chests, et al. Platform- and/or Interface-Specific Fixes diff --git a/src/dokick.c b/src/dokick.c index aff4e2987..a81023a58 100644 --- a/src/dokick.c +++ b/src/dokick.c @@ -628,6 +628,9 @@ dokick() } else if (near_capacity() > SLT_ENCUMBER) { Your("load is too heavy to balance yourself for a kick."); no_kick = TRUE; + } else if (youmonst.data->mlet == S_LIZARD) { + Your("legs cannot kick effectively."); + no_kick = TRUE; } else if (u.uinwater && !rn2(2)) { Your("slow motion kick doesn't hit anything."); no_kick = TRUE; -- 2.40.0