From d2afb09f1226f84b1c440ddab535e730cccdb7d2 Mon Sep 17 00:00:00 2001 From: "marcins78@gmail.com" Date: Tue, 6 Dec 2011 16:03:49 +0000 Subject: [PATCH] "Keening Wail" --- .../lotro/cards/set11/wraith/Card11_211.java | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set11/wraith/Card11_211.java diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set11/wraith/Card11_211.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set11/wraith/Card11_211.java new file mode 100644 index 000000000..5d191f6ef --- /dev/null +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set11/wraith/Card11_211.java @@ -0,0 +1,38 @@ +package com.gempukku.lotro.cards.set11.wraith; + +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.AddBurdenEffect; +import com.gempukku.lotro.common.*; +import com.gempukku.lotro.game.PhysicalCard; +import com.gempukku.lotro.game.state.LotroGame; + +/** + * Set: Shadows + * Side: Shadow + * Culture: Wraith + * Twilight Cost: 7 + * Type: Event • Maneuver + * Game Text: Toil 2. (For each [WRAITH] character you exert when playing this, its twilight cost is -2.) Spot a Nazgul to add a burden. + */ +public class Card11_211 extends AbstractEvent { + public Card11_211() { + super(Side.SHADOW, 7, Culture.WRAITH, "Keening Wail", Phase.MANEUVER); + addKeyword(Keyword.TOIL, 2); + } + + @Override + public boolean checkPlayRequirements(String playerId, LotroGame game, PhysicalCard self, int withTwilightRemoved, int twilightModifier, boolean ignoreRoamingPenalty, boolean ignoreCheckingDeadPile) { + return super.checkPlayRequirements(playerId, game, self, withTwilightRemoved, twilightModifier, ignoreRoamingPenalty, ignoreCheckingDeadPile) + && PlayConditions.canSpot(game, Race.NAZGUL); + } + + @Override + public PlayEventAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, int twilightModifier, boolean ignoreRoamingPenalty) { + PlayEventAction action = new PlayEventAction(self); + action.appendEffect( + new AddBurdenEffect(self, 1)); + return action; + } +}