From 6054a9251a852b63fc2e16cf628a09c9640417c3 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sat, 24 Nov 2007 18:08:39 +0000 Subject: Trunk->0.3 merge (2904): You should only get the saving throw for losing orcish followers if you're under penance, not if you've abandoned Beogh. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.3@2911 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/religion.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 37e25dee7f..5f3c68956e 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -2494,7 +2494,8 @@ bool followers_abandon_you() const int hd = monster->hit_dice; // during penance followers get a saving throw - if (random2((you.piety-you.penance[GOD_BEOGH])/18) + + if (you.religion == GOD_BEOGH && + random2((you.piety-you.penance[GOD_BEOGH])/18) + random2(you.skills[SK_INVOCATIONS]-6) > random2(hd) + hd + random2(5)) { -- cgit v1.2.3-54-g00ecf