Properly handle the gods of monsters created by monster spells. If the

monster that created them is a priest, assume they're from priestly abilities, and if the monster that created them is neither a priest nor a wizard, assume they're from intrinsic abilities; in both cases, they'll have the same god as the monster. The latter should cover cases such as god-summoned shadow imps' casting Animate Dead; if the imp abandons you due to your abandoning its god, its zombies will abandon you too.

Also, mark skeletal warriors as no longer being wizards, so that their casting Animate Dead is an intrinsic ability, and the above rule will apply when the skeletal warrior is a gift of Yredelemnul; if the skeletal warrior abandons you due to your abandoning Yredelemnul, its zombies will abandon you too.

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8951 c06c8d41-db1a-0410-9941-cceddc491573

Created by  dolorous  on February 7, 2009
K3HAD5I366XYS5PVG5QSNNNJI5EIUCHD4JZWSXL3KKIVFHHAA4YAC
Change contents