"Uruk Rogue"

This commit is contained in:
marcins78@gmail.com
2012-01-13 12:15:18 +00:00
parent f3e33ae608
commit e73db5e381

View File

@@ -0,0 +1,57 @@
package com.gempukku.lotro.cards.set13.uruk_hai;
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.KeywordModifier;
import com.gempukku.lotro.logic.modifiers.StrengthModifier;
import com.gempukku.lotro.logic.timing.Action;
import java.util.Collections;
import java.util.List;
/**
* Set: Bloodlines
* Side: Shadow
* Culture: Uruk-hai
* Twilight Cost: 5
* Type: Minion • Uruk-Hai
* Strength: 12
* Vitality: 3
* Site: 5
* Game Text: Damage +1. Skirmish: If no other minions are assigned to a skirmish, you may exert this minion twice
* to make it fierce and strength +4 until the regroup phase.
*/
public class Card13_174 extends AbstractMinion {
public Card13_174() {
super(5, 12, 3, 5, Race.URUK_HAI, Culture.URUK_HAI, "Uruk Rogue");
addKeyword(Keyword.DAMAGE, 1);
}
@Override
protected List<? extends Action> getExtraPhaseActions(String playerId, LotroGame game, PhysicalCard self) {
if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.SKIRMISH, self, 0)
&& PlayConditions.canSelfExert(self, 2, game)
&& !PlayConditions.canSpot(game, Filters.not(self), CardType.MINION, Filters.assignedToSkirmish)) {
ActivateCardAction action = new ActivateCardAction(self);
action.appendCost(
new SelfExertEffect(self));
action.appendCost(
new SelfExertEffect(self));
action.appendEffect(
new AddUntilStartOfPhaseModifierEffect(
new StrengthModifier(self, self, 4), Phase.REGROUP));
action.appendEffect(
new AddUntilStartOfPhaseModifierEffect(
new KeywordModifier(self, self, Keyword.FIERCE), Phase.REGROUP));
return Collections.singletonList(action);
}
return null;
}
}