This adds <Someone> patch for enlightenment to show increase damage and

accuracy (only on death).  It's one of the 'insufficient discussion' patches,
but I doubt anyone will object to it.
This commit is contained in:
arromdee
2002-01-15 03:26:09 +00:00
parent 4b6b5d7b8c
commit 6bfebccbed

View File

@@ -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");