This commit is contained in:
marcins78
2013-03-19 09:50:05 +00:00
parent ba61570701
commit 73d7a3c44d
2 changed files with 10 additions and 28 deletions

View File

@@ -136,7 +136,7 @@ var set20 = {
'20_135': 'http://lotrtcg.org/coreset/fallenrealms/resolveofrhun(r1).png', '20_135': 'http://lotrtcg.org/coreset/fallenrealms/resolveofrhun(r1).png',
'20_136': 'http://lotrtcg.org/coreset/fallenrealms/southronbandit.png', '20_136': 'http://lotrtcg.org/coreset/fallenrealms/southronbandit.png',
'20_137': 'http://lotrtcg.org/coreset/fallenrealms/southrondeadeye(r1).png', '20_137': 'http://lotrtcg.org/coreset/fallenrealms/southrondeadeye(r1).png',
'20_138': 'http://lotrtcg.org/coreset/fallenrealms/southronnomad.png', '20_138': 'http://lotrtcg.org/coreset/fallenrealms/southronnomad(r1).png',
'20_139': 'http://lotrtcg.org/coreset/fallenrealms/southronpackmaster.png', '20_139': 'http://lotrtcg.org/coreset/fallenrealms/southronpackmaster.png',
'20_140': 'http://lotrtcg.org/coreset/fallenrealms/southronrogue.png', '20_140': 'http://lotrtcg.org/coreset/fallenrealms/southronrogue.png',
'20_141': 'http://lotrtcg.org/coreset/fallenrealms/southronsharpshooter.png', '20_141': 'http://lotrtcg.org/coreset/fallenrealms/southronsharpshooter.png',

View File

@@ -2,59 +2,41 @@ package com.gempukku.lotro.cards.set20.fallenRealms;
import com.gempukku.lotro.cards.AbstractMinion; import com.gempukku.lotro.cards.AbstractMinion;
import com.gempukku.lotro.cards.TriggerConditions; import com.gempukku.lotro.cards.TriggerConditions;
import com.gempukku.lotro.cards.effects.ChoiceEffect;
import com.gempukku.lotro.cards.effects.choose.ChooseAndExertCharactersEffect; import com.gempukku.lotro.cards.effects.choose.ChooseAndExertCharactersEffect;
import com.gempukku.lotro.common.Culture; import com.gempukku.lotro.common.Culture;
import com.gempukku.lotro.common.Keyword; import com.gempukku.lotro.common.Keyword;
import com.gempukku.lotro.common.Race; import com.gempukku.lotro.common.Race;
import com.gempukku.lotro.common.Side;
import com.gempukku.lotro.filters.Filters; import com.gempukku.lotro.filters.Filters;
import com.gempukku.lotro.game.PhysicalCard; import com.gempukku.lotro.game.PhysicalCard;
import com.gempukku.lotro.game.state.LotroGame; 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.timing.Effect;
import com.gempukku.lotro.logic.timing.EffectResult; import com.gempukku.lotro.logic.timing.EffectResult;
import java.util.Collections; import java.util.Collections;
import java.util.LinkedList;
import java.util.List; import java.util.List;
/** /**
* 2 * 2
* Southron Nomad * Southron Nomad
* Fallen Realms Minion • Man * Minion • Man
* 4 2 4 * 5 2 4
* Southron. Ambush (1). * Southron. Ambush (1).
* When you play this minion, you may exert an unbound companion (or 2 Free Peoples men). * When you play this minion, the Free Peoples player must exert an unbound companion.
* http://lotrtcg.org/coreset/fallenrealms/southronnomad(r1).png
*/ */
public class Card20_138 extends AbstractMinion { public class Card20_138 extends AbstractMinion {
public Card20_138() { public Card20_138() {
super(2, 4, 2, 4, Race.MAN, Culture.FALLEN_REALMS, "Southron Nomad"); super(2, 5, 2, 4, Race.MAN, Culture.FALLEN_REALMS, "Southron Nomad");
addKeyword(Keyword.SOUTHRON); addKeyword(Keyword.SOUTHRON);
addKeyword(Keyword.AMBUSH, 1); addKeyword(Keyword.AMBUSH, 1);
} }
@Override @Override
public List<OptionalTriggerAction> getOptionalAfterTriggers(String playerId, LotroGame game, EffectResult effectResult, PhysicalCard self) { public List<RequiredTriggerAction> getRequiredAfterTriggers(LotroGame game, EffectResult effectResult, PhysicalCard self) {
if (TriggerConditions.played(game, effectResult, self)) { if (TriggerConditions.played(game, effectResult, self)) {
OptionalTriggerAction action = new OptionalTriggerAction(self); RequiredTriggerAction action = new RequiredTriggerAction(self);
List<Effect> possibleEffects = new LinkedList<Effect>();
possibleEffects.add(
new ChooseAndExertCharactersEffect(action, playerId, 1, 1, Filters.unboundCompanion) {
@Override
public String getText(LotroGame game) {
return "Exert an unbound companion";
}
});
possibleEffects.add(
new ChooseAndExertCharactersEffect(action, playerId, 2, 2, Side.FREE_PEOPLE, Race.MAN) {
@Override
public String getText(LotroGame game) {
return "Exert 2 Free Peoples men";
}
});
action.appendEffect( action.appendEffect(
new ChoiceEffect(action, playerId, possibleEffects)); new ChooseAndExertCharactersEffect(action, game.getGameState().getCurrentPlayerId(), 1, 1, Filters.unboundCompanion));
return Collections.singletonList(action); return Collections.singletonList(action);
} }
return null; return null;