From 24635b5b6b18919e6c5ffbfc456a607598327177 Mon Sep 17 00:00:00 2001 From: dolorous Date: Fri, 17 Oct 2008 19:50:28 +0000 Subject: 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 --- crawl-ref/source/religion.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/religion.cc') 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) -- cgit v1.2.3-54-g00ecf