"Wraith-world"

This commit is contained in:
marcins78@gmail.com
2011-09-30 00:16:52 +00:00
parent 8581d66b0f
commit 91741b71fa

View File

@@ -0,0 +1,47 @@
package com.gempukku.lotro.cards.set2.wraith;
import com.gempukku.lotro.cards.AbstractEvent;
import com.gempukku.lotro.cards.actions.PlayEventAction;
import com.gempukku.lotro.cards.effects.AddBurdenEffect;
import com.gempukku.lotro.common.*;
import com.gempukku.lotro.filters.Filters;
import com.gempukku.lotro.game.PhysicalCard;
import com.gempukku.lotro.game.state.LotroGame;
/**
* Set: Mines of Moria
* Side: Shadow
* Culture: Wraith
* Twilight Cost: 1
* Type: Event
* Game Text: Skirmish: Spot a twilight Nazgul and the Ring-bearer wearing The One Ring to add 3 burdens.
*/
public class Card2_086 extends AbstractEvent {
public Card2_086() {
super(Side.SHADOW, Culture.WRAITH, "Wraith-world", Phase.SKIRMISH);
}
@Override
public boolean checkPlayRequirements(String playerId, LotroGame game, PhysicalCard self, int twilightModifier) {
return super.checkPlayRequirements(playerId, game, self, twilightModifier)
&& Filters.canSpot(game.getGameState(), game.getModifiersQuerying(), Filters.race(Race.NAZGUL), Filters.keyword(Keyword.TWILIGHT))
&& game.getGameState().isWearingRing();
}
@Override
public int getTwilightCost() {
return 1;
}
@Override
public PlayEventAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, int twilightModifier) {
PlayEventAction action = new PlayEventAction(self);
action.appendEffect(
new AddBurdenEffect(playerId));
action.appendEffect(
new AddBurdenEffect(playerId));
action.appendEffect(
new AddBurdenEffect(playerId));
return action;
}
}