move saving-grace back behind the curtain
If hero survives a killing blow via saving-grace, report that to livelog but hide it from player's own #chronicle. Only reveal whether saving-grace was used up during end-of-game disclosure. Omit that during enlightenment unless running in explore mode (or wizard mode).
This commit is contained in:
+3
-2
@@ -4049,8 +4049,9 @@ saving_grace(int dmg)
|
|||||||
we might invent one, or perhaps use LL_LIFESAVE, but surviving
|
we might invent one, or perhaps use LL_LIFESAVE, but surviving
|
||||||
certain death (or preserving worn amulet of life saving) via
|
certain death (or preserving worn amulet of life saving) via
|
||||||
saving-grace feels like breaking a conduct; not sure how best
|
saving-grace feels like breaking a conduct; not sure how best
|
||||||
to phrase this though... */
|
to phrase this though; classifying it as a spoiler will hide it
|
||||||
livelog_printf(LL_CONDUCT, "%s (%d damage, %d/%d HP)",
|
from #chronicle during play but show it to livelog observers */
|
||||||
|
livelog_printf(LL_CONDUCT | LL_SPOILER, "%s (%d damage, %d/%d HP)",
|
||||||
"survived one-shot death via saving-grave",
|
"survived one-shot death via saving-grave",
|
||||||
dmg, u.uhp, u.uhpmax);
|
dmg, u.uhp, u.uhpmax);
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -1922,7 +1922,8 @@ attributes_enlightenment(
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
{
|
/* saving-grace: show during final disclosure, hide during normal play */
|
||||||
|
if (final || wizard || discover) {
|
||||||
static const char *verbchoices[2][2] = {
|
static const char *verbchoices[2][2] = {
|
||||||
{ "might avoid", "have avoided" },
|
{ "might avoid", "have avoided" },
|
||||||
{ "could have avoided", "avoided" },
|
{ "could have avoided", "avoided" },
|
||||||
|
|||||||
Reference in New Issue
Block a user