diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-08 16:51:43 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-08 16:51:43 +0000 |
commit | b9355b74241f66c8078613813c653df4e17b6428 (patch) | |
tree | 444c878b055d8ca7931d6ce8dd1dfc77e38d0ce9 /crawl-ref/source | |
parent | 1acf1d1387f7f365f0a5cb108558fcd25483ac37 (diff) | |
download | crawl-ref-b9355b74241f66c8078613813c653df4e17b6428.tar.gz crawl-ref-b9355b74241f66c8078613813c653df4e17b6428.zip |
Remove another (indirect) hardcoded maximum piety reference.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3542 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/religion.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 4700ca09d2..98e4467861 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -3862,7 +3862,7 @@ void god_smites_you(god_type god, kill_method_type death_type, // Your god won't protect you from his own smiting, and Xom is too // capricious to protect you from any god's smiting. if (you.religion != god && you.religion != GOD_XOM && - !player_under_penance() && you.piety > random2(400)) + !player_under_penance() && you.piety > random2(MAX_PIETY * 2)) { snprintf(info, INFO_SIZE, "Mortal, I have averted the wrath " "of %s... this time.", god_name(god).c_str()); |