- "They Are Coming" from set 20, now requires to discard cards from hand and can be used only in Shadow phase.

This commit is contained in:
marcins78
2013-03-12 11:21:07 +00:00
parent 603dd777e0
commit 0e9867f4b0
2 changed files with 6 additions and 1 deletions

View File

@@ -9,6 +9,7 @@
- "The Long Dark of Moria" is now unique (per card text).
- "Moria Caverns" now allows to play a Goblin from discard for discarding two cards, instead of forcing FP player to
perform a next move (per card text).
- "They Are Coming" from set 20, now requires to discard cards from hand and can be used only in Shadow phase.
<b>11 Mar. 2013</b>
- Second Edition is playable now.

View File

@@ -8,6 +8,7 @@ import com.gempukku.lotro.filters.Filters;
import com.gempukku.lotro.game.PhysicalCard;
import com.gempukku.lotro.game.state.LotroGame;
import com.gempukku.lotro.logic.actions.ActivateCardAction;
import com.gempukku.lotro.logic.effects.ChooseAndDiscardCardsFromHandEffect;
import com.gempukku.lotro.logic.timing.Action;
import java.util.Collections;
@@ -26,9 +27,12 @@ public class Card20_280 extends AbstractPermanent {
@Override
protected List<? extends Action> getExtraPhaseActions(String playerId, LotroGame game, PhysicalCard self) {
if (PlayConditions.canDiscardFromHand(game, playerId, 3, Filters.any)
if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.SHADOW, self, 0)
&& PlayConditions.canDiscardFromHand(game, playerId, 3, Filters.any)
&& PlayConditions.canPlayFromDiscard(playerId, game, Culture.MORIA, Race.GOBLIN)) {
ActivateCardAction action = new ActivateCardAction(self);
action.appendCost(
new ChooseAndDiscardCardsFromHandEffect(action, playerId, false, 3));
action.appendEffect(
new ChooseAndPlayCardFromDiscardEffect(playerId, game, Culture.MORIA, Race.GOBLIN));
return Collections.singletonList(action);