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
|
memorize: revealedCards
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type: playCardFromDrawDeck
|
type: Repeat
|
||||||
select: choose(memory(revealedCards),knight)
|
times: {
|
||||||
showAll: false
|
type: ForEachInMemory
|
||||||
shuffle: true
|
memory: revealedCards
|
||||||
|
filter: knight
|
||||||
|
}
|
||||||
|
effect: {
|
||||||
|
type: playCardFromDrawDeck
|
||||||
|
select: choose(memory(revealedCards),knight)
|
||||||
|
showAll: false
|
||||||
|
shuffle: false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type: shuffleDeck
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -140,10 +140,18 @@
|
|||||||
memorize: revealedCards
|
memorize: revealedCards
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type: playCardFromDrawDeck
|
type: Repeat
|
||||||
select: choose(memory(revealedCards),culture(rohan),possession)
|
times: {
|
||||||
showAll: false
|
type: ForEachInMemory
|
||||||
shuffle: false
|
memory: revealedCards
|
||||||
|
filter: culture(rohan),possession
|
||||||
|
}
|
||||||
|
effect: {
|
||||||
|
type: playCardFromDrawDeck
|
||||||
|
select: choose(memory(revealedCards),culture(rohan),possession)
|
||||||
|
showAll: false
|
||||||
|
shuffle: false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type: shuffleDeck
|
type: shuffleDeck
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ public class PlayCardFromDrawDeck implements EffectAppenderProducer {
|
|||||||
final CostToEffectAction playCardAction = PlayUtils.getPlayCardAction(actionContext.getGame(), cardsToPlay.iterator().next(), costModifier, onFilterable, false);
|
final CostToEffectAction playCardAction = PlayUtils.getPlayCardAction(actionContext.getGame(), cardsToPlay.iterator().next(), costModifier, onFilterable, false);
|
||||||
return new StackActionEffect(playCardAction);
|
return new StackActionEffect(playCardAction);
|
||||||
} else {
|
} 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();
|
return new FailedEffect();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ public class Card_V2_051_Tests
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void NowforWrathTest1() throws DecisionResultInvalidException, CardNotFoundException {
|
public void NowforWrathReactsToReconciledPossessionDiscard() throws DecisionResultInvalidException, CardNotFoundException {
|
||||||
//Pre-game setup
|
//Pre-game setup
|
||||||
var scn = GetScenario();
|
var scn = GetScenario();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user