"White Hand Guard"

This commit is contained in:
marcins78@gmail.com
2012-02-23 16:23:34 +00:00
parent e2bf1b1324
commit 6fc13aa9f2

View File

@@ -0,0 +1,49 @@
package com.gempukku.lotro.cards.set17.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.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: Rise of Saruman
* Side: Shadow
* Culture: Uruk-hai
* Twilight Cost: 4
* Type: Minion • Uruk-Hai
* Strength: 9
* Vitality: 3
* Site: 5
* Game Text: Fierce. Hunter 1. (While skirmishing a non-hunter character, this character is strength +1.).
* Skirmish: Exert this minion to make an [URUK-HAI] hunter minion strength +2.
*/
public class Card17_126 extends AbstractMinion {
public Card17_126() {
super(4, 9, 3, 5, Race.URUK_HAI, Culture.URUK_HAI, "White Hand Guard");
addKeyword(Keyword.FIERCE);
addKeyword(Keyword.HUNTER, 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, Culture.URUK_HAI, CardType.MINION, Keyword.HUNTER));
return Collections.singletonList(action);
}
return null;
}
}