From 7584169c6cedefb52ca83ce479c1898b17d4dd76 Mon Sep 17 00:00:00 2001 From: "marcins78@gmail.com" Date: Fri, 27 Jan 2012 14:37:21 +0000 Subject: [PATCH] "Chieftain of Dunland" --- .../lotro/cards/set15/men/Card15_074.java | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set15/men/Card15_074.java diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set15/men/Card15_074.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set15/men/Card15_074.java new file mode 100644 index 000000000..38cacb602 --- /dev/null +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set15/men/Card15_074.java @@ -0,0 +1,78 @@ +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.RemoveTwilightEffect; +import com.gempukku.lotro.cards.effects.choose.ChooseAndAddUntilEOPStrengthBonusEffect; +import com.gempukku.lotro.common.Culture; +import com.gempukku.lotro.common.Keyword; +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.LinkedList; +import java.util.List; + +/** + * Set: The Hunters + * Side: Shadow + * Culture: Men + * Twilight Cost: 5 + * Type: Minion • Man + * Strength: 11 + * Vitality: 3 + * Site: 4 + * Game Text: Fierce. Skirmish: Spot a site you control and remove (2) to make a [MEN] Man strength +2. + * Skirmish: Spot 2 sites you control and remove (2) to make a [MEN] Man strength +3. + * Skirmish: Spot 3 sites you control and remove (2) to make a [MEN] Man strength +4. + */ +public class Card15_074 extends AbstractMinion { + public Card15_074() { + super(5, 11, 3, 4, Race.MAN, Culture.MEN, "Chieftain of Dunland", true); + addKeyword(Keyword.FIERCE); + } + + @Override + protected List getExtraPhaseActions(String playerId, LotroGame game, PhysicalCard self) { + if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.SKIRMISH, self, 2)) { + List actions = new LinkedList(); + + if (PlayConditions.canSpot(game, Filters.siteControlled(playerId))) { + ActivateCardAction action = new ActivateCardAction(self); + action.setText("Make a MEN Man strength +2"); + action.appendCost( + new RemoveTwilightEffect(2)); + action.appendEffect( + new ChooseAndAddUntilEOPStrengthBonusEffect( + action, self, playerId, 2, Culture.MEN, Race.MAN)); + actions.add(action); + } + if (PlayConditions.canSpot(game, 2, Filters.siteControlled(playerId))) { + ActivateCardAction action = new ActivateCardAction(self); + action.setText("Make a MEN Man strength +3"); + action.appendCost( + new RemoveTwilightEffect(2)); + action.appendEffect( + new ChooseAndAddUntilEOPStrengthBonusEffect( + action, self, playerId, 3, Culture.MEN, Race.MAN)); + actions.add(action); + } + if (PlayConditions.canSpot(game, 3, Filters.siteControlled(playerId))) { + ActivateCardAction action = new ActivateCardAction(self); + action.setText("Make a MEN Man strength +4"); + action.appendCost( + new RemoveTwilightEffect(2)); + action.appendEffect( + new ChooseAndAddUntilEOPStrengthBonusEffect( + action, self, playerId, 4, Culture.MEN, Race.MAN)); + actions.add(action); + } + return actions; + } + return null; + } +}