From 4142f10bddec11620485571db5b36ed5f3eeaacf Mon Sep 17 00:00:00 2001 From: marcins78 Date: Tue, 5 Feb 2013 11:22:48 +0000 Subject: [PATCH] "It Wants to be Found" --- .../lotro/cards/set20/wraith/Card20_293.java | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/wraith/Card20_293.java diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/wraith/Card20_293.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/wraith/Card20_293.java new file mode 100644 index 000000000..733802bcf --- /dev/null +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/wraith/Card20_293.java @@ -0,0 +1,35 @@ +package com.gempukku.lotro.cards.set20.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; + +/** + * 2 + * It Wants to be Found + * Ringwraith Event • Maneuver + * Spot a twilight Nazgul to add a burden. + */ +public class Card20_293 extends AbstractEvent { + public Card20_293() { + super(Side.SHADOW, 2, Culture.WRAITH, "It Wants to be Found", Phase.MANEUVER); + } + + @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, Keyword.TWILIGHT); + } + + @Override + public PlayEventAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, int twilightModifier, boolean ignoreRoamingPenalty) { + PlayEventAction action = new PlayEventAction(self); + action.appendEffect( + new AddBurdenEffect(playerId, self, 1)); + return action; + } +}