From f1bb7f874d5d1a978944b537e6568f5428b26049 Mon Sep 17 00:00:00 2001 From: "marcins78@gmail.com" Date: Sun, 4 Dec 2011 17:51:32 +0000 Subject: [PATCH] "Nocked" --- .../lotro/cards/set11/elven/Card11_025.java | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set11/elven/Card11_025.java diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set11/elven/Card11_025.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set11/elven/Card11_025.java new file mode 100644 index 000000000..9a5c3997d --- /dev/null +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set11/elven/Card11_025.java @@ -0,0 +1,41 @@ +package com.gempukku.lotro.cards.set11.elven; + +import com.gempukku.lotro.cards.AbstractEvent; +import com.gempukku.lotro.cards.PlayConditions; +import com.gempukku.lotro.cards.effects.choose.ChooseAndExertCharactersEffect; +import com.gempukku.lotro.cards.actions.PlayEventAction; +import com.gempukku.lotro.common.*; +import com.gempukku.lotro.game.state.LotroGame; +import com.gempukku.lotro.game.PhysicalCard; +import com.gempukku.lotro.filters.Filters; +import com.gempukku.lotro.logic.effects.ChooseAndWoundCharactersEffect; + +/** + * Set: Shadows + * Side: Free + * Culture: Elven + * Twilight Cost: 2 + * Type: Event • Archery + * Game Text: Exert an Elf who has resistance 4 or more to wound a minion. + */ +public class Card11_025 extends AbstractEvent { + public Card11_025() { + super(Side.FREE_PEOPLE, 2, Culture.ELVEN, "Nocked", Phase.ARCHERY); + } + + @Override + public boolean checkPlayRequirements(String playerId, LotroGame game, PhysicalCard self, int withTwilightRemoved, int twilightModifier, boolean ignoreRoamingPenalty, boolean ignoreCheckingDeadPile) { + return super.checkPlayRequirements(playerId, game, self, withTwilightRemoved, twilightModifier, ignoreRoamingPenalty, ignoreCheckingDeadPile) + && PlayConditions.canExert(self, game, Race.ELF, Filters.minResistance(4)); + } + + @Override + public PlayEventAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, int twilightModifier, boolean ignoreRoamingPenalty) { + PlayEventAction action = new PlayEventAction(self); + action.appendCost( + new ChooseAndExertCharactersEffect(action, playerId, 1, 1, Race.ELF, Filters.minResistance(4))); + action.appendEffect( + new ChooseAndWoundCharactersEffect(action, playerId, 1, 1, CardType.MINION)); + return action; + } +}