"An Able Guide"

This commit is contained in:
marcins78@gmail.com
2011-09-06 16:03:33 +00:00
parent 7cda6883d5
commit 14fd183b58

View File

@@ -0,0 +1,44 @@
package com.gempukku.lotro.cards.set1.gondor;
import com.gempukku.lotro.cards.AbstractEvent;
import com.gempukku.lotro.cards.actions.PlayEventAction;
import com.gempukku.lotro.cards.effects.RemoveTwilightEffect;
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;
/**
* Set: The Fellowship of the Ring
* Side: Free
* Culture: Gondor
* Twilight Cost: 0
* Type: Event
* Game Text: Regroup: Spot a ranger to remove (4).
*/
public class Card1_088 extends AbstractEvent {
public Card1_088() {
super(Side.FREE_PEOPLE, Culture.GONDOR, "An Able Guide", Phase.REGROUP);
}
@Override
public boolean checkPlayRequirements(String playerId, LotroGame game, PhysicalCard self, int twilightModifier) {
return Filters.canSpot(game.getGameState(), game.getModifiersQuerying(), Filters.keyword(Keyword.RANGER));
}
@Override
public PlayEventAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, int twilightModifier) {
PlayEventAction action = new PlayEventAction(self);
action.addEffect(
new RemoveTwilightEffect(4));
return action;
}
@Override
public int getTwilightCost() {
return 0;
}
}