"Called to Mordor"

This commit is contained in:
marcins78
2013-01-07 17:19:34 +00:00
parent 4aed45a7f1
commit dabfc21774

View File

@@ -0,0 +1,40 @@
package com.gempukku.lotro.cards.set20.fallenRealms;
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.Keyword;
import com.gempukku.lotro.common.Phase;
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;
/**
* 7
* Called to Mordor
* Fallen Realms Event • Shadow
* Toil 2.
* Spot an Easterling to draw 3 cards.
*/
public class Card20_108 extends AbstractEvent {
public Card20_108() {
super(Side.SHADOW, 7, Culture.FALLEN_REALMS, "Called to Mordor", Phase.SHADOW);
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, Keyword.EASTERLING);
}
@Override
public PlayEventAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, int twilightModifier, boolean ignoreRoamingPenalty) {
PlayEventAction action = new PlayEventAction(self);
action.appendEffect(
new DrawCardsEffect(action, playerId, 3));
return action;
}
}