"Elendil's Army"
This commit is contained in:
@@ -11,6 +11,7 @@ import com.gempukku.lotro.logic.actions.OptionalTriggerAction;
|
||||
import com.gempukku.lotro.logic.effects.ChooseActiveCardEffect;
|
||||
import com.gempukku.lotro.logic.modifiers.Modifier;
|
||||
import com.gempukku.lotro.logic.modifiers.StrengthModifier;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
import com.gempukku.lotro.logic.timing.EffectResult;
|
||||
|
||||
@@ -62,7 +63,7 @@ public abstract class AbstractFollower extends AbstractPermanent {
|
||||
|
||||
protected abstract boolean canPayAidCost(LotroGame game, PhysicalCard self);
|
||||
|
||||
protected abstract Effect getAidCost(LotroGame game, PhysicalCard self);
|
||||
protected abstract Effect getAidCost(LotroGame game, Action action, PhysicalCard self);
|
||||
|
||||
protected Filterable getFollowerTarget(LotroGame game, PhysicalCard self) {
|
||||
return Filters.and(Filters.owner(self.getOwner()), Filters.or(CardType.COMPANION, CardType.MINION));
|
||||
@@ -75,7 +76,7 @@ public abstract class AbstractFollower extends AbstractPermanent {
|
||||
&& PlayConditions.canSpot(game, getFollowerTarget(game, self))) {
|
||||
final OptionalTriggerAction action = new OptionalTriggerAction(self);
|
||||
action.appendCost(
|
||||
getAidCost(game, self));
|
||||
getAidCost(game, action, self));
|
||||
action.appendCost(
|
||||
new ChooseActiveCardEffect(self, playerId, "Choose character to transfer follower to", getFollowerTarget(game, self)) {
|
||||
@Override
|
||||
|
||||
@@ -15,6 +15,7 @@ import com.gempukku.lotro.logic.effects.AddTwilightEffect;
|
||||
import com.gempukku.lotro.logic.modifiers.Modifier;
|
||||
import com.gempukku.lotro.logic.modifiers.SpotCondition;
|
||||
import com.gempukku.lotro.logic.modifiers.StrengthModifier;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
import com.gempukku.lotro.logic.timing.EffectResult;
|
||||
|
||||
@@ -42,7 +43,7 @@ public class Card13_028 extends AbstractFollower {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Effect getAidCost(LotroGame game, PhysicalCard self) {
|
||||
protected Effect getAidCost(LotroGame game, Action action, PhysicalCard self) {
|
||||
return new AddTwilightEffect(self, 2);
|
||||
}
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ import com.gempukku.lotro.game.state.LotroGame;
|
||||
import com.gempukku.lotro.logic.actions.OptionalTriggerAction;
|
||||
import com.gempukku.lotro.logic.actions.RequiredTriggerAction;
|
||||
import com.gempukku.lotro.logic.effects.AddTwilightEffect;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
import com.gempukku.lotro.logic.timing.EffectResult;
|
||||
|
||||
@@ -40,7 +41,7 @@ public class Card13_037 extends AbstractFollower {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Effect getAidCost(LotroGame game, PhysicalCard self) {
|
||||
protected Effect getAidCost(LotroGame game, Action action, PhysicalCard self) {
|
||||
return new AddTwilightEffect(self, 2);
|
||||
}
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ import com.gempukku.lotro.game.state.LotroGame;
|
||||
import com.gempukku.lotro.logic.effects.AddTwilightEffect;
|
||||
import com.gempukku.lotro.logic.modifiers.Modifier;
|
||||
import com.gempukku.lotro.logic.modifiers.SpotCondition;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
|
||||
import java.util.Collections;
|
||||
@@ -37,7 +38,7 @@ public class Card13_038 extends AbstractFollower {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Effect getAidCost(LotroGame game, PhysicalCard self) {
|
||||
protected Effect getAidCost(LotroGame game, Action action, PhysicalCard self) {
|
||||
return new AddTwilightEffect(self, 2);
|
||||
}
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ public class Card13_046 extends AbstractFollower {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Effect getAidCost(LotroGame game, PhysicalCard self) {
|
||||
protected Effect getAidCost(LotroGame game, Action action, PhysicalCard self) {
|
||||
return new AddBurdenEffect(self, 1);
|
||||
}
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ import com.gempukku.lotro.common.Side;
|
||||
import com.gempukku.lotro.game.PhysicalCard;
|
||||
import com.gempukku.lotro.game.state.LotroGame;
|
||||
import com.gempukku.lotro.logic.actions.OptionalTriggerAction;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
import com.gempukku.lotro.logic.timing.EffectResult;
|
||||
|
||||
@@ -38,7 +39,7 @@ public class Card13_144 extends AbstractFollower {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Effect getAidCost(LotroGame game, PhysicalCard self) {
|
||||
protected Effect getAidCost(LotroGame game, Action action, PhysicalCard self) {
|
||||
return new AddBurdenEffect(self, 1);
|
||||
}
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ import com.gempukku.lotro.game.PhysicalCard;
|
||||
import com.gempukku.lotro.game.state.LotroGame;
|
||||
import com.gempukku.lotro.logic.modifiers.Modifier;
|
||||
import com.gempukku.lotro.logic.modifiers.StrengthModifier;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
|
||||
import java.util.Collections;
|
||||
@@ -45,7 +46,7 @@ public class Card13_150 extends AbstractFollower {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Effect getAidCost(LotroGame game, PhysicalCard self) {
|
||||
protected Effect getAidCost(LotroGame game, Action action, PhysicalCard self) {
|
||||
return new AddBurdenEffect(self, 2);
|
||||
}
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ 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.HealCharactersEffect;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
import com.gempukku.lotro.logic.timing.EffectResult;
|
||||
|
||||
@@ -41,7 +42,7 @@ public class Card13_151 extends AbstractFollower {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Effect getAidCost(LotroGame game, PhysicalCard self) {
|
||||
protected Effect getAidCost(LotroGame game, Action action, PhysicalCard self) {
|
||||
return new AddBurdenEffect(self, 1);
|
||||
}
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ import com.gempukku.lotro.logic.actions.RequiredTriggerAction;
|
||||
import com.gempukku.lotro.logic.effects.AddTwilightEffect;
|
||||
import com.gempukku.lotro.logic.modifiers.KeywordModifier;
|
||||
import com.gempukku.lotro.logic.modifiers.Modifier;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
import com.gempukku.lotro.logic.timing.EffectResult;
|
||||
|
||||
@@ -40,7 +41,7 @@ public class Card15_012 extends AbstractFollower {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Effect getAidCost(LotroGame game, PhysicalCard self) {
|
||||
protected Effect getAidCost(LotroGame game, Action action, PhysicalCard self) {
|
||||
return new AddTwilightEffect(self, 3);
|
||||
}
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ import com.gempukku.lotro.game.state.LotroGame;
|
||||
import com.gempukku.lotro.logic.actions.OptionalTriggerAction;
|
||||
import com.gempukku.lotro.logic.effects.AddTwilightEffect;
|
||||
import com.gempukku.lotro.logic.modifiers.KeywordModifier;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
import com.gempukku.lotro.logic.timing.EffectResult;
|
||||
|
||||
@@ -39,7 +40,7 @@ public class Card15_026 extends AbstractFollower {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Effect getAidCost(LotroGame game, PhysicalCard self) {
|
||||
protected Effect getAidCost(LotroGame game, Action action, PhysicalCard self) {
|
||||
return new AddTwilightEffect(self, 1);
|
||||
}
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ import com.gempukku.lotro.game.state.LotroGame;
|
||||
import com.gempukku.lotro.logic.effects.AddTwilightEffect;
|
||||
import com.gempukku.lotro.logic.modifiers.KeywordModifier;
|
||||
import com.gempukku.lotro.logic.modifiers.Modifier;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
|
||||
import java.util.Collections;
|
||||
@@ -38,7 +39,7 @@ public class Card15_134 extends AbstractFollower {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Effect getAidCost(LotroGame game, PhysicalCard self) {
|
||||
protected Effect getAidCost(LotroGame game, Action action, PhysicalCard self) {
|
||||
return new AddTwilightEffect(self, 1);
|
||||
}
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ import com.gempukku.lotro.game.state.LotroGame;
|
||||
import com.gempukku.lotro.logic.actions.OptionalTriggerAction;
|
||||
import com.gempukku.lotro.logic.actions.RequiredTriggerAction;
|
||||
import com.gempukku.lotro.logic.effects.AddTwilightEffect;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
import com.gempukku.lotro.logic.timing.EffectResult;
|
||||
|
||||
@@ -39,7 +40,7 @@ public class Card15_135 extends AbstractFollower {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Effect getAidCost(LotroGame game, PhysicalCard self) {
|
||||
protected Effect getAidCost(LotroGame game, Action action, PhysicalCard self) {
|
||||
return new AddTwilightEffect(self, 1);
|
||||
}
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ import com.gempukku.lotro.game.state.LotroGame;
|
||||
import com.gempukku.lotro.logic.effects.AddTwilightEffect;
|
||||
import com.gempukku.lotro.logic.modifiers.Modifier;
|
||||
import com.gempukku.lotro.logic.modifiers.StrengthModifier;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
|
||||
import java.util.Collections;
|
||||
@@ -38,7 +39,7 @@ public class Card15_137 extends AbstractFollower {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Effect getAidCost(LotroGame game, PhysicalCard self) {
|
||||
protected Effect getAidCost(LotroGame game, Action action, PhysicalCard self) {
|
||||
return new AddTwilightEffect(self, 2);
|
||||
}
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ 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.WoundCharactersEffect;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
|
||||
import java.util.Collections;
|
||||
@@ -48,7 +49,7 @@ public class Card15_146 extends AbstractFollower {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Effect getAidCost(LotroGame game, PhysicalCard self) {
|
||||
protected Effect getAidCost(LotroGame game, Action action, PhysicalCard self) {
|
||||
return new AddBurdenEffect(self, 2);
|
||||
}
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ import com.gempukku.lotro.game.PhysicalCard;
|
||||
import com.gempukku.lotro.game.state.LotroGame;
|
||||
import com.gempukku.lotro.logic.modifiers.Modifier;
|
||||
import com.gempukku.lotro.logic.modifiers.StrengthModifier;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
|
||||
import java.util.Collections;
|
||||
@@ -37,7 +38,7 @@ public class Card15_147 extends AbstractFollower {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Effect getAidCost(LotroGame game, PhysicalCard self) {
|
||||
protected Effect getAidCost(LotroGame game, Action action, PhysicalCard self) {
|
||||
return new AddBurdenEffect(self, 1);
|
||||
}
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@ import com.gempukku.lotro.logic.actions.OptionalTriggerAction;
|
||||
import com.gempukku.lotro.logic.effects.AddThreatsEffect;
|
||||
import com.gempukku.lotro.logic.effects.ChooseActiveCardEffect;
|
||||
import com.gempukku.lotro.logic.effects.WoundCharactersEffect;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
import com.gempukku.lotro.logic.timing.EffectResult;
|
||||
|
||||
@@ -44,7 +45,7 @@ public class Card17_020 extends AbstractFollower {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Effect getAidCost(LotroGame game, PhysicalCard self) {
|
||||
protected Effect getAidCost(LotroGame game, Action action, PhysicalCard self) {
|
||||
return new AddThreatsEffect(self.getOwner(), self, 1);
|
||||
}
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ import com.gempukku.lotro.game.state.LotroGame;
|
||||
import com.gempukku.lotro.logic.effects.AddTwilightEffect;
|
||||
import com.gempukku.lotro.logic.modifiers.Modifier;
|
||||
import com.gempukku.lotro.logic.modifiers.StrengthModifier;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
|
||||
import java.util.Collections;
|
||||
@@ -37,7 +38,7 @@ public class Card17_022 extends AbstractFollower {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Effect getAidCost(LotroGame game, PhysicalCard self) {
|
||||
protected Effect getAidCost(LotroGame game, Action action, PhysicalCard self) {
|
||||
return new AddTwilightEffect(self, 1);
|
||||
}
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ 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.OptionalTriggerAction;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
import com.gempukku.lotro.logic.timing.EffectResult;
|
||||
|
||||
@@ -38,7 +39,7 @@ public class Card17_038 extends AbstractFollower {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Effect getAidCost(LotroGame game, PhysicalCard self) {
|
||||
protected Effect getAidCost(LotroGame game, Action action, PhysicalCard self) {
|
||||
return new RemoveTwilightEffect(1);
|
||||
}
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ import com.gempukku.lotro.game.PhysicalCard;
|
||||
import com.gempukku.lotro.game.state.LotroGame;
|
||||
import com.gempukku.lotro.logic.actions.OptionalTriggerAction;
|
||||
import com.gempukku.lotro.logic.effects.AddTwilightEffect;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
import com.gempukku.lotro.logic.timing.EffectResult;
|
||||
|
||||
@@ -44,7 +45,7 @@ public class Card18_007 extends AbstractFollower {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Effect getAidCost(LotroGame game, PhysicalCard self) {
|
||||
protected Effect getAidCost(LotroGame game, Action action, PhysicalCard self) {
|
||||
return new AddTwilightEffect(self, 2);
|
||||
}
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ import com.gempukku.lotro.game.state.LotroGame;
|
||||
import com.gempukku.lotro.logic.actions.OptionalTriggerAction;
|
||||
import com.gempukku.lotro.logic.effects.AddTwilightEffect;
|
||||
import com.gempukku.lotro.logic.effects.DrawCardsEffect;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
import com.gempukku.lotro.logic.timing.EffectResult;
|
||||
|
||||
@@ -38,7 +39,7 @@ public class Card18_017 extends AbstractFollower {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Effect getAidCost(LotroGame game, PhysicalCard self) {
|
||||
protected Effect getAidCost(LotroGame game, Action action, PhysicalCard self) {
|
||||
return new AddTwilightEffect(self, 2);
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
package com.gempukku.lotro.cards.set18.gondor;
|
||||
|
||||
import com.gempukku.lotro.cards.AbstractFollower;
|
||||
import com.gempukku.lotro.cards.PlayConditions;
|
||||
import com.gempukku.lotro.cards.effects.choose.ChooseAndExertCharactersEffect;
|
||||
import com.gempukku.lotro.common.CardType;
|
||||
import com.gempukku.lotro.common.Culture;
|
||||
import com.gempukku.lotro.common.Side;
|
||||
import com.gempukku.lotro.game.PhysicalCard;
|
||||
import com.gempukku.lotro.game.state.LotroGame;
|
||||
import com.gempukku.lotro.logic.timing.Action;
|
||||
import com.gempukku.lotro.logic.timing.Effect;
|
||||
|
||||
/**
|
||||
* Set: Treachery & Deceit
|
||||
* Side: Free
|
||||
* Culture: Gondor
|
||||
* Twilight Cost: 0
|
||||
* Type: Follower
|
||||
* Strength: +2
|
||||
* Game Text: Aid - Exert a [GONDOR] companion. (At the start of the maneuver phase, you may exert a [GONDOR] companion
|
||||
* to transfer this to a companion.)
|
||||
*/
|
||||
public class Card18_047 extends AbstractFollower {
|
||||
public Card18_047() {
|
||||
super(Side.FREE_PEOPLE, 0, 2, 0, 0, Culture.GONDOR, "Elendil's Army", true);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean canPayAidCost(LotroGame game, PhysicalCard self) {
|
||||
return PlayConditions.canExert(self, game, Culture.GONDOR, CardType.COMPANION);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Effect getAidCost(LotroGame game, Action action, PhysicalCard self) {
|
||||
return new ChooseAndExertCharactersEffect(action, self.getOwner(), 1, 1, Culture.GONDOR, CardType.COMPANION);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user