Discipline
This commit is contained in:
@@ -106,7 +106,7 @@ var set20 = {
|
||||
'20_106': 'http://lotrtcg.org/coreset/elven/wchshitd.jpg',
|
||||
'20_107': 'http://lotrtcg.org/coreset/fallenrealms/armoredmumak.jpg',
|
||||
'20_108': 'http://lotrtcg.org/coreset/fallenrealms/calledtomordor(r3).jpg',
|
||||
'20_109': 'http://lotrtcg.org/coreset/fallenrealms/discipline.jpg',
|
||||
'20_109': 'http://lotrtcg.org/coreset/fallenrealms/discipline(r3).jpg',
|
||||
'20_110': 'http://lotrtcg.org/coreset/fallenrealms/easterlingbeserker.jpg',
|
||||
'20_111': 'http://lotrtcg.org/coreset/fallenrealms/easterlingbroadshield.jpg',
|
||||
'20_112': 'http://lotrtcg.org/coreset/fallenrealms/easterlingcaptaincor.jpg',
|
||||
|
||||
@@ -1,31 +1,46 @@
|
||||
package com.gempukku.lotro.cards.set20.fallenRealms;
|
||||
|
||||
import com.gempukku.lotro.cards.AbstractEvent;
|
||||
import com.gempukku.lotro.cards.PlayConditions;
|
||||
import com.gempukku.lotro.cards.actions.PlayEventAction;
|
||||
import com.gempukku.lotro.cards.effects.AddUntilStartOfPhaseModifierEffect;
|
||||
import com.gempukku.lotro.cards.effects.choose.ChooseAndExertCharactersEffect;
|
||||
import com.gempukku.lotro.cards.modifiers.conditions.NotCondition;
|
||||
import com.gempukku.lotro.common.Culture;
|
||||
import com.gempukku.lotro.common.Keyword;
|
||||
import com.gempukku.lotro.common.Phase;
|
||||
import com.gempukku.lotro.common.Side;
|
||||
import com.gempukku.lotro.game.PhysicalCard;
|
||||
import com.gempukku.lotro.game.state.LotroGame;
|
||||
import com.gempukku.lotro.logic.effects.ChooseAndHealCharactersEffect;
|
||||
import com.gempukku.lotro.logic.modifiers.CantTakeWoundsModifier;
|
||||
import com.gempukku.lotro.logic.modifiers.condition.PhaseCondition;
|
||||
|
||||
/**
|
||||
* 0
|
||||
* Discipline
|
||||
* Fallen Realms Event • Shadow
|
||||
* Heal an Easterling.
|
||||
* 0 Discipline [Fal]
|
||||
* Event • Shadow
|
||||
* To play, exert an Easterling.
|
||||
* Until the regroup phase, Easterlings may only take wounds during skirmishes.
|
||||
* http://lotrtcg.org/coreset/fallenrealms/discipline(r3).jpg
|
||||
*/
|
||||
public class Card20_109 extends AbstractEvent {
|
||||
public Card20_109() {
|
||||
super(Side.SHADOW, 0, Culture.FALLEN_REALMS, "Discipline", Phase.SHADOW);
|
||||
}
|
||||
|
||||
@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, Keyword.EASTERLING);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PlayEventAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, int twilightModifier, boolean ignoreRoamingPenalty) {
|
||||
PlayEventAction action = new PlayEventAction(self);
|
||||
action.appendCost(
|
||||
new ChooseAndExertCharactersEffect(action, playerId, 1, 1, Keyword.EASTERLING));
|
||||
action.appendEffect(
|
||||
new ChooseAndHealCharactersEffect(action, playerId, Keyword.EASTERLING));
|
||||
new AddUntilStartOfPhaseModifierEffect(
|
||||
new CantTakeWoundsModifier(self, new NotCondition(new PhaseCondition(Phase.SKIRMISH)), Keyword.EASTERLING), Phase.REGROUP));
|
||||
return action;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user