already does with demons summoned by orc high priests.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9286 c06c8d41-db1a-0410-9941-cceddc491573
ZVD3ZBLCAH5MZLGYN4FQOQKHNM453N6P3BZ3KYAQMWCZTEHQK65QC
XABTX74AMBUM4A6E2YIMH6RPB267JEWLQITSYDK76IY77VMB5LZQC
43VHOCEKUD3UVYI77NCF37F7LTVEPIUVLA4SXIAXBKI3JJF2XIQQC
SROWUFFIKQV3PLGRJBPFUBMY4THTWIR2632PTVDAYEB5R3BDSDJAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
SA36K3OJ75PNVR2F4QAPNU2LUGFTVHNIAZVSXCBXBT2NLW2RTUPAC
NG53L53MSFQZAIVKHG54IEMXNJ33AYVPF2OZM4MMJFDKEJCGPBSAC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
MKRJCNUW7KUBBNAX4Y7LHIV7WBXKVTWXTN6A5NUUFSG32XYTZBZQC
QL5YCGGNXVNGD5WACTFKXQOUCCXOKMUQGRHDJAUEIW25LQUSTD2QC
3DQXSE4YGFBBDUWK4YEOFWW4UPWILWELFSLP37SL6BERGAZJC5YAC
MMBYOSDIDJ55AWZQMVJCOGJLRTNY5KKUWQ2WVC3Z24YW3LSDY22QC
J2A4YGNZ64W3UVI3GGUXOHWE3YMZAJNODOMW3REP7KIE6TCMGX7QC
X5WLJCJVW55SXZVP7IKP7ADCJIGNKN4PKAXFECVR6TNK7XSMZR7QC
4SWAT5KCKQV527NKELAXFQ5XA4Q5HONQXD4VBXMUZNPVPQKPCPNAC
OWERGKLVPNPGIIS23FZ7ZDOBWUIXCKYAFG3URXU75JAUDX3N5ENAC
if (targ_holy == MH_NATURAL && attacker_holy == MH_UNDEAD)
if (you.religion == GOD_SHINING_ONE
|| you.religion == GOD_YREDELEMNUL
|| you.religion == GOD_KIKUBAAQUDGHA
|| you.religion == GOD_VEHUMET
|| you.religion == GOD_MAKHLEB
|| you.religion == GOD_LUGONU
|| !anon && mons_is_god_gift(&menv[killer_index]))
// Yes, this is a hack, but it makes sure that confused
// monsters doing the kill are not referred to as "slaves",
// and I think it's okay that Yredelemnul ignores kills
// done by confused monsters as opposed to enslaved or
// friendly ones. (jpeg)
if (mons_friendly(&menv[killer_index]))
if (targ_holy == MH_NATURAL && attacker_holy == MH_UNDEAD)
notice |=
did_god_conduct(DID_LIVING_KILLED_BY_UNDEAD_SLAVE,
monster->hit_dice);
}
else
{
notice |=
did_god_conduct(DID_LIVING_KILLED_BY_SERVANT,
monster->hit_dice);
// Yes, this is a hack, but it makes sure that
// confused monsters doing kills are not
// referred to as "slaves", and I think it's
// okay that Yredelemnul ignores kills done by
// confused monsters as opposed to enslaved or
// friendly ones. (jpeg)
if (mons_friendly(&menv[killer_index]))
{
notice |= did_god_conduct(
DID_LIVING_KILLED_BY_UNDEAD_SLAVE,
monster->hit_dice);
}
else
{
notice |= did_god_conduct(
DID_LIVING_KILLED_BY_SERVANT,
monster->hit_dice);
}
}
else if (you.religion == GOD_SHINING_ONE
|| you.religion == GOD_VEHUMET
|| you.religion == GOD_MAKHLEB
|| you.religion == GOD_LUGONU
|| !anon && mons_is_god_gift(&menv[killer_index]))
{
// as a way to focus Necromancy vs Summoning (ignoring
// Summon Wraith here)... at least we're being nice and
// putting the natural creature Summons together with
// the Demon ones. Note that Vehumet gets a free
// pass here since those followers are assumed to
// come from Summoning spells... the others are
// from invocations (Zin, TSO, Makh, Kiku). -- bwr
if (targ_holy == MH_NATURAL)
// as a way to focus Necromancy vs. Summoning
// (ignoring Summon Wraith here)... at least we're
// being nice and putting the natural creature
// summons together with the demonic ones. Note
// that Vehumet gets a free pass here since those
// followers are assumed to come from summoning
// spells... the others are from invocations (TSO,
// Makhleb, Kiku). - bwr
else if (targ_holy == MH_NATURAL)
notice |=
did_god_conduct(
DID_NATURAL_EVIL_KILLED_BY_SERVANT,
monster->hit_dice);
notice |= did_god_conduct(
DID_NATURAL_EVIL_KILLED_BY_SERVANT,
monster->hit_dice);
// Yes, this is a hack, but it makes sure that confused
// monsters doing the kill are not referred to as
// "slave", and I think it's okay that Yredelemnul
// ignores kills done by confused monsters as opposed
// to enslaved or friendly ones. (jpeg)
// Yes, this is a hack, but it makes sure that
// confused monsters doing kills are not
// referred to as "slaves", and I think it's
// okay that Yredelemnul ignores kills done by
// confused monsters as opposed to enslaved or
// friendly ones. (jpeg)