"Corrupt"
This commit is contained in:
@@ -16,6 +16,14 @@ public class CountCulturesEvaluator implements Evaluator {
|
||||
private int _multiplier;
|
||||
private int _over;
|
||||
|
||||
public CountCulturesEvaluator(Filterable... filters) {
|
||||
this(0, filters);
|
||||
}
|
||||
|
||||
public CountCulturesEvaluator(int over, Filterable... filters) {
|
||||
this(over, 1, filters);
|
||||
}
|
||||
|
||||
public CountCulturesEvaluator(int over, int multiplier, Filterable... filters) {
|
||||
_over = over;
|
||||
_multiplier = multiplier;
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
package com.gempukku.lotro.cards.set7.wraith;
|
||||
|
||||
import com.gempukku.lotro.cards.AbstractEvent;
|
||||
import com.gempukku.lotro.cards.actions.PlayEventAction;
|
||||
import com.gempukku.lotro.cards.effects.choose.ChooseAndAddUntilEOPStrengthBonusEffect;
|
||||
import com.gempukku.lotro.cards.modifiers.evaluator.CountCulturesEvaluator;
|
||||
import com.gempukku.lotro.common.Culture;
|
||||
import com.gempukku.lotro.common.Phase;
|
||||
import com.gempukku.lotro.common.Race;
|
||||
import com.gempukku.lotro.common.Side;
|
||||
import com.gempukku.lotro.game.PhysicalCard;
|
||||
import com.gempukku.lotro.game.state.LotroGame;
|
||||
|
||||
/**
|
||||
* Set: The Return of the King
|
||||
* Side: Shadow
|
||||
* Culture: Wraith
|
||||
* Twilight Cost: 1
|
||||
* Type: Event • Skirmish
|
||||
* Game Text: Make a Nazgul strength +1 for each Free Peoples culture you spot.
|
||||
*/
|
||||
public class Card7_175 extends AbstractEvent {
|
||||
public Card7_175() {
|
||||
super(Side.SHADOW, 1, Culture.WRAITH, "Corrupt", Phase.SKIRMISH);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PlayEventAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, int twilightModifier) {
|
||||
PlayEventAction action = new PlayEventAction(self);
|
||||
action.appendEffect(
|
||||
new ChooseAndAddUntilEOPStrengthBonusEffect(action, self, playerId, new CountCulturesEvaluator(Side.FREE_PEOPLE), Race.NAZGUL));
|
||||
return action;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user