Adding text to "Southron Troop" preventing effect.

This commit is contained in:
marcins78@gmail.com
2011-11-06 01:45:31 +00:00
parent a1c7218f37
commit e0282a7315

View File

@@ -57,7 +57,12 @@ public class Card4_256 extends AbstractMinion {
new PreventableEffect.PreventionCost() {
@Override
public Effect createPreventionCostForPlayer(SubAction subAction, String fpPlayerId) {
return new ChooseAndDiscardCardsFromPlayEffect(subAction, playerId, 1, 1, Filters.type(CardType.COMPANION), Filters.not(Filters.keyword(Keyword.RING_BEARER)));
return new ChooseAndDiscardCardsFromPlayEffect(subAction, playerId, 1, 1, Filters.type(CardType.COMPANION), Filters.not(Filters.keyword(Keyword.RING_BEARER))) {
@Override
public String getText(LotroGame game) {
return "Make " + playerId + " discard a companion (except the Ring-bearer)";
}
};
}
}
));