"Fierce in Despair"

This commit is contained in:
marcins78@gmail.com
2011-11-03 11:49:46 +00:00
parent 1d711c1a71
commit f6c6fb3c76

View File

@@ -0,0 +1,38 @@
package com.gempukku.lotro.cards.set7.raider;
import com.gempukku.lotro.cards.AbstractEvent;
import com.gempukku.lotro.cards.PlayConditions;
import com.gempukku.lotro.cards.actions.PlayEventAction;
import com.gempukku.lotro.cards.effects.choose.ChooseAndDiscardCardsFromPlayEffect;
import com.gempukku.lotro.common.*;
import com.gempukku.lotro.filters.Filters;
import com.gempukku.lotro.game.PhysicalCard;
import com.gempukku.lotro.game.state.LotroGame;
/**
* Set: The Return of the King
* Side: Shadow
* Culture: Raider
* Twilight Cost: 7
* Type: Event • Regroup
* Game Text: Spot 2 [RAIDER] Men to discard a companion (except the Ring-bearer).
*/
public class Card7_148 extends AbstractEvent {
public Card7_148() {
super(Side.SHADOW, 7, Culture.RAIDER, "Fierce in Despair", Phase.REGROUP);
}
@Override
public boolean checkPlayRequirements(String playerId, LotroGame game, PhysicalCard self, int twilightModifier) {
return super.checkPlayRequirements(playerId, game, self, twilightModifier)
&& PlayConditions.canSpot(game, 2, Culture.RAIDER, Race.MAN);
}
@Override
public PlayEventAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, int twilightModifier) {
PlayEventAction action = new PlayEventAction(self);
action.appendEffect(
new ChooseAndDiscardCardsFromPlayEffect(action, playerId, 1, 1, CardType.COMPANION, Filters.not(Keyword.RING_BEARER)));
return action;
}
}