diff --git a/src/cmd.c b/src/cmd.c index c82920a0b..3b1862a61 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -773,6 +773,18 @@ int final; /* 0 => still in progress; 1 => over, survived; 2 => dead */ if (u.usick_type & SICK_NONVOMITABLE) you_are("sick from illness"); } + /* added by JDS */ + if (u.uhitinc) { + Sprintf(buf, "%s%i %s to hit", u.uhitinc > 0 ? "+" : "", + u.uhitinc, u.uhitinc > 0 ? "bonus" : "penalty"); + you_have(buf); + + } + if (u.udaminc) { + Sprintf(buf, "%s%i %s to damage", u.udaminc > 0 ? "+" : "", + u.udaminc, u.udaminc > 0 ? "bonus" : "penalty"); + you_have(buf); + } /* end JDS portion */ } if (Stoned) you_are("turning to stone"); if (Slimed) you_are("turning into slime");