20_296
This commit is contained in:
@@ -288,7 +288,7 @@ var set20 = {
|
||||
'20_293': 'http://lotrtcg.org/coreset/ringwraith/itwantstobefound.jpg',
|
||||
'20_294': 'http://lotrtcg.org/coreset/ringwraith/liftingtheveil.jpg',
|
||||
'20_295': 'http://lotrtcg.org/coreset/ringwraith/morgulblade.jpg',
|
||||
'20_296': 'http://lotrtcg.org/coreset/ringwraith/nineformortalmen(r1).jpg',
|
||||
'20_296': 'http://lotrtcg.org/coreset/ringwraith/nineformortalmen(r2).jpg',
|
||||
'20_297': 'http://lotrtcg.org/coreset/ringwraith/ominouslandscape.jpg',
|
||||
'20_298': 'http://lotrtcg.org/coreset/ringwraith/thepalebladew.jpg',
|
||||
'20_299': 'http://lotrtcg.org/coreset/ringwraith/petrifyingfear.jpg',
|
||||
|
||||
@@ -3,8 +3,10 @@ package com.gempukku.lotro.cards.set20.wraith;
|
||||
import com.gempukku.lotro.cards.AbstractPermanent;
|
||||
import com.gempukku.lotro.cards.PlayConditions;
|
||||
import com.gempukku.lotro.cards.TriggerConditions;
|
||||
import com.gempukku.lotro.cards.actions.PlayPermanentAction;
|
||||
import com.gempukku.lotro.cards.effects.choose.*;
|
||||
import com.gempukku.lotro.cards.effects.choose.ChooseAndDiscardStackedCardsEffect;
|
||||
import com.gempukku.lotro.cards.effects.choose.ChooseAndPreventCardEffect;
|
||||
import com.gempukku.lotro.cards.effects.choose.ChooseAndPutCardFromDiscardIntoHandEffect;
|
||||
import com.gempukku.lotro.cards.effects.choose.ChooseAndStackCardsFromHandEffect;
|
||||
import com.gempukku.lotro.common.*;
|
||||
import com.gempukku.lotro.filters.Filters;
|
||||
import com.gempukku.lotro.game.PhysicalCard;
|
||||
@@ -21,37 +23,23 @@ import java.util.List;
|
||||
* 0
|
||||
* •Nine for Mortal Men
|
||||
* Artifact • Support Area
|
||||
* To play, exert a Nazgul.
|
||||
* Response: If a Nazgul is about to take a wound, stack a [Ringwraith] card from hand here to prevent that wound.
|
||||
* Shadow: Discard 3 cards stacked here to take a [Ringwraith] card from your discard pile into hand.
|
||||
* http://lotrtcg.org/coreset/ringwraith/nineformortalmen(r1).png
|
||||
* Shadow: Stack a [Ringwraith] card here.
|
||||
* Response: If a Nazgul is about to take a wound, discard a card stacked here to prevent that wound.
|
||||
* Regroup: Discard 3 cards stacked here to take a [Ringwraith] card from your discard pile into hand.
|
||||
* http://lotrtcg.org/coreset/ringwraith/nineformortalmen(r2).jpg
|
||||
*/
|
||||
public class Card20_296 extends AbstractPermanent {
|
||||
public Card20_296() {
|
||||
super(Side.SHADOW, 0, CardType.ARTIFACT, Culture.WRAITH, Zone.SUPPORT, "Nine for Mortal Men", null, true);
|
||||
}
|
||||
|
||||
@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.canExert(self, game, Race.NAZGUL);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PlayPermanentAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, int twilightModifier, boolean ignoreRoamingPenalty) {
|
||||
PlayPermanentAction action = super.getPlayCardAction(playerId, game, self, twilightModifier, ignoreRoamingPenalty);
|
||||
action.appendCost(
|
||||
new ChooseAndExertCharactersEffect(action, playerId, 1, 1, Race.NAZGUL));
|
||||
return action;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<? extends ActivateCardAction> getOptionalInPlayBeforeActions(String playerId, LotroGame game, Effect effect, PhysicalCard self) {
|
||||
if (TriggerConditions.isGettingWounded(effect, game, Race.NAZGUL)
|
||||
&& PlayConditions.hasCardInHand(game, playerId, 1, Culture.WRAITH)) {
|
||||
&& game.getGameState().getStackedCards(self).size()>0) {
|
||||
ActivateCardAction action = new ActivateCardAction(self);
|
||||
action.appendCost(
|
||||
new ChooseAndStackCardsFromHandEffect(action, playerId, 1, 1, self, Culture.WRAITH));
|
||||
new ChooseAndDiscardStackedCardsEffect(action, playerId, 1, 1, self, Filters.any));
|
||||
action.appendEffect(
|
||||
new ChooseAndPreventCardEffect(self, (WoundCharactersEffect) effect, playerId, "Choose Nazgul to prevent wound to", Race.NAZGUL));
|
||||
return Collections.singletonList(action);
|
||||
@@ -62,6 +50,13 @@ public class Card20_296 extends AbstractPermanent {
|
||||
@Override
|
||||
protected List<? extends Action> getExtraPhaseActions(String playerId, LotroGame game, PhysicalCard self) {
|
||||
if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.SHADOW, self, 0)
|
||||
&& PlayConditions.hasCardInHand(game, playerId, 1, Culture.WRAITH)) {
|
||||
ActivateCardAction action = new ActivateCardAction(self);
|
||||
action.appendEffect(
|
||||
new ChooseAndStackCardsFromHandEffect(action, playerId, 1, 1, self, Culture.WRAITH));
|
||||
return Collections.singletonList(action);
|
||||
}
|
||||
if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.REGROUP, self, 0)
|
||||
&& game.getGameState().getStackedCards(self).size()>=3) {
|
||||
ActivateCardAction action = new ActivateCardAction(self);
|
||||
action.appendCost(
|
||||
|
||||
Reference in New Issue
Block a user