issue #1506 - Str 18/50

Requested by Tomsod:  change the break point for +2 damage bonus from
strength to be 18/50 instead of 18/51 so that gnome and orc heros can
achieve that 'naturally' by maxxing out Str.

Closes #1506
This commit is contained in:
PatR
2026-04-29 21:17:31 -07:00
parent 52c74222c2
commit c99da87c70
+7 -2
View File
@@ -954,14 +954,19 @@ abon(void)
if (Upolyd)
return (adj_lev(&mons[u.umonnum]) - 3);
/* this used to be '<= 18/50' for bonus of 1 but got changed to '< 18/50'
so that '18/50' gives a bonus of 2; gnome and orc player characters
have max Str of 18/50 and giving an extra bonus at that break point
provides an incentive for them to max out that characteristic */
if (str < 6)
sbon = -2;
else if (str < 8)
sbon = -1;
else if (str < 17)
sbon = 0;
else if (str <= STR18(50))
sbon = 1; /* up to 18/50 */
else if (str < STR18(50))
sbon = 1; /* up to 18/49 */
else if (str < STR18(100))
sbon = 2;
else