"Uruk Tactician"

This commit is contained in:
marcins78@gmail.com
2012-01-13 12:19:25 +00:00
parent e73db5e381
commit 2efeff546a

View File

@@ -0,0 +1,50 @@
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.SelfExertEffect;
import com.gempukku.lotro.cards.effects.choose.ChooseAndAddUntilEOPStrengthBonusEffect;
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.timing.Action;
import java.util.Collections;
import java.util.List;
/**
* Set: Bloodlines
* Side: Shadow
* Culture: Uruk-hai
* Twilight Cost: 4
* Type: Minion • Uruk-Hai
* Strength: 7
* Vitality: 3
* Site: 5
* Game Text: Damage +1. Skirmish: Exert this minion to make a companion skirmishing an [URUK-HAI] lurker minion
* strength -2.
*/
public class Card13_175 extends AbstractMinion {
public Card13_175() {
super(4, 7, 3, 5, Race.URUK_HAI, Culture.URUK_HAI, "Uruk Tactician");
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, game)) {
ActivateCardAction action = new ActivateCardAction(self);
action.appendCost(
new SelfExertEffect(self));
action.appendEffect(
new ChooseAndAddUntilEOPStrengthBonusEffect(action, self, playerId, -2,
CardType.COMPANION,
Filters.inSkirmishAgainst(Culture.URUK_HAI, CardType.MINION, Keyword.LURKER)));
return Collections.singletonList(action);
}
return null;
}
}