diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set5/rohan/Card5_099.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set5/rohan/Card5_099.java new file mode 100644 index 000000000..6dfca6edd --- /dev/null +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set5/rohan/Card5_099.java @@ -0,0 +1,48 @@ +package com.gempukku.lotro.cards.set5.rohan; + +import com.gempukku.lotro.cards.AbstractMinion; +import com.gempukku.lotro.cards.PlayConditions; +import com.gempukku.lotro.cards.effects.ExertCharactersEffect; +import com.gempukku.lotro.common.CardType; +import com.gempukku.lotro.common.Culture; +import com.gempukku.lotro.common.Race; +import com.gempukku.lotro.game.PhysicalCard; +import com.gempukku.lotro.game.state.LotroGame; +import com.gempukku.lotro.logic.actions.OptionalTriggerAction; +import com.gempukku.lotro.logic.effects.DrawCardEffect; +import com.gempukku.lotro.logic.timing.EffectResult; + +import java.util.Collections; +import java.util.List; + +/** + * Set: Battle of Helm's Deep + * Side: Shadow + * Culture: Sauron + * Twilight Cost: 2 + * Type: Minion • Orc + * Strength: 7 + * Vitality: 2 + * Site: 6 + * Game Text: When you play this minion, you may exert him and spot 6 companions to draw a card. + */ +public class Card5_099 extends AbstractMinion { + public Card5_099() { + super(2, 7, 2, 6, Race.ORC, Culture.SAURON, "Gate Veteran"); + } + + @Override + public List getOptionalAfterTriggers(String playerId, LotroGame game, EffectResult effectResult, PhysicalCard self) { + if (PlayConditions.played(game, effectResult, self) + && PlayConditions.canSelfExert(self, game) + && PlayConditions.canSpot(game, 6, CardType.COMPANION)) { + OptionalTriggerAction action = new OptionalTriggerAction(self); + action.appendCost( + new ExertCharactersEffect(self, self)); + action.appendEffect( + new DrawCardEffect(playerId, 1)); + return Collections.singletonList(action); + } + return null; + } +}