summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/decks.h
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2012-04-12 19:23:57 +0100
committerChris Campbell <chriscampbell89@gmail.com>2012-04-12 19:31:57 +0100
commit8e60e9e12218c03020e66c912f2a54fe0546aec3 (patch)
treeb92bde21fda2f376fd6938cdb98da0dff0cbcb04 /crawl-ref/source/decks.h
parentebfdce114306f081c467524ebf2d7a8c7f20e967 (diff)
downloadcrawl-ref-8e60e9e12218c03020e66c912f2a54fe0546aec3.tar.gz
crawl-ref-8e60e9e12218c03020e66c912f2a54fe0546aec3.zip
A new card: the Mercenary, pay gold for allies
Added to the deck of battle, so it won't be gifted by Nemelex but can appear in random decks (changes, defence and war). An ally is chosen randomly from a list, with higher card power allowing stronger allies. The fee it asks for is based on its XP value. Paying makes it permanently friendly, if you choose not to or are unable to pay it remains hostile. It's rare and unreliable, but balance might be crazy (or not) so tweaks to the monster list/order/fees/anything are welcome.
Diffstat (limited to 'crawl-ref/source/decks.h')
-rw-r--r--crawl-ref/source/decks.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/crawl-ref/source/decks.h b/crawl-ref/source/decks.h
index 4b45c66876..736d4c7ea8 100644
--- a/crawl-ref/source/decks.h
+++ b/crawl-ref/source/decks.h
@@ -80,6 +80,9 @@ enum card_type
CARD_HELM, // defence
CARD_BLADE, // weapon boosts
CARD_SHADOW, // assassin skills
+#if TAG_MAJOR_VERSION != 32
+ CARD_MERCENARY,
+#endif
CARD_CRUSADE,
CARD_SUMMON_ANIMAL,
@@ -93,11 +96,13 @@ enum card_type
CARD_POTION,
CARD_FOCUS,
CARD_SHUFFLE,
-
CARD_EXPERIENCE,
CARD_WILD_MAGIC,
CARD_SAGE, // skill training
CARD_HELIX, // remove one *bad* mutation
+#if TAG_MAJOR_VERSION != 32
+ CARD_ALCHEMIST,
+#endif
CARD_WATER, // flood squares
CARD_GLASS, // make walls transparent
@@ -121,10 +126,11 @@ enum card_type
CARD_FAMINE,
CARD_CURSE, // Curse your items
CARD_SWINE, // *oink*
- CARD_ALCHEMIST,
#if TAG_MAJOR_VERSION == 32
+ CARD_ALCHEMIST,
CARD_ORB,
+ CARD_MERCENARY,
#endif
NUM_CARDS