This commit is contained in:
marcins78
2013-03-25 10:50:35 +00:00
parent ffcd22f6a1
commit a850e77989
2 changed files with 9 additions and 6 deletions

View File

@@ -196,7 +196,7 @@ var set20 = {
'20_199': 'http://lotrtcg.org/coreset/gondor/lyinginwait.jpg',
'20_200': 'http://lotrtcg.org/coreset/gondor/nativecover.jpg',
'20_201': 'http://lotrtcg.org/coreset/gondor/naturaladvantages.jpg',
'20_202': 'http://lotrtcg.org/coreset/gondor/rangersadaptability.jpg',
'20_202': 'http://www.lotrtcg.org/coreset/gondor/rangersadaptability(r2).jpg',
'20_203': 'http://lotrtcg.org/coreset/gondor/rangersbow.jpg',
'20_204': 'http://lotrtcg.org/coreset/gondor/rangerssword.jpg',
'20_205': 'http://lotrtcg.org/coreset/gondor/rangersofthenorth.jpg',

View File

@@ -3,7 +3,7 @@ package com.gempukku.lotro.cards.set20.gondor;
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.ChooseAndExhaustCharactersEffect;
import com.gempukku.lotro.cards.effects.choose.ChooseAndExertCharactersEffect;
import com.gempukku.lotro.cards.modifiers.conditions.LocationCondition;
import com.gempukku.lotro.common.*;
import com.gempukku.lotro.filters.Filters;
@@ -13,8 +13,9 @@ import com.gempukku.lotro.game.state.LotroGame;
/**
* 1
* A Ranger's Adaptability
* Gondor Event • Maneuver
* Spot a [Gondor] ranger to exhaust a roaming minion (or any minion if at a site from your adventure deck).
* Event • Maneuver
* Exert a [Gondor] ranger to exert a roaming minion twice (or exert any minion twice if at a site from your adventure deck).
* http://www.lotrtcg.org/coreset/gondor/rangersadaptability(r2).jpg
*/
public class Card20_202 extends AbstractEvent {
public Card20_202() {
@@ -24,14 +25,16 @@ public class Card20_202 extends AbstractEvent {
@Override
public boolean checkPlayRequirements(String playerId, LotroGame game, PhysicalCard self, int withTwilightRemoved, int twilightModifier, boolean ignoreRoamingPenalty, boolean ignoreCheckingDeadPile) {
return super.checkPlayRequirements(playerId, game, self, withTwilightRemoved, twilightModifier, ignoreRoamingPenalty, ignoreCheckingDeadPile)
&& PlayConditions.canSpot(game, Culture.GONDOR, Keyword.RANGER);
&& PlayConditions.canExert(self, game, Culture.GONDOR, Keyword.RANGER);
}
@Override
public PlayEventAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, int twilightModifier, boolean ignoreRoamingPenalty) {
PlayEventAction action = new PlayEventAction(self);
action.appendCost(
new ChooseAndExertCharactersEffect(action, playerId, 1, 1, Culture.GONDOR, Keyword.RANGER));
action.appendEffect(
new ChooseAndExhaustCharactersEffect(action, playerId, 1, 1,
new ChooseAndExertCharactersEffect(action, playerId, 1, 1, 2,
CardType.MINION, Filters.conditionFilter(Keyword.ROAMING, new LocationCondition(Filters.owner(playerId)), Filters.any)));
return action;
}