"Silinde", "Mirkwood Escort"

This commit is contained in:
marcins78@gmail.com
2013-01-07 19:41:44 +00:00
parent f96163f1c6
commit d8f772c03a

View File

@@ -11,7 +11,7 @@ import com.gempukku.lotro.common.Race;
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.RequiredTriggerAction;
import com.gempukku.lotro.logic.actions.ActivateCardAction;
import com.gempukku.lotro.logic.effects.WoundCharactersEffect;
import com.gempukku.lotro.logic.timing.Effect;
@@ -32,10 +32,10 @@ public class Card20_104 extends AbstractAlly {
}
@Override
public List<RequiredTriggerAction> getRequiredBeforeTriggers(LotroGame game, Effect effect, PhysicalCard self) {
public List<? extends ActivateCardAction> getOptionalInPlayBeforeActions(String playerId, LotroGame game, Effect effect, PhysicalCard self) {
if (TriggerConditions.isGettingWounded(effect, game, Race.ELF, Filters.exhausted)
&& PlayConditions.canSelfExert(self, game)) {
RequiredTriggerAction action = new RequiredTriggerAction(self);
ActivateCardAction action = new ActivateCardAction(self);
action.appendCost(
new SelfExertEffect(action, self));
action.appendEffect(