fix U242 - bug with monks

Monks get a big penalty to hit when wearing a suit; otherwise they
get a bonus when not wielding a weapon.  But as reported, that lets them
have their martial arts bonus even while wearing a shield which does seem
rather unexpected.  This change makes them only get their to-hit bonus
while shieldless as well as weaponless.  Impact on play balance is likely
to be quite small; late game characters hardly ever miss due to high luck
bonus and very early game ones won't have found a shield yet.

     Shouldn't the "your armor is cumbersome" message be ``if (verbose)''?
This commit is contained in:
nethack.rankin
2003-01-31 06:41:56 +00:00
parent 029ca9f294
commit 02d784f039
2 changed files with 3 additions and 1 deletions

View File

@@ -268,8 +268,9 @@ register struct monst *mtmp;
if (uarm) {
Your("armor is rather cumbersome...");
tmp -= urole.spelarmr;
} else if (!uwep)
} else if (!uwep && !uarms) {
tmp += (u.ulevel / 3) + 2;
}
}
/* with a lot of luggage, your agility diminishes */