From d8b30e3b7965a14c89c9ff67dade6055673d377c Mon Sep 17 00:00:00 2001 From: marcins78 Date: Tue, 5 Feb 2013 14:45:55 +0000 Subject: [PATCH] Names.enquea, "Morgul Assassin" --- .../lotro/cards/set20/wraith/Card20_306.java | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/wraith/Card20_306.java diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/wraith/Card20_306.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/wraith/Card20_306.java new file mode 100644 index 000000000..3278dae4f --- /dev/null +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/wraith/Card20_306.java @@ -0,0 +1,47 @@ +package com.gempukku.lotro.cards.set20.wraith; + +import com.gempukku.lotro.cards.AbstractMinion; +import com.gempukku.lotro.cards.PlayConditions; +import com.gempukku.lotro.cards.effects.SelfExertEffect; +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.timing.Action; + +import java.util.Collections; +import java.util.List; + +/** + * 6 + * •Ulaire Enquea, Morgul Assassin + * Ringwraith Minion • Nazgul + * 11 4 3 + * Fierce. + * Maneuver: If you can spot 6 companions (or 5 burdens), spot another [Ringwraith] minion + * and exert Ulaire Enquea to wound a companion (except the Ring-bearer). + */ +public class Card20_306 extends AbstractMinion { + public Card20_306() { + super(6, 11, 4, 3, Race.NAZGUL, Culture.WRAITH, Names.enquea, "Morgul Assassin", true); + addKeyword(Keyword.FIERCE); + } + + @Override + protected List getExtraPhaseActions(String playerId, LotroGame game, PhysicalCard self) { + if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.MANEUVER, self, 0) + && (PlayConditions.canSpot(game, 6, CardType.COMPANION) || PlayConditions.canSpotBurdens(game, 5)) + && PlayConditions.canSpot(game, Filters.not(self), Culture.WRAITH, CardType.MINION) + && PlayConditions.canSelfExert(self, game)) { + ActivateCardAction action = new ActivateCardAction(self); + action.appendCost( + new SelfExertEffect(action, self)); + action.appendEffect( + new ChooseAndWoundCharactersEffect(action, playerId, 1, 1, CardType.COMPANION, Filters.not(Filters.ringBearer))); + return Collections.singletonList(action); + } + return null; + } +}