"It Wants to be Found"

This commit is contained in:
marcins78
2013-02-05 11:22:48 +00:00
parent 17e9d30eec
commit 4142f10bdd

View File

@@ -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;
}
}