From de8ee7ccf3f67f14308921387314a37dd394dbec Mon Sep 17 00:00:00 2001 From: Erik Lunna Date: Tue, 12 Dec 2023 16:17:19 +0100 Subject: [PATCH] Only cave dwellers get the strength bonus for using slings. This bonus is pretty generous, so allowing it for say... priests, let's them get out of their edged weapon restrictions a little easy. Restricting it to only caveppl also makes them a bit more special. --- src/uhitm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uhitm.c b/src/uhitm.c index c2d4c432f2..5eca40856f 100644 --- a/src/uhitm.c +++ b/src/uhitm.c @@ -1493,7 +1493,7 @@ hmon_hitmon_dmg_recalc(struct _hitmon_data *hmd, struct obj *obj) to jousting because lances are one-handed */ if (hmd->thrown != HMON_THROWN || !obj || !uwep || !ammo_and_launcher(obj, uwep) - || uslinging()) { + || (uslinging() && Role_if(PM_CAVE_DWELLER))) { strbonus = dbon(); absbonus = abs(strbonus); if (hmd->twohits)