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:
12
src/cmd.c
12
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");
|
||||
|
||||
Reference in New Issue
Block a user