"Southron Spearman"

This commit is contained in:
marcins78
2013-01-24 14:49:12 +00:00
parent f7e4e2e785
commit a6fce6265f

View File

@@ -0,0 +1,46 @@
package com.gempukku.lotro.cards.set20.fallenRealms;
import com.gempukku.lotro.cards.AbstractMinion;
import com.gempukku.lotro.cards.PlayConditions;
import com.gempukku.lotro.cards.effects.RemoveTwilightEffect;
import com.gempukku.lotro.common.Culture;
import com.gempukku.lotro.common.Keyword;
import com.gempukku.lotro.common.Phase;
import com.gempukku.lotro.common.Race;
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.ActivateCardAction;
import com.gempukku.lotro.logic.effects.ChooseAndWoundCharactersEffect;
import com.gempukku.lotro.logic.timing.Action;
import java.util.Collections;
import java.util.List;
/**
* 4
* Southron Spearman
* Fallen Realms Minion • Man
* 8 3 4
* Southron.
* Regroup: Remove (3) to make the free people's player wound an unbound companion.
*/
public class Card20_142 extends AbstractMinion {
public Card20_142() {
super(4, 8, 3, 4, Race.MAN, Culture.FALLEN_REALMS, "Southron Spearman");
addKeyword(Keyword.SOUTHRON);
}
@Override
protected List<? extends Action> getExtraPhaseActions(String playerId, LotroGame game, PhysicalCard self) {
if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.REGROUP, self, 3)) {
ActivateCardAction action = new ActivateCardAction(self);
action.appendCost(
new RemoveTwilightEffect(3));
action.appendEffect(
new ChooseAndWoundCharactersEffect(action, game.getGameState().getCurrentPlayerId(), 1, 1, Filters.unboundCompanion));
return Collections.singletonList(action);
}
return null;
}
}