"Resolve of Rhun"

This commit is contained in:
marcins78
2013-01-24 14:31:08 +00:00
parent ce15989287
commit 5f474120fb

View File

@@ -0,0 +1,38 @@
package com.gempukku.lotro.cards.set20.fallenRealms;
import com.gempukku.lotro.cards.AbstractEvent;
import com.gempukku.lotro.cards.PlayConditions;
import com.gempukku.lotro.cards.actions.PlayEventAction;
import com.gempukku.lotro.common.Culture;
import com.gempukku.lotro.common.Keyword;
import com.gempukku.lotro.common.Phase;
import com.gempukku.lotro.common.Side;
import com.gempukku.lotro.game.PhysicalCard;
import com.gempukku.lotro.game.state.LotroGame;
import com.gempukku.lotro.logic.effects.HealCharactersEffect;
/**
* 0
* Resolve of Rhun
* Fallen Realms Event • Shadow
* If you have initiative, heal every Easterling.
*/
public class Card20_135 extends AbstractEvent {
public Card20_135() {
super(Side.SHADOW, 0, Culture.FALLEN_REALMS, "Resolve of Rhun", Phase.SHADOW);
}
@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.hasInitiative(game, Side.SHADOW);
}
@Override
public PlayEventAction getPlayCardAction(String playerId, LotroGame game, PhysicalCard self, int twilightModifier, boolean ignoreRoamingPenalty) {
PlayEventAction action = new PlayEventAction(self);
action.appendEffect(
new HealCharactersEffect(self, Keyword.EASTERLING));
return action;
}
}