Skip to content

Commit

Permalink
Only cave dwellers get the strength bonus for using slings.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
elunna committed Dec 12, 2023
1 parent a599fe8 commit de8ee7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uhitm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit de8ee7c

Please sign in to comment.