have at least MONUSE_STARTING_EQUIPMENT can't drink them, as they can't use them anyway (which covers wraiths; the same check is also done in monsters::should_drink_potion()). Second, skeletal monsters in general can't use them, since they require digestion of some type (which covers skeletal warriors). Third, insubstantial monsters can't use them, for the same reason (since all insubstantial monsters use, at most, MONUSE_OPEN_DOORS).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8122 c06c8d41-db1a-0410-9941-cceddc491573
Z2GW2JB2K2MS67IU7O566FX7PSJPZIFN52PWECBBSJMB4LS6HXUQC
case MONS_LICH:
case MONS_MUMMY:
case MONS_SKELETAL_WARRIOR:
case MONS_WRAITH:
rc = false;
break;
default:
break;
}
if (mons_is_skeletal(type) || mons_is_insubstantial(type)
|| mons_species() == MONS_LICH || mons_species() == MONS_MUMMY)
{
return (false);
}