confusion, and rotting), and use it in bless_follower() instead of healing when it's needed.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3815 c06c8d41-db1a-0410-9941-cceddc491573
LDUASYI655NEH3OVWWYYQ2UV4KVC5FAJOX4IIVJEKZ43S2KKMAGQC
}
static bool blessing_balms(monsters *mon)
{
// Remove poisoning, sickness, confusion, and rotting, like a potion
// of healing, but without the healing.
bool balms = false;
if (mon->del_ench(ENCH_POISON))
balms = true;
if (mon->del_ench(ENCH_SICK))
balms = true;
if (mon->del_ench(ENCH_CONFUSION))
balms = true;
if (mon->del_ench(ENCH_ROT))
balms = true;
return balms;
// 90% chance: full healing, optionally adding one or two extra hit
// 90% chance: either removal of harmful ailments...
if (blessing_balms(mon))
{
result = "divine balms";
goto blessing_done;
}
// ...or full healing, optionally adding one or two extra hit