"Column of Easterlings"

This commit is contained in:
marcins78@gmail.com
2011-12-04 23:12:42 +00:00
parent ad3c7397d9
commit 46fc23f5dc

View File

@@ -0,0 +1,47 @@
package com.gempukku.lotro.cards.set11.men;
import com.gempukku.lotro.cards.AbstractMinion;
import com.gempukku.lotro.cards.PlayConditions;
import com.gempukku.lotro.cards.effects.SelfDiscardEffect;
import com.gempukku.lotro.cards.effects.choose.ChooseAndAddUntilEOPStrengthBonusEffect;
import com.gempukku.lotro.common.*;
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.timing.Action;
import java.util.Collections;
import java.util.List;
/**
* Set: Shadows
* Side: Shadow
* Culture: Men
* Twilight Cost: 3
* Type: Minion • Man
* Strength: 8
* Vitality: 2
* Site: 4
* Game Text: Lurker. (Skirmishes involving lurker minions must be resolved after any others.) Skirmish: Discard this
* minion to make a [MEN] minion strength +4.
*/
public class Card11_072 extends AbstractMinion {
public Card11_072() {
super(3, 8, 2, 4, Race.MAN, Culture.MEN, "Column of Easterlings");
addKeyword(Keyword.LURKER);
}
@Override
protected List<? extends Action> getExtraPhaseActions(String playerId, LotroGame game, PhysicalCard self) {
if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.SKIRMISH, self, 0)
&& PlayConditions.canSelfDiscard(self, game)) {
ActivateCardAction action = new ActivateCardAction(self);
action.appendCost(
new SelfDiscardEffect(self));
action.appendEffect(
new ChooseAndAddUntilEOPStrengthBonusEffect(action, self, playerId, 4, Culture.MEN, CardType.MINION));
return Collections.singletonList(action);
}
return null;
}
}