git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6749 c06c8d41-db1a-0410-9941-cceddc491573
U5BUW5QJQ22SXMUA3JEQ4JXOE5NJF7KDOQJWPWCQ6X7P2OQMNBJQC
mprf(MSGCH_MONSTER_DAMAGE, MDAM_DEAD, "You %s %s!",
_wounded_damaged(monster->type) ? "destroy" : "kill",
monster->name(DESC_NOCAP_THE).c_str());
bool passive = (killer == KILL_YOU_CONF
&& (killer_index == ANON_FRIENDLY_MONSTER
|| !invalid_monster_index(killer_index)));
if ( passive )
{
mprf(MSGCH_MONSTER_DAMAGE, MDAM_DEAD, "%s is %s!",
monster->name(DESC_CAP_THE).c_str(),
_wounded_damaged(monster->type) ?
"destroyed" : "killed");
}
else
{
mprf(MSGCH_MONSTER_DAMAGE, MDAM_DEAD, "You %s %s!",
_wounded_damaged(monster->type) ? "destroy" : "kill",
monster->name(DESC_NOCAP_THE).c_str());
}