summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-17 19:50:28 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-17 19:50:28 +0000
commit24635b5b6b18919e6c5ffbfc456a607598327177 (patch)
tree4a356d8fd91ae995cc82e36f23dccebe5f396ba4 /crawl-ref/source/religion.cc
parent0d18651f393114981c90aa80d4369c0641eeba7a (diff)
downloadcrawl-ref-24635b5b6b18919e6c5ffbfc456a607598327177.tar.gz
crawl-ref-24635b5b6b18919e6c5ffbfc456a607598327177.zip
Tweak the threshold for Yred's granted friendly servants. You first get
access to servants at piety 75 (enough for power 3, "Animate Dead", but you don't get access to all servant types until piety 120 (enough for power 5, "Enslave Soul"). This should fix the balance issues with, say, getting a death cob as your first servant early in the game. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7272 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 6473c477f5..fe72361830 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -1865,7 +1865,7 @@ static void _do_god_gift(bool prayed_for)
case GOD_YREDELEMNUL:
if (random2(you.piety) >= piety_breakpoint(2) && one_chance_in(5))
{
- int threshold = 100;
+ int threshold = (you.piety - piety_breakpoint(2)) * 20 / 9;
int how_many = _yred_random_servants(threshold);
if (how_many > 0)