git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2028 c06c8d41-db1a-0410-9941-cceddc491573
6TYCKF4JX27PXCMWXDWKMZPQNF7EF5RF6MAPS573TW6VDTPBK3CAC
RSIUBEQUGNU4LO6KH4PKVROWQS33DAKSY4XFVGN7T3CEKSXABCSAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
R22TTMI6WXWULC7ODKFF3QCB7MOTETQQ6IR4BUCUPOCQKQNCTT5AC
QDTVLBRGHDTRUVT7I3O72K6TMOYAUSAJBZUHGOEFU2RKJNUPWZSQC
// if summoned onto traps, directly affect monster menv[id].apply_location_effects();
// if summoned onto traps, directly affect monster
menv[id].apply_location_effects();
if (monster->has_ench(ENCH_SHAPESHIFTER)) { death_source_name += " (shapeshifter)"; } else if (monster->has_ench(ENCH_GLOWING_SHAPESHIFTER)) { death_source_name += " (glowing shapeshifter)"; }
if (monster->has_ench(ENCH_SHAPESHIFTER))
{
death_source_name += " (shapeshifter)";
}
else if (monster->has_ench(ENCH_GLOWING_SHAPESHIFTER))
death_source_name += " (glowing shapeshifter)";
desc += terse? "stupidity" : "Forgot to breathe";
desc += terse? "stupidity" : (you.is_undead? "Forgot to exist" : "Forgot to breathe");
desc += terse? "stupidity" :
(you.is_undead? "Forgot to exist" : "Forgot to breathe");
def->foe = monster_index(atk);
behaviour_event(def, ME_WHACK, monster_index(atk));