From a622631749c64db052f29532aa13b73b9a73a2be Mon Sep 17 00:00:00 2001 From: "marcins78@gmail.com" Date: Thu, 20 Sep 2012 13:52:01 +0000 Subject: [PATCH] - Added the missing Skirmish action to Nelya, Fell Rider. --- .../lotro/cards/set15/wraith/Card15_186.java | 26 +++++++++++++++++++ .../src/main/webapp/includes/changeLog.html | 1 + 2 files changed, 27 insertions(+) diff --git a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set15/wraith/Card15_186.java b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set15/wraith/Card15_186.java index a01de6a76..02f909f1f 100644 --- a/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set15/wraith/Card15_186.java +++ b/gemp-lotr/gemp-lotr-cards/src/main/java/com/gempukku/lotro/cards/set15/wraith/Card15_186.java @@ -1,6 +1,8 @@ package com.gempukku.lotro.cards.set15.wraith; import com.gempukku.lotro.cards.AbstractMinion; +import com.gempukku.lotro.cards.PlayConditions; +import com.gempukku.lotro.cards.effects.SelfExertEffect; import com.gempukku.lotro.cards.modifiers.CantTakeWoundsModifier; import com.gempukku.lotro.cards.modifiers.conditions.AndCondition; import com.gempukku.lotro.cards.modifiers.conditions.NotCondition; @@ -8,8 +10,15 @@ import com.gempukku.lotro.cards.modifiers.conditions.PhaseCondition; import com.gempukku.lotro.common.*; import com.gempukku.lotro.filters.Filters; import com.gempukku.lotro.game.PhysicalCard; +import com.gempukku.lotro.game.state.LotroGame; +import com.gempukku.lotro.logic.actions.ActivateCardAction; +import com.gempukku.lotro.logic.effects.ChooseAndWoundCharactersEffect; import com.gempukku.lotro.logic.modifiers.Modifier; import com.gempukku.lotro.logic.modifiers.SpotCondition; +import com.gempukku.lotro.logic.timing.Action; + +import java.util.Collections; +import java.util.List; /** * Set: The Hunters @@ -37,4 +46,21 @@ public class Card15_186 extends AbstractMinion { new NotCondition(new PhaseCondition(Phase.SKIRMISH)), new SpotCondition(6, CardType.COMPANION)), Filters.and(Culture.WRAITH, CardType.MINION)); } + + @Override + protected List getExtraPhaseActions(String playerId, LotroGame game, PhysicalCard self) { + if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.SKIRMISH, self, 0) + && PlayConditions.canSpot(game, self, Filters.mounted) + && PlayConditions.canSelfExert(self, 2, game)) { + ActivateCardAction action = new ActivateCardAction(self); + action.appendCost( + new SelfExertEffect(action, self)); + action.appendCost( + new SelfExertEffect(action, self)); + action.appendEffect( + new ChooseAndWoundCharactersEffect(action, playerId, 1, 1, CardType.COMPANION, Filters.hasAttached(Culture.WRAITH, CardType.CONDITION))); + return Collections.singletonList(action); + } + return null; + } } diff --git a/gemp-lotr/gemp-lotr-web/src/main/webapp/includes/changeLog.html b/gemp-lotr/gemp-lotr-web/src/main/webapp/includes/changeLog.html index a73b6c5a0..c7af35c05 100644 --- a/gemp-lotr/gemp-lotr-web/src/main/webapp/includes/changeLog.html +++ b/gemp-lotr/gemp-lotr-web/src/main/webapp/includes/changeLog.html @@ -3,6 +3,7 @@ - "Rallying Call" should now correctly prevent removal of threats by FP cards. - All of the cost-to-effect actions, when cost was prevented, should now stop the "effect" part, i.e. Corsair Marauder if the discarding of possession was prevented, will not reinforce token. +- Added the missing Skirmish action to Nelya, Fell Rider. 12 Sep. 2012 - "Morgul Regiment" and similar cards now trigger only during fierce assignment, only if the minion has Fierce.