diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-07 07:20:54 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-07 07:20:54 +0000 |
commit | 40d45085f0e6ee4f9c4331c7a630ff6e5d3b1b30 (patch) | |
tree | e9e472275715aa0de58fe51c89ec34bbbf89e74e /crawl-ref/source/beam.cc | |
parent | 4f955d1dd5e8fda4fb45b09fbbfcab138e26a75b (diff) | |
download | crawl-ref-40d45085f0e6ee4f9c4331c7a630ff6e5d3b1b30.tar.gz crawl-ref-40d45085f0e6ee4f9c4331c7a630ff6e5d3b1b30.zip |
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
Diffstat (limited to 'crawl-ref/source/beam.cc')
0 files changed, 0 insertions, 0 deletions