From fe39a2b08d81fa16cd699cda4791c0d041b53c72 Mon Sep 17 00:00:00 2001 From: copperwater Date: Mon, 3 Apr 2023 17:19:44 -0400 Subject: [PATCH] Don't drop aklys on the floor due to slippery fingers Aklyses uniquely have a tether attached to one's wrist, which would stay secure even when one's fingers are slippery. Therefore, it doesn't make for the weapon to be dropped completely, tether and all, when Glib. However, the game doesn't have a way to model a weapon that's on the floor at your feet but still attached to your arm. (Technically the uball and uchain code does do this sort of thing already, but it can't be used here - what if you have an aklys slipping out of your grasp and are punished at the same time?) So the next best thing is to give aklyses immunity to slipping from one's hand. --- src/do_wear.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/do_wear.c b/src/do_wear.c index 552344627..767d80988 100644 --- a/src/do_wear.c +++ b/src/do_wear.c @@ -2421,7 +2421,7 @@ glibr(void) dropx(otmp); } otmp = uwep; - if (otmp && !welded(otmp)) { + if (otmp && otmp->otyp != AKLYS && !welded(otmp)) { long savequan = otmp->quan; /* nice wording if both weapons are the same type */