- Added the missing Skirmish action to Nelya, Fell Rider.

This commit is contained in:
marcins78@gmail.com
2012-09-20 13:52:01 +00:00
parent acdbd3bfec
commit a622631749
2 changed files with 27 additions and 0 deletions

View File

@@ -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<? extends Action> 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;
}
}

View File

@@ -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.
<b>12 Sep. 2012</b>
- "Morgul Regiment" and similar cards now trigger only during fierce assignment, only if the minion has Fierce.