"Easterling Host"

This commit is contained in:
marcins78@gmail.com
2011-12-04 23:19:48 +00:00
parent 64532f435f
commit ae05d67828

View File

@@ -0,0 +1,54 @@
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.AddUntilStartOfPhaseModifierEffect;
import com.gempukku.lotro.cards.effects.SelfExertEffect;
import com.gempukku.lotro.common.*;
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.modifiers.StrengthModifier;
import com.gempukku.lotro.logic.timing.Action;
import java.util.Collections;
import java.util.List;
/**
* Set: Shadows
* Side: Shadow
* Culture: Men
* Twilight Cost: 5
* Type: Minion • Man
* Strength: 13
* Vitality: 3
* Site: 4
* Game Text: Lurker. (Skirmishes involving lurker minions must be resolved after any others.) Skirmish: Exert
* Easterling Host and make it strength -2 until the regroup phase to make each other [MEN] minion strength +1 until
* the regroup phase.
*/
public class Card11_089 extends AbstractMinion {
public Card11_089() {
super(5, 13, 3, 4, Race.MAN, Culture.MEN, "Easterling Host", true);
addKeyword(Keyword.LURKER);
}
@Override
protected List<? extends Action> getExtraPhaseActions(String playerId, LotroGame game, PhysicalCard self) {
if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.SKIRMISH, self, 0)
&& PlayConditions.canSelfExert(self, game)) {
ActivateCardAction action = new ActivateCardAction(self);
action.appendCost(
new SelfExertEffect(self));
action.appendCost(
new AddUntilStartOfPhaseModifierEffect(
new StrengthModifier(self, self, -2), Phase.REGROUP));
action.appendEffect(
new AddUntilStartOfPhaseModifierEffect(
new StrengthModifier(self, Filters.and(Filters.not(self), Culture.MEN, CardType.MINION), 1), Phase.REGROUP));
return Collections.singletonList(action);
}
return null;
}
}