From 1a5e321112f632a9849e686d9fa9e97906a82cc5 Mon Sep 17 00:00:00 2001 From: "marcins78@gmail.com" Date: Sat, 22 Oct 2011 20:14:39 +0000 Subject: [PATCH] "Wisp of Pale Sheen" --- .../lotro/cards/set6/sauron/Card6_108.java | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set6/sauron/Card6_108.java diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set6/sauron/Card6_108.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set6/sauron/Card6_108.java new file mode 100644 index 000000000..1e0a2fd71 --- /dev/null +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set6/sauron/Card6_108.java @@ -0,0 +1,47 @@ +package com.gempukku.lotro.cards.set6.sauron; + +import com.gempukku.lotro.cards.AbstractMinion; +import com.gempukku.lotro.cards.PlayConditions; +import com.gempukku.lotro.cards.effects.AddBurdenEffect; +import com.gempukku.lotro.common.*; +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.DiscardCardsFromPlayEffect; +import com.gempukku.lotro.logic.timing.Action; + +import java.util.Collections; +import java.util.List; + +/** + * Set: Ents of Fangorn + * Side: Shadow + * Culture: Sauron + * Twilight Cost: 3 + * Type: Minion • Wraith + * Strength: 8 + * Vitality: 2 + * Site: 4 + * Game Text: Twilight. Regroup: Spot another [SAURON] or twilight minion and discard this minion to add a burden. + */ +public class Card6_108 extends AbstractMinion { + public Card6_108() { + super(3, 8, 2, 4, Race.WRAITH, Culture.SAURON, "Wisp of Pale Sheen"); + } + + @Override + protected List getExtraPhaseActions(String playerId, LotroGame game, PhysicalCard self) { + if (PlayConditions.canUseShadowCardDuringPhase(game.getGameState(), Phase.REGROUP, self, 0) + && PlayConditions.canSpot(game, Filters.not(self), CardType.MINION, Filters.or(Culture.SAURON, Keyword.TWILIGHT)) + && PlayConditions.canSelfDiscard(self, game)) { + ActivateCardAction action = new ActivateCardAction(self); + action.appendCost( + new DiscardCardsFromPlayEffect(self, self)); + action.appendEffect( + new AddBurdenEffect(self, 1)); + return Collections.singletonList(action); + } + return null; + } +}