diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/effects/PreventableEffect.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/effects/PreventableEffect.java index de7bc3639..68788b32b 100644 --- a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/effects/PreventableEffect.java +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/effects/PreventableEffect.java @@ -31,6 +31,10 @@ public class PreventableEffect extends AbstractSubActionEffect { this(action, effectToExecute, Collections.singletonList(choicePlayer), preventionCost, insteadEffect); } + public PreventableEffect(CostToEffectAction action, Effect effectToExecute, List choicePlayers, PreventionCost preventionCost) { + this(action, effectToExecute, choicePlayers, preventionCost, null); + } + public PreventableEffect(CostToEffectAction action, Effect effectToExecute, List choicePlayers, PreventionCost preventionCost, Effect insteadEffect) { _action = action; _effectToExecute = effectToExecute; diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set15/men/Card15_086.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set15/men/Card15_086.java new file mode 100644 index 000000000..e8a5d81cc --- /dev/null +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set15/men/Card15_086.java @@ -0,0 +1,51 @@ +package com.gempukku.lotro.cards.set15.men; + +import com.gempukku.lotro.cards.AbstractMinion; +import com.gempukku.lotro.cards.PlayConditions; +import com.gempukku.lotro.cards.effects.SelfExertEffect; +import com.gempukku.lotro.cards.effects.choose.ChooseAndExertCharactersEffect; +import com.gempukku.lotro.common.CardType; +import com.gempukku.lotro.common.Culture; +import com.gempukku.lotro.common.Phase; +import com.gempukku.lotro.common.Race; +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.timing.Action; + +import java.util.Collections; +import java.util.List; + +/** + * Set: The Hunters + * Side: Shadow + * Culture: Men + * Twilight Cost: 6 + * Type: Minion • Man + * Strength: 14 + * Vitality: 3 + * Site: 4 + * Game Text: Maneuver: Exert Mumak Commander twice to exert a companion twice (except the Ring-bearer). + */ +public class Card15_086 extends AbstractMinion { + public Card15_086() { + super(6, 14, 3, 4, Race.MAN, Culture.MEN, "Mumak Commander", true); + } + + @Override + protected List getExtraPhaseActions(String playerId, LotroGame game, PhysicalCard self) { + if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.MANEUVER, self, 0) + && PlayConditions.canSelfExert(self, 2, game)) { + ActivateCardAction action = new ActivateCardAction(self); + action.appendCost( + new SelfExertEffect(self)); + action.appendCost( + new SelfExertEffect(self)); + action.appendEffect( + new ChooseAndExertCharactersEffect(action, playerId, 1, 1, 2, CardType.COMPANION, Filters.not(Filters.ringBearer))); + return Collections.singletonList(action); + } + return null; + } +}