"Despairing Shadow"
This commit is contained in:
@@ -0,0 +1,41 @@
|
|||||||
|
package com.gempukku.lotro.cards.set20.sauron;
|
||||||
|
|
||||||
|
import com.gempukku.lotro.cards.AbstractPermanent;
|
||||||
|
import com.gempukku.lotro.cards.PlayConditions;
|
||||||
|
import com.gempukku.lotro.common.CardType;
|
||||||
|
import com.gempukku.lotro.common.Culture;
|
||||||
|
import com.gempukku.lotro.common.Side;
|
||||||
|
import com.gempukku.lotro.common.Zone;
|
||||||
|
import com.gempukku.lotro.game.PhysicalCard;
|
||||||
|
import com.gempukku.lotro.game.state.LotroGame;
|
||||||
|
import com.gempukku.lotro.logic.actions.RequiredTriggerAction;
|
||||||
|
import com.gempukku.lotro.logic.effects.CorruptRingBearerEffect;
|
||||||
|
import com.gempukku.lotro.logic.timing.EffectResult;
|
||||||
|
|
||||||
|
import java.util.Collections;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 2
|
||||||
|
* Despairing Shadow
|
||||||
|
* Sauron Condition • Support Area
|
||||||
|
* If you can spot 5 burdens, 0 Free Peoples cultures and a [Sauron] minion, the Ring-bearer is corrupted.
|
||||||
|
*/
|
||||||
|
public class Card20_354 extends AbstractPermanent {
|
||||||
|
public Card20_354() {
|
||||||
|
super(Side.SHADOW, 2, CardType.CONDITION, Culture.SAURON, Zone.SUPPORT, "Despairing Shadow");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<RequiredTriggerAction> getRequiredAfterTriggers(LotroGame game, EffectResult effectResult, PhysicalCard self) {
|
||||||
|
if (PlayConditions.canSpotBurdens(game, 5)
|
||||||
|
&& !PlayConditions.canSpotFPCultures(game, 1, self.getOwner())
|
||||||
|
&& PlayConditions.canSpot(game, Culture.SAURON, CardType.MINION)) {
|
||||||
|
RequiredTriggerAction action = new RequiredTriggerAction(self);
|
||||||
|
action.appendEffect(
|
||||||
|
new CorruptRingBearerEffect());
|
||||||
|
return Collections.singletonList(action);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user