more feedback for monk suit penalty
Refine the enlightenment feedback when a monk has both a suit penalty and an increase accuracy bonus.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/* NetHack 3.7 insight.c $NHDT-Date: 1593771616 2020/07/03 10:20:16 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.18 $ */
|
/* NetHack 3.7 insight.c $NHDT-Date: 1595282650 2020/07/20 22:04:10 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.20 $ */
|
||||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
|
|
||||||
@@ -1479,8 +1479,12 @@ int final;
|
|||||||
if (u.uhitinc) {
|
if (u.uhitinc) {
|
||||||
(void) enlght_combatinc("to hit", u.uhitinc, final, buf);
|
(void) enlght_combatinc("to hit", u.uhitinc, final, buf);
|
||||||
if (iflags.tux_penalty && !Upolyd)
|
if (iflags.tux_penalty && !Upolyd)
|
||||||
Sprintf(eos(buf), " %s your suit penalty",
|
Sprintf(eos(buf), " %s your suit's penalty",
|
||||||
(u.uhitinc < 0) ? "increasing" : "offsetting");
|
(u.uhitinc < 0) ? "increasing"
|
||||||
|
: (u.uhitinc < 4 * g.urole.spelarmr / 5)
|
||||||
|
? "partly offsetting"
|
||||||
|
: (u.uhitinc < g.urole.spelarmr) ? "nearly offseting"
|
||||||
|
: "overcoming");
|
||||||
you_have(buf, "");
|
you_have(buf, "");
|
||||||
}
|
}
|
||||||
if (u.udaminc)
|
if (u.udaminc)
|
||||||
|
|||||||
Reference in New Issue
Block a user