"Orkish Lackey"

This commit is contained in:
marcins78@gmail.com
2012-02-16 03:48:39 +00:00
parent 5c2d62db7c
commit 91b54fbca0

View File

@@ -0,0 +1,50 @@
package com.gempukku.lotro.cards.set17.orc;
import com.gempukku.lotro.cards.AbstractMinion;
import com.gempukku.lotro.cards.PlayConditions;
import com.gempukku.lotro.cards.effects.SelfDiscardEffect;
import com.gempukku.lotro.common.CardType;
import com.gempukku.lotro.common.Culture;
import com.gempukku.lotro.common.Phase;
import com.gempukku.lotro.common.Race;
import com.gempukku.lotro.filters.Filters;
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.ChooseAndWoundCharactersEffect;
import com.gempukku.lotro.logic.timing.Action;
import java.util.Collections;
import java.util.List;
/**
* Set: Rise of Saruman
* Side: Shadow
* Culture: Orc
* Twilight Cost: 1
* Type: Minion • Orc
* Strength: 4
* Vitality: 2
* Site: 4
* Game Text: Maneuver: Spot 2 [ORC] conditions and discard this minion from play to wound an unbound companion.
*/
public class Card17_080 extends AbstractMinion {
public Card17_080() {
super(1, 4, 2, 4, Race.ORC, Culture.ORC, "Orkish Lackey");
}
@Override
protected List<? extends Action> getExtraPhaseActions(String playerId, LotroGame game, PhysicalCard self) {
if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.MANEUVER, self, 0)
&& PlayConditions.canSpot(game, 2, Culture.ORC, CardType.CONDITION)
&& PlayConditions.canSelfDiscard(self, game)) {
ActivateCardAction action = new ActivateCardAction(self);
action.appendCost(
new SelfDiscardEffect(self));
action.appendEffect(
new ChooseAndWoundCharactersEffect(action, playerId, 1, 1, Filters.unboundCompanion));
return Collections.singletonList(action);
}
return null;
}
}