attack. The message ("John Doe's ghost breathes.") may have to be
tweaked, ghosts being undead etc. The chance for a ghost actually
breathing increases with its experience (1/2 at xl 7, 2/3 at xl 8,
3/4 at xl 9, and so forth).
[FR 1826165] !restore ability also resets DUR_BREATH_WEAPON, so it becomes more useful to draconians and demonspawn with hellfire. To make up for it, the breath weapon durations might have to increased. They're currently: 3 + random2(5) for Spit Poison 3 + random2(5) + random2(30 - xp) for Hellfire 3 + random2(4) + random2(30 - xp)/2 for Breath Weapons
[Bug 1879466] The step into lava/deep water safety prompt bails out unless the player answers "yes".
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3510 c06c8d41-db1a-0410-9941-cceddc491573
EO4FXWNFJRHPOSDHWH2Y6QNUP7KB5ANLX43GA3TJLXR3QOOJZ7VQC
RBAGQ2PB7V5YAM5KSHSZR2E3MLKDSRVM5XYGI2TIXP5QMVBOQHDQC
6O5667Y65C5GTP4V3NBKWUN22IRGCAXEELJ6MCANMYPBOKDUO75QC
DOZORMA366M4HB5JKSS27BMCR6ET7QNZNND2B7KV3NVEEPR5H7EAC
SDLKLUNFGVKDS55DDJZCBAVIB7NL3RRYPTACAY65SCUQKV6APFSAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
RISMOCQM6BKK4XSIRKYLOBB2UPDYJNDAL6OGIIR5GGNZQAK5YSZAC
JK3HFJG76OOQHJMXJUSZRTR5CX5ZMS52LRVBLOR7E2NBI6PRSHHAC
J6APXOT4QOGQFONWB7G546VTVF6QG42HVOROMHF7YBDJPR4K26OAC
// give a message if restore_stat doesn't
if (!restore_stat(STAT_ALL, false))
{
bool nothing_happens = true;
if (you.duration[DUR_BREATH_WEAPON])
{
mpr("You have got your breath back.", MSGCH_RECOVERY);
you.duration[DUR_BREATH_WEAPON] = 0;
nothing_happens = false;
}
// give a message if no message otherwise
if (!restore_stat(STAT_ALL, false) && nothing_happens)