summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/decks.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/decks.cc')
-rw-r--r--crawl-ref/source/decks.cc13
1 files changed, 12 insertions, 1 deletions
diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc
index ef905bd040..7efe93fd90 100644
--- a/crawl-ref/source/decks.cc
+++ b/crawl-ref/source/decks.cc
@@ -1948,9 +1948,20 @@ static void trowel_card(int power, deck_rarity_type rarity)
static void genie_card(int power, deck_rarity_type rarity)
{
if ( coinflip() )
+ {
+ mpr("A genie takes forms and thunders: "
+ "\"Choose your reward, mortal!\"");
+ more();
acquirement( OBJ_RANDOM, AQ_CARD_GENIE );
+ }
else
- potion_effect( coinflip() ? POT_DEGENERATION : POT_DECAY, 40 );
+ {
+ mpr("A genie takes form and thunders: "
+ "\"You disturbed me, fool!\"");
+ // use 41 not 40 to tell potion_effect() that this isn't
+ // a real potion
+ potion_effect( coinflip() ? POT_DEGENERATION : POT_DECAY, 41 );
+ }
}
static void godly_wrath()