Fixed set 8 Eomer and Faramir only playing 1 revealed card. Added Now For Wrath unit test.
This commit is contained in:
@@ -201,10 +201,21 @@
|
||||
memorize: revealedCards
|
||||
}
|
||||
{
|
||||
type: playCardFromDrawDeck
|
||||
select: choose(memory(revealedCards),knight)
|
||||
showAll: false
|
||||
shuffle: true
|
||||
type: Repeat
|
||||
times: {
|
||||
type: ForEachInMemory
|
||||
memory: revealedCards
|
||||
filter: knight
|
||||
}
|
||||
effect: {
|
||||
type: playCardFromDrawDeck
|
||||
select: choose(memory(revealedCards),knight)
|
||||
showAll: false
|
||||
shuffle: false
|
||||
}
|
||||
}
|
||||
{
|
||||
type: shuffleDeck
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -140,10 +140,18 @@
|
||||
memorize: revealedCards
|
||||
}
|
||||
{
|
||||
type: playCardFromDrawDeck
|
||||
select: choose(memory(revealedCards),culture(rohan),possession)
|
||||
showAll: false
|
||||
shuffle: false
|
||||
type: Repeat
|
||||
times: {
|
||||
type: ForEachInMemory
|
||||
memory: revealedCards
|
||||
filter: culture(rohan),possession
|
||||
}
|
||||
effect: {
|
||||
type: playCardFromDrawDeck
|
||||
select: choose(memory(revealedCards),culture(rohan),possession)
|
||||
showAll: false
|
||||
shuffle: false
|
||||
}
|
||||
}
|
||||
{
|
||||
type: shuffleDeck
|
||||
|
||||
@@ -68,7 +68,7 @@ public class PlayCardFromDrawDeck implements EffectAppenderProducer {
|
||||
final CostToEffectAction playCardAction = PlayUtils.getPlayCardAction(actionContext.getGame(), cardsToPlay.iterator().next(), costModifier, onFilterable, false);
|
||||
return new StackActionEffect(playCardAction);
|
||||
} else {
|
||||
// This will notify any effect that uses playing from deck as a cost, that the cost was not "payed"
|
||||
// This will notify any effect that uses playing from deck as a cost, that the cost was not "paid"
|
||||
return new FailedEffect();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ public class Card_V2_051_Tests
|
||||
}
|
||||
|
||||
@Test
|
||||
public void NowforWrathTest1() throws DecisionResultInvalidException, CardNotFoundException {
|
||||
public void NowforWrathReactsToReconciledPossessionDiscard() throws DecisionResultInvalidException, CardNotFoundException {
|
||||
//Pre-game setup
|
||||
var scn = GetScenario();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user