diff options
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index e567735c3a..4cdf592454 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -6829,6 +6829,20 @@ int player::res_sticky_flame() const return (player_res_sticky_flame()); } +int player::res_cleansing_flame() const +{ + if (player_is_unholy()) + return (-2); + + if (is_evil_god(you.religion)) + return (-1); + + if (is_good_god(you.religion)) + return (1); + + return (0); +} + int player::res_negative_energy() const { return (player_prot_life()); |