Add new Sauna/Avanto Promo with Split Pile (#76)

* Added Sauna/Avanto Promo with Split Pile
* Update tests to account for new promo cards
This commit is contained in:
Nick Vance 2016-10-04 12:43:02 -07:00 committed by Peter
parent 7863a9d0c5
commit 0efac2000b
3 changed files with 41 additions and 1 deletions

View File

@ -83,5 +83,12 @@
"Settlers"
],
"new_name": "Bustling Village \/ Settlers"
},
"Sauna \/ Avanto": {
"subcards": [
"Sauna",
"Avanto"
],
"new_name": "Sauna \/ Avanto"
}
}

View File

@ -1583,6 +1583,39 @@
"Event"
]
},
{
"cardset": "promo",
"cost": "4",
"description": "+1 Card\n+1 Action\nYou may play an Avanto from your hand.\nWhile this is in play, when you play a Silver, you may trash a card from your hand.",
"extra": "Sauna is a promotional Action card. It's a cantrip that allows you to trash a card when you play a Silver. It is a split pile card, with five copies of Sauna sitting on top of five copies of Avanto.",
"name": "Sauna",
"potcost": 0,
"types":[
"Action"
]
},
{
"cardset": "promo",
"cost": "5",
"description": "+3 Cards\nYou may play a Sauna from your hand.",
"extra": "Avanto is a promotional Action card. It's a terminal draw card that can potentially become non-terminal if you have a Sauna in your hand to play. It is a split pile card, with five copies of Avanto sitting under five copies of Sauna.",
"name": "Avanto",
"potcost": 0,
"types":[
"Action"
]
},
{
"cardset": "promo",
"cost": "4",
"description": "Sauna:\n+1 Card\n+1 Action\nYou may play an Avanto from your hand.\nWhile this is in play, when you play a Silver, you may trash a card from your hand.\nAvanto:\n+3 Cards\nYou may play a Sauna from your hand.",
"extra": "Sauna \/ Avanto is a split pile with five copies of Sauna placed on top of five copies of Avanto during setup. Sauna is a cantrip that allows you to trash a card when you play a Silver. Avanto is a terminal draw card that can potentially become non-terminal if you have a Sauna in your hand to play.",
"name": "Sauna \/ Avanto",
"potcost": 0,
"types":[
"Action"
]
},
{
"cardset": "base",
"cost": "0",

View File

@ -9,7 +9,7 @@ class TestCardDB(unittest.TestCase):
options = domdiv.parse_opts([])
options.data_path = '.'
cards = domdiv.read_write_card_data(options)
self.assertEquals(len(cards), 383)
self.assertEquals(len(cards), 386)
print set(c.cardset for c in cards)
valid_cardsets = {
u'prosperity',