git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5101 c06c8d41-db1a-0410-9941-cceddc491573
FJCG7QPYI2ON5QIGUZDIA6KTJP2BOU45K5ZE6HOEUSLZTEW2YW6QC
// confused (but not perma-confused)
if (def->has_ench(ENCH_CONFUSION)
&& !mons_class_flag(def->type, M_CONFUSED))
// no unchivalric attacks on dead or abjured monsters, monsters that
// cannot fight (e.g. plants), or invisible monsters
if (defender->alive() && !defender->cannot_fight()
&& player_monster_visible(def))