summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc3
1 files changed, 2 insertions, 1 deletions
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))
{