diff --git a/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-019/set20.js b/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-019/set20.js index 0dd18793c..a3cf17892 100644 --- a/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-019/set20.js +++ b/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-019/set20.js @@ -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' } \ No newline at end of file diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/fallenRealms/Card20_481.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/fallenRealms/Card20_481.java new file mode 100644 index 000000000..5e225817b --- /dev/null +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set20/fallenRealms/Card20_481.java @@ -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. + *

+ * 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 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; + } +} diff --git a/gemp-lotr/gemp-lotr-cards/src/main/resources/set20-rarity.txt b/gemp-lotr/gemp-lotr-cards/src/main/resources/set20-rarity.txt index e94735db3..7d1e99240 100644 --- a/gemp-lotr/gemp-lotr-cards/src/main/resources/set20-rarity.txt +++ b/gemp-lotr/gemp-lotr-cards/src/main/resources/set20-rarity.txt @@ -465,4 +465,6 @@ 20S475 20S477 20S478 -20S479 \ No newline at end of file +20S479 +20S480 +20S481 \ No newline at end of file