"Orc Destroyer"

This commit is contained in:
marcins78@gmail.com
2011-11-10 00:49:18 +00:00
parent fd30a440f0
commit e0e1ba4d0c

View File

@@ -0,0 +1,47 @@
package com.gempukku.lotro.cards.set7.sauron;
import com.gempukku.lotro.cards.AbstractMinion;
import com.gempukku.lotro.cards.PlayConditions;
import com.gempukku.lotro.cards.effects.RemoveTwilightEffect;
import com.gempukku.lotro.common.Culture;
import com.gempukku.lotro.common.Phase;
import com.gempukku.lotro.common.Race;
import com.gempukku.lotro.game.PhysicalCard;
import com.gempukku.lotro.game.state.LotroGame;
import com.gempukku.lotro.logic.actions.ActivateCardAction;
import com.gempukku.lotro.logic.effects.DrawCardEffect;
import com.gempukku.lotro.logic.timing.Action;
import java.util.Collections;
import java.util.List;
/**
* Set: The Return of the King
* Side: Shadow
* Culture: Sauron
* Twilight Cost: 3
* Type: Minion • Orc
* Strength: 9
* Vitality: 3
* Site: 6
* Game Text: Shadow: Remove (3) and spot 3 [SAURON] Orcs to draw a card.
*/
public class Card7_299 extends AbstractMinion {
public Card7_299() {
super(3, 9, 3, 6, Race.ORC, Culture.SAURON, "Orc Destroyer");
}
@Override
protected List<? extends Action> getExtraPhaseActions(String playerId, LotroGame game, PhysicalCard self) {
if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.SHADOW, self, 3)
&& PlayConditions.canSpot(game, 3, Culture.SAURON, Race.ORC)) {
ActivateCardAction action = new ActivateCardAction(self);
action.appendCost(
new RemoveTwilightEffect(3));
action.appendEffect(
new DrawCardEffect(playerId, 1));
return Collections.singletonList(action);
}
return null;
}
}