diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set12/uruk_hai/Card12_138.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set12/uruk_hai/Card12_138.java new file mode 100644 index 000000000..a9ffd86be --- /dev/null +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set12/uruk_hai/Card12_138.java @@ -0,0 +1,40 @@ +package com.gempukku.lotro.cards.set12.uruk_hai; + +import com.gempukku.lotro.cards.AbstractEvent; +import com.gempukku.lotro.cards.PlayConditions; +import com.gempukku.lotro.cards.actions.PlayEventAction; +import com.gempukku.lotro.cards.effects.choose.ChooseAndDiscardCardsFromPlayEffect; +import com.gempukku.lotro.common.*; +import com.gempukku.lotro.filters.Filters; +import com.gempukku.lotro.game.PhysicalCard; +import com.gempukku.lotro.game.state.LotroGame; + +/** + * Set: Black Rider + * Side: Shadow + * Culture: Uruk-hai + * Twilight Cost: 3 + * Type: Event • Maneuver + * Game Text: Toil 2. (For each [URUK-HAI] character you exert when playing this, its twilight cost is -2) Spot an + * [URUK-HAI] minion to discard a possession borne by a companion who has resistance 4 or less. + */ +public class Card12_138 extends AbstractEvent { + public Card12_138() { + super(Side.SHADOW, 3, Culture.URUK_HAI, "Broken Heirloom", Phase.MANEUVER); + addKeyword(Keyword.TOIL, 2); + } + + @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.canSpot(game, Culture.URUK_HAI, CardType.MINION); + } + + @Override + public PlayEventAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, int twilightModifier, boolean ignoreRoamingPenalty) { + PlayEventAction action = new PlayEventAction(self); + action.appendEffect( + new ChooseAndDiscardCardsFromPlayEffect(action, playerId, 1, 1, CardType.POSSESSION, Filters.attachedTo(CardType.COMPANION, Filters.maxResistance(4)))); + return action; + } +}