summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-11 04:34:15 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-11 04:34:15 +0000
commit25b679cce3802b42cd6a0a33e83c5f288ffa6536 (patch)
tree116db386ab384b3ec6faebe00cd16be9179bf5e0 /crawl-ref/source/ouch.cc
parent5943f95a4250cfdedd44091a1f9eac52e3cbb085 (diff)
downloadcrawl-ref-25b679cce3802b42cd6a0a33e83c5f288ffa6536.tar.gz
crawl-ref-25b679cce3802b42cd6a0a33e83c5f288ffa6536.zip
More progress on TSO. His retribution is now as follows:
* 33% chance of summoning daevas. * 33% chance of blasting you with cleansing flame. If you worship an evil god, you are now vulnerable to cleansing flame even if you're not undead or demonic; it seems fitting, especially as many living evil monsters seem to be priestly types. (The code for the blast is currently based on a modified version of Xom's divine lightning.) * 33% chance of booming voice. This is currently identical to Zin's version, except that the message is different. His smiting has been removed. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3593 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 7030515c20..96f4ab3669 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -241,7 +241,8 @@ int check_your_resists(int hurted, beam_type flavour)
break;
case BEAM_HOLY:
- if (!you.is_undead && you.species != SP_DEMONSPAWN)
+ if (!you.is_undead && you.species != SP_DEMONSPAWN &&
+ !is_evil_god(you.religion))
{
canned_msg( MSG_YOU_RESIST );
hurted = 0;