From b04b408d81590d4e95d5116ef4874a00c20c9539 Mon Sep 17 00:00:00 2001 From: dolorous Date: Thu, 19 Jun 2008 03:55:54 +0000 Subject: 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 --- crawl-ref/source/decks.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/decks.cc') 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 -- cgit v1.2.3-54-g00ecf