From 28a637f75c67292611885f2a2b7b0dbe36d4c18f Mon Sep 17 00:00:00 2001 From: marcins78 Date: Thu, 3 Jan 2013 15:23:34 +0000 Subject: [PATCH] "Wulf, Watchief of Dunland" --- .../lotro/cards/set20/dunland/Card20_021.java | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/dunland/Card20_021.java diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/dunland/Card20_021.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/dunland/Card20_021.java new file mode 100644 index 000000000..fd1ba6b89 --- /dev/null +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/dunland/Card20_021.java @@ -0,0 +1,46 @@ +package com.gempukku.lotro.cards.set20.dunland; + +import com.gempukku.lotro.cards.AbstractMinion; +import com.gempukku.lotro.cards.PlayConditions; +import com.gempukku.lotro.cards.effects.RemoveTwilightEffect; +import com.gempukku.lotro.cards.effects.choose.ChooseAndPutCardFromDiscardIntoHandEffect; +import com.gempukku.lotro.common.Culture; +import com.gempukku.lotro.common.Keyword; +import com.gempukku.lotro.common.Phase; +import com.gempukku.lotro.common.Race; +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.timing.Action; + +import java.util.Collections; +import java.util.List; + +/** + * 4 + * • Wulf, Warchief of Dunland + * Dunland Minion • Man + * 10 2 3 + * Fierce. Shadow: If the fellowship has moved again this turn, remove (2) to take a [Dunland] card + * into hand from your discard pile. + */ +public class Card20_021 extends AbstractMinion { + public Card20_021() { + super(4, 10, 2, 3, Race.MAN, Culture.DUNLAND, "Wulf", "Watchief of Dunland", true); + addKeyword(Keyword.FIERCE); + } + + @Override + protected List getExtraPhaseActions(String playerId, LotroGame game, PhysicalCard self) { + if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.SHADOW, self, 2) + && game.getGameState().getMoveCount()>1) { + ActivateCardAction action = new ActivateCardAction(self); + action.appendCost( + new RemoveTwilightEffect(2)); + action.appendEffect( + new ChooseAndPutCardFromDiscardIntoHandEffect(action, playerId, 1,1, Culture.DUNLAND)); + return Collections.singletonList(action); + } + return null; + } +}