This commit is contained in:
marcins78@gmail.com
2011-12-19 11:11:03 +00:00
parent 853adc2e32
commit 9cc7db7dcb

View File

@@ -0,0 +1,46 @@
package com.gempukku.lotro.cards.set0.elven;
import com.gempukku.lotro.cards.AbstractCompanion;
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 java.util.Collections;
import java.util.List;
/**
* Set: Promotional
* Side: Free
* Culture: Elven
* Twilight Cost: 2
* Type: Companion • Elf
* Strength: 6
* Vitality: 3
* Resistance: 6
* Game Text: Ranger. Skirmish: Exert Arwen to make a minion skirmishing an Elf strength -2.
*/
public class Card0_063 extends AbstractCompanion {
public Card0_063() {
super(2, 6, 3, 6, Culture.ELVEN, Race.ELF, null, "Arwen", true);
addKeyword(Keyword.RANGER);
}
@Override
protected List<ActivateCardAction> getExtraInPlayPhaseActions(String playerId, LotroGame game, PhysicalCard self) {
if (PlayConditions.canUseFPCardDuringPhase(game, Phase.SKIRMISH, self)
&& PlayConditions.canSelfExert(self, game)) {
ActivateCardAction action = new ActivateCardAction(self);
action.appendCost(
new SelfExertEffect(self));
action.appendEffect(
new ChooseAndAddUntilEOPStrengthBonusEffect(action, self, playerId, -2, CardType.MINION, Filters.inSkirmishAgainst(Race.ELF)));
return Collections.singletonList(action);
}
return null;
}
}