summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-27 23:05:45 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-27 23:05:45 +0000
commit9b2dcc4ad0b7bf87b645a5332bcf6702f27130dd (patch)
tree0be73d28d7c6fa2bb2a51f5f165c715a374765e0 /crawl-ref
parentdc97622b5fe6416e65054208d001775d0ec1f540 (diff)
downloadcrawl-ref-9b2dcc4ad0b7bf87b645a5332bcf6702f27130dd.tar.gz
crawl-ref-9b2dcc4ad0b7bf87b645a5332bcf6702f27130dd.zip
Adjust piety gain for blessed dead orcs one more time: 20% chance for
non-priestly orcs, 40% chance for orc priests, 60% chance for orc high priests, and 80% for Saint Roka. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9266 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/religion.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index a601a2ebf7..18a85e700f 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -6247,10 +6247,10 @@ static piety_gain_t _sacrifice_one_item_noncount(const item_def& item)
{
const int item_orig = item.orig_monnum - 1;
- if ((item_orig == MONS_SAINT_ROKA && x_chance_in_y(7, 10))
- || (item_orig == MONS_ORC_HIGH_PRIEST && coinflip())
- || (item_orig == MONS_ORC_PRIEST && x_chance_in_y(3, 10))
- || one_chance_in(10))
+ if ((item_orig == MONS_SAINT_ROKA && !one_chance_in(5))
+ || (item_orig == MONS_ORC_HIGH_PRIEST && x_chance_in_y(3, 5))
+ || (item_orig == MONS_ORC_PRIEST && x_chance_in_y(2, 5))
+ || one_chance_in(5))
{
gain_piety(1);
relative_piety_gain = PIETY_SOME;