git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2365 c06c8d41-db1a-0410-9941-cceddc491573
ILADK4YNPQVYLZYDMGGBYN2EBBCIPCDNUCWZH27DQTKOMVUDLVMAC
did_god_conduct(DID_UNHOLY, 1);
}
if (weapon->base_type == OBJ_WEAPONS
&& is_demonic( *weapon ))
{
did_god_conduct(DID_UNHOLY, 1);
}
if (is_fixed_artefact(*weapon))
{
switch (weapon->special)
{
case SPWPN_SCEPTRE_OF_ASMODEUS:
case SPWPN_STAFF_OF_DISPATER:
case SPWPN_SWORD_OF_CEREBOV:
did_god_conduct(DID_UNHOLY, 3);
break;
default:
break;
}
}
}
}
// Returns true if the combat round should end here.
bool melee_attack::player_monattk_hit_effects(bool mondied)
{
if (mons_holiness(def) == MH_HOLY)
did_god_conduct(mondied? DID_KILL_ANGEL : DID_ATTACK_HOLY, 1);