This commit is contained in:
marcins78@gmail.com
2011-12-04 18:57:24 +00:00
parent 454478a702
commit ed77b3c440

View File

@@ -0,0 +1,53 @@
package com.gempukku.lotro.cards.set11.gollum;
import com.gempukku.lotro.cards.AbstractMinion;
import com.gempukku.lotro.cards.PlayConditions;
import com.gempukku.lotro.cards.effects.SelfExertEffect;
import com.gempukku.lotro.cards.effects.choose.ChooseAndAddUntilEOPStrengthBonusEffect;
import com.gempukku.lotro.common.CardType;
import com.gempukku.lotro.common.Culture;
import com.gempukku.lotro.common.Keyword;
import com.gempukku.lotro.common.Phase;
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.timing.Action;
import java.util.Collections;
import java.util.List;
/**
* Set: Shadows
* Side: Shadow
* Culture: Gollum
* Twilight Cost: 2
* Type: Minion
* Strength: 5
* Vitality: 4
* Site: 3
* Game Text: Lurker. (Skirmishes involving lurker minions must be resolved after any others.) Skirmish: Exert Gollum
* twice to make another minion strength +2.
*/
public class Card11_042 extends AbstractMinion {
public Card11_042() {
super(2, 5, 4, 3, null, Culture.GOLLUM, "Gollum", true);
addKeyword(Keyword.LURKER);
}
@Override
protected List<? extends Action> getExtraPhaseActions(String playerId, LotroGame game, PhysicalCard self) {
if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.SKIRMISH, self, 0)
&& PlayConditions.canSelfExert(self, 2, game)) {
ActivateCardAction action = new ActivateCardAction(self);
action.appendCost(
new SelfExertEffect(self));
action.appendCost(
new SelfExertEffect(self));
action.appendEffect(
new ChooseAndAddUntilEOPStrengthBonusEffect(action, self, playerId, 2, CardType.MINION, Filters.not(self)));
return Collections.singletonList(action);
}
return null;
}
}