"Dark Powers Strengthen"

This commit is contained in:
marcins78@gmail.com
2011-12-06 15:48:09 +00:00
parent 9c39b71e80
commit a222fb6bac

View File

@@ -0,0 +1,41 @@
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.common.Culture;
import com.gempukku.lotro.common.Phase;
import com.gempukku.lotro.common.Race;
import com.gempukku.lotro.common.Side;
import com.gempukku.lotro.game.PhysicalCard;
import com.gempukku.lotro.game.state.LotroGame;
import com.gempukku.lotro.logic.effects.DrawCardsEffect;
/**
* Set: Shadows
* Side: Shadow
* Culture: Wraith
* Twilight Cost: 6
* Type: Event • Shadow
* Game Text: Toil 2. (For each [WRAITH] character you exert when playing this, its twilight cost is -2.) Spot a Nazgul
* to draw 3 cards.
*/
public class Card11_207 extends AbstractEvent {
public Card11_207() {
super(Side.SHADOW, 6, Culture.WRAITH, "Dark Powers Strengthen", Phase.SHADOW);
}
@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 DrawCardsEffect(playerId, 3));
return action;
}
}