Fix to 7R22 "Hope Comes"

No longer triggers if a multi-phase event is played outside of a skirmish phase
This commit is contained in:
PhallenCassidy
2018-03-14 13:42:53 -04:00
committed by GitHub
parent 2a0204d569
commit 1938d97801

View File

@@ -37,6 +37,7 @@ public class Card7_022 extends AbstractPermanent {
@Override
public List<? extends ActivateCardAction> getOptionalInPlayAfterActions(String playerId, LotroGame game, EffectResult effectResult, PhysicalCard self) {
if (TriggerConditions.played(game, effectResult, Culture.ELVEN, CardType.EVENT, Keyword.SKIRMISH)
&& game.getGameState().getCurrentPhase() == Phase.SKIRMISH
&& PlayConditions.canSelfDiscard(self, game)) {
ActivateCardAction action = new ActivateCardAction(self);
action.appendCost(