"Gorgoroth Patrol"
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
package com.gempukku.lotro.cards.set8.sauron;
|
||||
|
||||
import com.gempukku.lotro.cards.AbstractMinion;
|
||||
import com.gempukku.lotro.cards.PlayConditions;
|
||||
import com.gempukku.lotro.cards.effects.AddUntilEndOfTurnModifierEffect;
|
||||
import com.gempukku.lotro.cards.effects.DiscardStackedCardsEffect;
|
||||
import com.gempukku.lotro.cards.modifiers.MoveLimitModifier;
|
||||
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: Siege of Gondor
|
||||
* Side: Shadow
|
||||
* Culture: Sauron
|
||||
* Twilight Cost: 4
|
||||
* Type: Minion • Orc
|
||||
* Strength: 10
|
||||
* Vitality: 2
|
||||
* Site: 5
|
||||
* Game Text: Besieger. Regroup: If this minion is stacked on a site you control, discard this minion to make the move
|
||||
* limit for this turn -1.
|
||||
*/
|
||||
public class Card8_099 extends AbstractMinion {
|
||||
public Card8_099() {
|
||||
super(4, 10, 2, 5, Race.ORC, Culture.SAURON, "Gorgoroth Patrol");
|
||||
addKeyword(Keyword.BESIEGER);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<? extends Action> getPhaseActionsFromStacked(String playerId, LotroGame game, PhysicalCard self) {
|
||||
if (PlayConditions.canUseStackedShadowCardDuringPhase(game.getGameState(), Phase.REGROUP, self, 0)
|
||||
&& self.getStackedOn().getBlueprint().getCardType() == CardType.SITE
|
||||
&& playerId.equals(self.getStackedOn().getCardController())) {
|
||||
ActivateCardAction action = new ActivateCardAction(self);
|
||||
action.appendCost(
|
||||
new DiscardStackedCardsEffect(self, self));
|
||||
action.appendEffect(
|
||||
new AddUntilEndOfTurnModifierEffect(
|
||||
new MoveLimitModifier(self, -1)));
|
||||
return Collections.singletonList(action);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user