diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set13/men/Card13_100.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set13/men/Card13_100.java new file mode 100644 index 000000000..60bc4765b --- /dev/null +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set13/men/Card13_100.java @@ -0,0 +1,57 @@ +package com.gempukku.lotro.cards.set13.men; + +import com.gempukku.lotro.cards.AbstractMinion; +import com.gempukku.lotro.cards.PlayConditions; +import com.gempukku.lotro.cards.effects.AddUntilEndOfPhaseModifierEffect; +import com.gempukku.lotro.cards.effects.SelfExertEffect; +import com.gempukku.lotro.common.*; +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.effects.ChooseActiveCardEffect; +import com.gempukku.lotro.logic.modifiers.KeywordModifier; +import com.gempukku.lotro.logic.timing.Action; + +import java.util.Collections; +import java.util.List; + +/** + * Set: Bloodlines + * Side: Shadow + * Culture: Men + * Twilight Cost: 3 + * Type: Minion • Man + * Strength: 8 + * Vitality: 2 + * Site: 4 + * Game Text: Skirmish: If this minion is not assigned to a skirmish, you may exert him to make another [MEN] minion + * damage +1. + */ +public class Card13_100 extends AbstractMinion { + public Card13_100() { + super(3, 8, 2, 4, Race.MAN, Culture.MEN, "Vicious Dunlending"); + } + + @Override + protected List getExtraPhaseActions(String playerId, LotroGame game, final PhysicalCard self) { + if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.SKIRMISH, self, 0) + && PlayConditions.canSpot(game, self, Filters.notAssignedToSkirmish) + && PlayConditions.canSelfExert(self, game)) { + final ActivateCardAction action = new ActivateCardAction(self); + action.appendCost( + new SelfExertEffect(self)); + action.appendEffect( + new ChooseActiveCardEffect(self, playerId, "Choose a MEN minion", Filters.not(self), Culture.MEN, CardType.MINION) { + @Override + protected void cardSelected(LotroGame game, PhysicalCard card) { + action.appendEffect( + new AddUntilEndOfPhaseModifierEffect( + new KeywordModifier(self, card, Keyword.DAMAGE, 1), Phase.SKIRMISH)); + } + }); + return Collections.singletonList(action); + } + return null; + } +}