"Hamstrung"

This commit is contained in:
marcins78@gmail.com
2012-01-11 15:27:01 +00:00
parent 9469ee889d
commit 06c0e89863

View File

@@ -0,0 +1,34 @@
package com.gempukku.lotro.cards.set13.rohan;
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.common.CardType;
import com.gempukku.lotro.common.Culture;
import com.gempukku.lotro.common.Phase;
import com.gempukku.lotro.common.Side;
import com.gempukku.lotro.game.PhysicalCard;
import com.gempukku.lotro.game.state.LotroGame;
/**
* Set: Bloodlines
* Side: Free
* Culture: Rohan
* Twilight Cost: 1
* Type: Event • Skirmish
* Game Text: Make a [ROHAN] companion strength +2 (or +5 if the fellowship has moved twice this turn).
*/
public class Card13_129 extends AbstractEvent {
public Card13_129() {
super(Side.FREE_PEOPLE, 1, Culture.ROHAN, "Hamstrung", Phase.SKIRMISH);
}
@Override
public PlayEventAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, int twilightModifier, boolean ignoreRoamingPenalty) {
PlayEventAction action = new PlayEventAction(self);
int bonus = (game.getGameState().getMoveCount() > 1) ? 5 : 2;
action.appendEffect(
new ChooseAndAddUntilEOPStrengthBonusEffect(action, self, playerId, bonus, Culture.ROHAN, CardType.COMPANION));
return action;
}
}