- "Urgency" now has the activated ability to discard itself to add +1 strength.

This commit is contained in:
marcins78@gmail.com
2012-03-11 17:21:36 +00:00
parent f56dbc69cf
commit 98fcbe420c
2 changed files with 20 additions and 0 deletions

View File

@@ -1,13 +1,18 @@
package com.gempukku.lotro.cards.set19.isengard;
import com.gempukku.lotro.cards.AbstractPermanent;
import com.gempukku.lotro.cards.PlayConditions;
import com.gempukku.lotro.cards.TriggerConditions;
import com.gempukku.lotro.cards.effects.SelfDiscardEffect;
import com.gempukku.lotro.cards.effects.choose.ChooseAndAddUntilEOPStrengthBonusEffect;
import com.gempukku.lotro.common.*;
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.actions.RequiredTriggerAction;
import com.gempukku.lotro.logic.effects.AddTwilightEffect;
import com.gempukku.lotro.logic.timing.Action;
import com.gempukku.lotro.logic.timing.EffectResult;
import java.util.Collections;
@@ -39,4 +44,18 @@ public class Card19_017 extends AbstractPermanent {
}
return null;
}
@Override
protected List<? extends Action> getExtraPhaseActions(String playerId, LotroGame game, PhysicalCard self) {
if (PlayConditions.canUseShadowCardDuringPhase(game, Phase.SKIRMISH, self, 0)
&& PlayConditions.canSelfDiscard(self, game)) {
ActivateCardAction action = new ActivateCardAction(self);
action.appendCost(
new SelfDiscardEffect(self));
action.appendEffect(
new ChooseAndAddUntilEOPStrengthBonusEffect(action, self, playerId, 1, CardType.MINION, Filters.not(Culture.WRAITH)));
return Collections.singletonList(action);
}
return null;
}
}

View File

@@ -1,6 +1,7 @@
<pre style="font-size:80%">
<b>11 Mar. 2012</b>
- "Harry Goatleaf" is site 2 now.
- "Urgency" now has the activated ability to discard itself to add +1 strength.
<b>10 Mar. 2012</b>
- "Asfaloth" no longer discard itself when attached to Ally and fellowship is at an Underground site.