diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index df639a884..08dfb2f21 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -1558,6 +1558,7 @@ winter wolf cub was missing for monster to lycanthrope conversion monster elves shooting arrows weren't getting intended small to-hit and damage bonuses safe armor enchantment limit is lowered by one for magical armor +luck has a reduced effect on to-hit chance Fixes to 3.7.0-x General Problems Exposed Via git Repository diff --git a/src/uhitm.c b/src/uhitm.c index 316858896..954a0f1ea 100644 --- a/src/uhitm.c +++ b/src/uhitm.c @@ -372,7 +372,8 @@ find_roll_to_hit( *role_roll_penalty = 0; /* default is `none' */ - tmp = 1 + Luck + abon() + find_mac(mtmp) + u.uhitinc + tmp = 1 + abon() + find_mac(mtmp) + u.uhitinc + + (sgn(Luck) * ((abs(Luck) + 2) / 3)) + maybe_polyd(gy.youmonst.data->mlevel, u.ulevel); /* some actions should occur only once during multiple attacks */