"Ulaire Attea"

This commit is contained in:
marcins78@gmail.com
2011-11-14 17:12:50 +00:00
parent 6d01cc205d
commit 867920197b

View File

@@ -0,0 +1,47 @@
package com.gempukku.lotro.cards.set8.wraith;
import com.gempukku.lotro.cards.AbstractMinion;
import com.gempukku.lotro.cards.PlayConditions;
import com.gempukku.lotro.cards.effects.ExertCharactersEffect;
import com.gempukku.lotro.cards.effects.choose.ChooseAndReturnCardsToHandEffect;
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: Siege of Gondor
* Side: Shadow
* Culture: Wraith
* Twilight Cost: 6
* Type: Minion • Nazgul
* Strength: 12
* Vitality: 3
* Site: 3
* Game Text: Enduring. Regroup: Exert Ulaire Attea and spot your [WRAITH] minion to return that minion to your hand.
*/
public class Card8_079 extends AbstractMinion {
public Card8_079() {
super(6, 12, 3, 3, Race.NAZGUL, Culture.WRAITH, "Ulaire Attea", true);
addKeyword(Keyword.ENDURING);
}
@Override
protected List<? extends Action> getExtraPhaseActions(String playerId, LotroGame game, PhysicalCard self) {
if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.REGROUP, self, 0)
&& PlayConditions.canSelfExert(self, game)) {
ActivateCardAction action = new ActivateCardAction(self);
action.appendCost(
new ExertCharactersEffect(self, self));
action.appendEffect(
new ChooseAndReturnCardsToHandEffect(action, playerId, 1, 1, Filters.owner(playerId), Culture.WRAITH, CardType.MINION));
return Collections.singletonList(action);
}
return null;
}
}