- "Curse Their Foul Feet!" now discards only cards if the hand could be revealed.

This commit is contained in:
marcins78
2013-08-20 14:27:34 +00:00
parent eb4796f7f0
commit b3a0b54594
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
<pre style="font-size:80%">
<b>20 Jul. 2013</b>
- "War and Valor" from Second Edition now applies to Gondor Man, not Gondor Ranger (per card text).
- "Curse Their Foul Feet!" now discards only cards if the hand could be revealed.
<b>20 Jun. 2013</b>
- "They Sang as They Slew" correctly counts the exerted cards.

View File

@@ -50,16 +50,15 @@ public class Card1_036 extends AbstractOldEvent {
action.appendEffect(
new ChooseOpponentEffect(playerId) {
@Override
protected void opponentChosen(String opponentId) {
protected void opponentChosen(final String opponentId) {
List<? extends PhysicalCard> hand = game.getGameState().getHand(opponentId);
int orcsCount = Filters.filter(hand, game.getGameState(), game.getModifiersQuerying(), Race.ORC).size();
final int orcsCount = Filters.filter(hand, game.getGameState(), game.getModifiersQuerying(), Race.ORC).size();
action.appendEffect(new RevealAndChooseCardsFromOpponentHandEffect(action, playerId, opponentId, self, "Opponent's hand", Filters.none, 0, 0) {
@Override
protected void cardsSelected(List<PhysicalCard> selectedCards) {
// Do nothing
action.appendEffect(new ChooseAndDiscardCardsFromHandEffect(action, opponentId, true, orcsCount));
}
});
action.appendEffect(new ChooseAndDiscardCardsFromHandEffect(action, opponentId, true, orcsCount));
}
});
return action;