From f44230b73cec129053f6f597260abee45efdb379 Mon Sep 17 00:00:00 2001 From: "marcins78@gmail.com" Date: Thu, 17 Nov 2011 16:24:30 +0000 Subject: [PATCH] "Ulaire Lemenya" --- .../lotro/cards/set10/wraith/Card10_069.java | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set10/wraith/Card10_069.java diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set10/wraith/Card10_069.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set10/wraith/Card10_069.java new file mode 100644 index 000000000..14d998d76 --- /dev/null +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set10/wraith/Card10_069.java @@ -0,0 +1,58 @@ +package com.gempukku.lotro.cards.set10.wraith; + +import com.gempukku.lotro.cards.AbstractMinion; +import com.gempukku.lotro.cards.PlayConditions; +import com.gempukku.lotro.cards.modifiers.CantExertWithCardModifier; +import com.gempukku.lotro.cards.modifiers.conditions.PhaseCondition; +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.ChooseAndWoundCharactersEffect; +import com.gempukku.lotro.logic.effects.HealCharactersEffect; +import com.gempukku.lotro.logic.modifiers.Modifier; +import com.gempukku.lotro.logic.timing.Action; + +import java.util.Collections; +import java.util.List; + +/** + * Set: Mount Doom + * Side: Shadow + * Culture: Wraith + * Twilight Cost: 4 + * Type: Minion • Nazgul + * Strength: 9 + * Vitality: 2 + * Site: 3 + * Game Text: Enduring. Fierce. Shadow cards cannot exert Ulaire Lemenya during a skirmish phase. Skirmish: Heal Ulaire + * Lemenya to wound up to 3 other [WRAITH] minions. + */ +public class Card10_069 extends AbstractMinion { + public Card10_069() { + super(4, 9, 2, 3, Race.NAZGUL, Culture.WRAITH, "Ulaire Lemenya", true); + addKeyword(Keyword.ENDURING); + addKeyword(Keyword.FIERCE); + } + + @Override + public List getAlwaysOnModifiers(LotroGame game, PhysicalCard self) { + return Collections.singletonList( + new CantExertWithCardModifier(self, self, new PhaseCondition(Phase.SKIRMISH), Side.SHADOW)); + } + + @Override + protected List getExtraPhaseActions(String playerId, LotroGame game, PhysicalCard self) { + if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.SKIRMISH, self, 0) + && PlayConditions.canHeal(self, game, self)) { + ActivateCardAction action = new ActivateCardAction(self); + action.appendCost( + new HealCharactersEffect(self, self)); + action.appendEffect( + new ChooseAndWoundCharactersEffect(action, playerId, 0, 3, Filters.not(self), Culture.WRAITH, CardType.MINION)); + return Collections.singletonList(action); + } + return null; + } +}