summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-26 17:15:17 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-26 17:15:17 +0000
commit87cc06152afc0ce5ed381538401fe26408eaebb7 (patch)
treec2ae6cfbdd2d7f764a3c584e1fcf901d46d2b7b5 /crawl-ref/source/religion.cc
parenta54d0315be1fae4bab7b05dbfe092f374ecfd991 (diff)
downloadcrawl-ref-87cc06152afc0ce5ed381538401fe26408eaebb7.tar.gz
crawl-ref-87cc06152afc0ce5ed381538401fe26408eaebb7.zip
Tweak the reinforcement blessing to give lower-level monsters, but in
possibly larger numbers. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3887 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc12
1 files changed, 10 insertions, 2 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index e1cd14bc95..b805ac7420 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -763,7 +763,7 @@ static bool blessing_reinforcements(void)
{
// Possible follower band leaders.
const monster_type followers[] = {
- MONS_ORC, MONS_ORC_WARRIOR
+ MONS_ORC
};
monster_type follower_type =
@@ -891,7 +891,15 @@ void bless_follower(god_type god,
{
if (chance == 0)
{
- if (blessing_reinforcements())
+ bool reinforced = blessing_reinforcements();
+
+ if (!reinforced || coinflip())
+ {
+ if (blessing_reinforcements())
+ reinforced = true;
+ }
+
+ if (reinforced)
{
blessed = "you";
result = "reinforcements";