diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set12/rohan/Card12_114.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set12/rohan/Card12_114.java new file mode 100644 index 000000000..b73383925 --- /dev/null +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set12/rohan/Card12_114.java @@ -0,0 +1,44 @@ +package com.gempukku.lotro.cards.set12.rohan; + +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.cards.effects.choose.ChooseAndExertCharactersEffect; +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: Free + * Culture: Rohan + * Twilight Cost: 0 + * Type: Event • Regroup + * Game Text: Spot a [ROHAN] Man to discard a possession from play. You may exert a [ROHAN] Man who has resistance 3 + * or more to play this event during the maneuver phase. + */ +public class Card12_114 extends AbstractEvent { + public Card12_114() { + super(Side.FREE_PEOPLE, 0, Culture.ROHAN, "For the Mark", Phase.REGROUP, Phase.MANEUVER); + } + + @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.ROHAN, Race.MAN) + && (game.getGameState().getCurrentPhase() != Phase.MANEUVER || PlayConditions.canExert(self, game, Culture.ROHAN, Race.MAN, Filters.minResistance(3))); + } + + @Override + public PlayEventAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, int twilightModifier, boolean ignoreRoamingPenalty) { + PlayEventAction action = new PlayEventAction(self); + if (PlayConditions.isPhase(game, Phase.MANEUVER)) + action.appendCost( + new ChooseAndExertCharactersEffect(action, playerId, 1, 1, Culture.ROHAN, Race.MAN, Filters.minResistance(3))); + action.appendEffect( + new ChooseAndDiscardCardsFromPlayEffect(action, playerId, 1, 1, CardType.POSSESSION)); + return action; + } +}