"Pledge of Loyalty"

This commit is contained in:
marcins78@gmail.com
2011-12-04 22:51:59 +00:00
parent d6f343ddb6
commit 6d7f61e918

View File

@@ -0,0 +1,35 @@
package com.gempukku.lotro.cards.set11.gondor;
import com.gempukku.lotro.cards.AbstractEvent;
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.CardType;
import com.gempukku.lotro.common.Culture;
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;
/**
* Set: Shadows
* Side: Free
* Culture: Gondor
* Twilight Cost: 0
* Type: Event • Skirmish
* Game Text: Make a [GONDOR] companion strength +2 (or +3 if he or she has resistance 4 or more).
*/
public class Card11_064 extends AbstractEvent {
public Card11_064() {
super(Side.FREE_PEOPLE, 0, Culture.GONDOR, "Pledge of Loyalty", Phase.SKIRMISH);
}
@Override
public PlayEventAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, int twilightModifier, boolean ignoreRoamingPenalty) {
PlayEventAction action = new PlayEventAction(self);
action.appendEffect(
new ChooseAndAddUntilEOPStrengthBonusEffect(action, self, playerId, new CardMatchesEvaluator(2, 3, Filters.minResistance(4)), Culture.GONDOR, CardType.COMPANION));
return action;
}
}