Easterling Plotter

This commit is contained in:
marcins78
2013-11-20 16:28:02 +00:00
parent 1dcdd42148
commit eb0fcf92af
3 changed files with 71 additions and 2 deletions

View File

@@ -467,5 +467,6 @@ var set20 = {
'20_477': 'http://lotrtcg.org/coreset/shire/dimpleboffinbots(r1).jpg',
'20_478': 'http://lotrtcg.org/coreset/isengard/torturedandmutilated(r2).jpg',
'20_479': 'http://lotrtcg.org/coreset/shire/crossingthethreshold(r2).jpg',
'20_480': 'http://lotrtcg.org/coreset/fallenrealms/easterlinggrunt(r3).jpg'
'20_480': 'http://lotrtcg.org/coreset/fallenrealms/easterlinggrunt(r3).jpg',
'20_481': 'http://lotrtcg.org/coreset/fallenrealms/easterlingplotter(r3).jpg'
}

View File

@@ -0,0 +1,66 @@
package com.gempukku.lotro.cards.set20.fallenRealms;
import com.gempukku.lotro.cards.AbstractMinion;
import com.gempukku.lotro.cards.PlayConditions;
import com.gempukku.lotro.cards.TriggerConditions;
import com.gempukku.lotro.cards.effects.PreventableEffect;
import com.gempukku.lotro.common.CardType;
import com.gempukku.lotro.common.Culture;
import com.gempukku.lotro.common.Keyword;
import com.gempukku.lotro.common.Race;
import com.gempukku.lotro.filters.Filters;
import com.gempukku.lotro.game.PhysicalCard;
import com.gempukku.lotro.game.state.LotroGame;
import com.gempukku.lotro.logic.GameUtils;
import com.gempukku.lotro.logic.actions.OptionalTriggerAction;
import com.gempukku.lotro.logic.actions.SubAction;
import com.gempukku.lotro.logic.effects.AddThreatsEffect;
import com.gempukku.lotro.logic.effects.ChooseAndWoundCharactersEffect;
import com.gempukku.lotro.logic.timing.Effect;
import com.gempukku.lotro.logic.timing.EffectResult;
import com.gempukku.lotro.logic.timing.results.PlayCardResult;
import java.util.Collections;
import java.util.List;
/**
* ❸ Easterling Plotter [Fal]
* Minion • Man
* Strength: 6 Vitality: 1 Roaming: 4
* Easterling. Toil 1. (When you play this card, you may reduce its twilight cost by 1. You do this by exerting one of your characters of the same culture as this card.)
* When you play this minion using toil, you may spot another Easterling to wound a companion. The Free Peoples player may add a threat to prevent this.
* Skirmish: Remove a threat to make this minion strength +2.
* <p/>
* http://lotrtcg.org/coreset/fallenrealms/easterlingplotter(r3).jpg
*/
public class Card20_481 extends AbstractMinion {
public Card20_481() {
super(3, 6, 1, 4, Race.MAN, Culture.FALLEN_REALMS, "Easterling Plotter");
addKeyword(Keyword.EASTERLING);
addKeyword(Keyword.TOIL, 1);
}
@Override
public List<OptionalTriggerAction> getOptionalAfterTriggers(String playerId, LotroGame game, EffectResult effectResult, final PhysicalCard self) {
if (TriggerConditions.played(game, effectResult, self) && ((PlayCardResult) effectResult).isPaidToil()
&& PlayConditions.canSpot(game, Filters.not(self), Keyword.EASTERLING)) {
OptionalTriggerAction action = new OptionalTriggerAction(self);
action.appendEffect(
new PreventableEffect(
action, new ChooseAndWoundCharactersEffect(action, playerId, 1, 1, CardType.COMPANION) {
@Override
public String getText(LotroGame game) {
return "Wound a companion";
}
}, GameUtils.getOpponents(game, playerId),
new PreventableEffect.PreventionCost() {
@Override
public Effect createPreventionCostForPlayer(SubAction subAction, String playerId) {
return new AddThreatsEffect(playerId, self, 1);
}
}));
return Collections.singletonList(action);
}
return null;
}
}

View File

@@ -465,4 +465,6 @@
20S475
20S477
20S478
20S479
20S479
20S480
20S481