summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/decks.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-19 03:55:54 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-19 03:55:54 +0000
commitb04b408d81590d4e95d5116ef4874a00c20c9539 (patch)
tree2399177161c177622e8e677b2808e6199a45a704 /crawl-ref/source/decks.cc
parenta98b88c34760cb85963de4782bae483c5a175bc5 (diff)
downloadcrawl-ref-b04b408d81590d4e95d5116ef4874a00c20c9539.tar.gz
crawl-ref-b04b408d81590d4e95d5116ef4874a00c20c9539.zip
Tweak god gift handling a bit more.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5969 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/decks.cc')
-rw-r--r--crawl-ref/source/decks.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc
index c7c31cc632..532674e323 100644
--- a/crawl-ref/source/decks.cc
+++ b/crawl-ref/source/decks.cc
@@ -2496,12 +2496,14 @@ static void _crusade_card(int power, deck_rarity_type rarity)
monster->attitude = ATT_FRIENDLY;
// If you worship a god that lets you recruit
- // permanent followers, count this as a recruitment.
- if (you.religion == GOD_SHINING_ONE
+ // permanent followers, or a god allied with one,
+ // count this as a recruitment.
+ if (is_good_god(you.religion)
|| you.religion == GOD_BEOGH
&& mons_species(monster->type) == MONS_ORC)
{
- mons_make_god_gift(monster);
+ mons_make_god_gift(monster, is_good_god(you.religion) ?
+ GOD_SHINING_ONE : GOD_BEOGH);
}
}
else