diff options
author | Shmuale Mark <shm.mark@gmail.com> | 2014-06-16 19:36:36 -0400 |
---|---|---|
committer | Shmuale Mark <shm.mark@gmail.com> | 2014-06-17 09:58:02 -0400 |
commit | 1137a02fa7c1675c1248b5ae20f10b8970c92166 (patch) | |
tree | fbf7e682313d9d66b25b15a6d1a4742d090f1ba8 /crawl-ref/source/player.cc | |
parent | 23e621cf06427b00683233e8294cf439f15b4d27 (diff) | |
download | crawl-ref-1137a02fa7c1675c1248b5ae20f10b8970c92166.tar.gz crawl-ref-1137a02fa7c1675c1248b5ae20f10b8970c92166.zip |
Make profane servitors ignore holy wrath, like holy energy (#7089).
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 1ee8b8cb9e..11f479cc91 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -6629,6 +6629,11 @@ bool player::undead_or_demonic() const return is_undead || species == SP_DEMONSPAWN; } +bool player::holy_wrath_susceptible() const +{ + return undead_or_demonic(); +} + bool player::is_holy(bool check_spells) const { if (is_good_god(religion) && check_spells) |