"New Forges Built"

This commit is contained in:
marcins78@gmail.com
2012-03-08 16:50:24 +00:00
parent 73ae856b01
commit d8b2c9780a

View File

@@ -0,0 +1,40 @@
package com.gempukku.lotro.cards.set18.uruk_hai;
import com.gempukku.lotro.cards.AbstractEvent;
import com.gempukku.lotro.cards.PlayConditions;
import com.gempukku.lotro.cards.actions.PlayEventAction;
import com.gempukku.lotro.cards.effects.ReinforceTokenEffect;
import com.gempukku.lotro.cards.effects.choose.ChooseAndExertCharactersEffect;
import com.gempukku.lotro.common.*;
import com.gempukku.lotro.game.PhysicalCard;
import com.gempukku.lotro.game.state.LotroGame;
/**
* Set: Treachery & Deceit
* Side: Shadow
* Culture: Uruk-Hai
* Twilight Cost: 0
* Type: Event • Maneuver
* Game Text: Exert an [URUK-HAI] minion to reinforce an [URUK-HAI] token.
*/
public class Card18_120 extends AbstractEvent {
public Card18_120() {
super(Side.SHADOW, 0, Culture.URUK_HAI, "New Forges Built", Phase.MANEUVER);
}
@Override
public boolean checkPlayRequirements(String playerId, LotroGame game, PhysicalCard self, int withTwilightRemoved, int twilightModifier, boolean ignoreRoamingPenalty, boolean ignoreCheckingDeadPile) {
return super.checkPlayRequirements(playerId, game, self, withTwilightRemoved, twilightModifier, ignoreRoamingPenalty, ignoreCheckingDeadPile)
&& PlayConditions.canExert(self, game, Culture.URUK_HAI, CardType.MINION);
}
@Override
public PlayEventAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, int twilightModifier, boolean ignoreRoamingPenalty) {
PlayEventAction action = new PlayEventAction(self);
action.appendCost(
new ChooseAndExertCharactersEffect(action, playerId, 1, 1, Culture.URUK_HAI, CardType.MINION));
action.appendEffect(
new ReinforceTokenEffect(self, playerId, Token.URUK_HAI));
return action;
}
}