"Swordsman of the Northern Kingdom"

This commit is contained in:
marcins78
2013-02-21 12:18:59 +00:00
parent 3661a100c8
commit ff2e923fe6

View File

@@ -0,0 +1,41 @@
package com.gempukku.lotro.cards.set20.gondor;
import com.gempukku.lotro.cards.AbstractOldEvent;
import com.gempukku.lotro.cards.actions.PlayEventAction;
import com.gempukku.lotro.cards.effects.choose.ChooseAndAddUntilEOPStrengthBonusEffect;
import com.gempukku.lotro.cards.modifiers.evaluator.CardMatchesEvaluator;
import com.gempukku.lotro.common.Culture;
import com.gempukku.lotro.common.Keyword;
import com.gempukku.lotro.common.Phase;
import com.gempukku.lotro.common.Side;
import com.gempukku.lotro.filters.Filters;
import com.gempukku.lotro.game.PhysicalCard;
import com.gempukku.lotro.game.state.LotroGame;
/**
* 0
* Swordsman of the Northern Kingdom
* Gondor Event • Skirmish
* Make a ranger strength +2 (or +4 if skirmishing a roaming minion).
*/
public class Card20_472 extends AbstractOldEvent {
public Card20_472() {
super(Side.FREE_PEOPLE, Culture.GONDOR, "Swordsman of the Northern Kingdom", Phase.SKIRMISH);
}
@Override
public PlayEventAction getPlayCardAction(String playerId, final LotroGame game, final PhysicalCard self, int twilightModifier, boolean ignoreRoamingPenalty) {
final PlayEventAction action = new PlayEventAction(self);
action.appendEffect(
new ChooseAndAddUntilEOPStrengthBonusEffect(action, self, playerId,
new CardMatchesEvaluator(2, 4, Filters.inSkirmishAgainst(Keyword.ROAMING)),
Keyword.RANGER));
return action;
}
@Override
public int getTwilightCost() {
return 0;
}
}