"Orc Stretegist"

This commit is contained in:
marcins78@gmail.com
2011-12-12 13:44:03 +00:00
parent a5780031f8
commit ed399e9d8d

View File

@@ -0,0 +1,52 @@
package com.gempukku.lotro.cards.set12.orc;
import com.gempukku.lotro.cards.AbstractMinion;
import com.gempukku.lotro.cards.PlayConditions;
import com.gempukku.lotro.cards.effects.AddUntilStartOfPhaseModifierEffect;
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.effects.ChooseActiveCardEffect;
import com.gempukku.lotro.logic.modifiers.RemoveKeywordModifier;
import com.gempukku.lotro.logic.timing.Action;
import java.util.Collections;
import java.util.List;
/**
* Set: Black Rider
* Side: Shadow
* Culture: Orc
* Twilight Cost: 4
* Type: Minion • Orc
* Strength: 11
* Vitality: 3
* Site: 4
* Game Text: Lurker. (Skirmishes involving lurker minions must be resolved after any others.) Maneuver: Make an [ORC]
* lurker minion lose lurker until the regroup phase.
*/
public class Card12_097 extends AbstractMinion {
public Card12_097() {
super(4, 11, 3, 4, Race.ORC, Culture.ORC, "Orc Stretegist");
addKeyword(Keyword.LURKER);
}
@Override
protected List<? extends Action> getExtraPhaseActions(String playerId, LotroGame game, final PhysicalCard self) {
if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.MANEUVER, self, 0)) {
final ActivateCardAction action = new ActivateCardAction(self);
action.appendEffect(
new ChooseActiveCardEffect(self, playerId, "Choose an ORC lurker minion", Culture.ORC, Keyword.LURKER, CardType.MINION) {
@Override
protected void cardSelected(LotroGame game, PhysicalCard card) {
action.appendEffect(
new AddUntilStartOfPhaseModifierEffect(
new RemoveKeywordModifier(self, card, Keyword.LURKER), Phase.REGROUP));
}
});
return Collections.singletonList(action);
}
return null;
}
}