From 0a66ac3d0abdfd3df857ae509555029e72c44cee Mon Sep 17 00:00:00 2001 From: "marcins78@gmail.com" Date: Tue, 10 Jan 2012 15:35:15 +0000 Subject: [PATCH] "Fires Brightly Burning" --- .../lotro/cards/set13/men/Card13_091.java | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set13/men/Card13_091.java diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set13/men/Card13_091.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set13/men/Card13_091.java new file mode 100644 index 000000000..bb0b0c5e9 --- /dev/null +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set13/men/Card13_091.java @@ -0,0 +1,47 @@ +package com.gempukku.lotro.cards.set13.men; + +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.ChooseAndAddUntilEOPStrengthBonusEffect; +import com.gempukku.lotro.cards.effects.discount.RemoveCardsFromDiscardDiscountEffect; +import com.gempukku.lotro.common.CardType; +import com.gempukku.lotro.common.Culture; +import com.gempukku.lotro.common.Phase; +import com.gempukku.lotro.common.Side; +import com.gempukku.lotro.filters.Filters; +import com.gempukku.lotro.game.PhysicalCard; +import com.gempukku.lotro.game.state.LotroGame; + +/** + * Set: Bloodlines + * Side: Shadow + * Culture: Men + * Twilight Cost: 2 + * Type: Event • Skirmish + * Game Text: You may remove from the game 4 [MEN] cards in your discard pile instead of paying the twilight cost for + * this card. Make your [MEN] minion strength +2. + */ +public class Card13_091 extends AbstractEvent { + public Card13_091() { + super(Side.SHADOW, 2, Culture.MEN, "Fires Brightly Burning", Phase.SKIRMISH); + } + + @Override + public boolean checkPlayRequirements(String playerId, LotroGame game, PhysicalCard self, int withTwilightRemoved, int twilightModifier, boolean ignoreRoamingPenalty, boolean ignoreCheckingDeadPile) { + if (PlayConditions.canRemoveFromDiscard(self, game, playerId, 4, Culture.MEN)) + twilightModifier -= 1000; + return super.checkPlayRequirements(playerId, game, self, withTwilightRemoved, twilightModifier, ignoreRoamingPenalty, ignoreCheckingDeadPile) + && PlayConditions.canSpot(game, Filters.gollum); + } + + @Override + public PlayEventAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, int twilightModifier, boolean ignoreRoamingPenalty) { + PlayEventAction action = new PlayEventAction(self); + action.setDiscountEffect( + new RemoveCardsFromDiscardDiscountEffect(self, playerId, 4, Culture.MEN)); + action.appendEffect( + new ChooseAndAddUntilEOPStrengthBonusEffect(action, self, playerId, 2, Filters.owner(playerId), Culture.MEN, CardType.MINION)); + return action; + } +}