"Morgul Tormentor"
This commit is contained in:
@@ -0,0 +1,60 @@
|
|||||||
|
package com.gempukku.lotro.cards.set12.orc;
|
||||||
|
|
||||||
|
import com.gempukku.lotro.cards.AbstractMinion;
|
||||||
|
import com.gempukku.lotro.cards.TriggerConditions;
|
||||||
|
import com.gempukku.lotro.cards.effects.AddBurdenEffect;
|
||||||
|
import com.gempukku.lotro.cards.effects.ChoiceEffect;
|
||||||
|
import com.gempukku.lotro.common.CardType;
|
||||||
|
import com.gempukku.lotro.common.Culture;
|
||||||
|
import com.gempukku.lotro.common.Race;
|
||||||
|
import com.gempukku.lotro.common.Side;
|
||||||
|
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.RequiredTriggerAction;
|
||||||
|
import com.gempukku.lotro.logic.effects.ChooseAndDiscardCardsFromHandEffect;
|
||||||
|
import com.gempukku.lotro.logic.timing.Effect;
|
||||||
|
import com.gempukku.lotro.logic.timing.EffectResult;
|
||||||
|
|
||||||
|
import java.util.Collections;
|
||||||
|
import java.util.LinkedList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set: Black Rider
|
||||||
|
* Side: Shadow
|
||||||
|
* Culture: Orc
|
||||||
|
* Twilight Cost: 3
|
||||||
|
* Type: Minion • Orc
|
||||||
|
* Strength: 9
|
||||||
|
* Vitality: 2
|
||||||
|
* Site: 4
|
||||||
|
* Game Text: Each time the Free Peoples player assigns this minion to skirmish an unwounded companion, he or she must
|
||||||
|
* add a burden or discard a card from hand.
|
||||||
|
*/
|
||||||
|
public class Card12_090 extends AbstractMinion {
|
||||||
|
public Card12_090() {
|
||||||
|
super(3, 9, 2, 4, Race.ORC, Culture.ORC, "Morgul Tormentor");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<RequiredTriggerAction> getRequiredAfterTriggers(LotroGame game, EffectResult effectResult, PhysicalCard self) {
|
||||||
|
if (TriggerConditions.assignedAgainst(game, effectResult, Side.FREE_PEOPLE, Filters.and(CardType.COMPANION, Filters.unwounded), self)) {
|
||||||
|
RequiredTriggerAction action = new RequiredTriggerAction(self);
|
||||||
|
List<Effect> possibleEffects = new LinkedList<Effect>();
|
||||||
|
possibleEffects.add(
|
||||||
|
new AddBurdenEffect(self, 1));
|
||||||
|
possibleEffects.add(
|
||||||
|
new ChooseAndDiscardCardsFromHandEffect(action, game.getGameState().getCurrentPlayerId(), false, 1) {
|
||||||
|
@Override
|
||||||
|
public String getText(LotroGame game) {
|
||||||
|
return "Discard a card from hand";
|
||||||
|
}
|
||||||
|
});
|
||||||
|
action.appendEffect(
|
||||||
|
new ChoiceEffect(action, game.getGameState().getCurrentPlayerId(), possibleEffects));
|
||||||
|
return Collections.singletonList(action);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user