"Bert" now only triggers from opponent discarding
This commit is contained in:
@@ -60,10 +60,12 @@ public class Card31_064 extends AbstractMinion {
|
|||||||
@Override
|
@Override
|
||||||
public List<OptionalTriggerAction> getOptionalAfterTriggers(String playerId, LotroGame game, EffectResult effectResult, PhysicalCard self) {
|
public List<OptionalTriggerAction> getOptionalAfterTriggers(String playerId, LotroGame game, EffectResult effectResult, PhysicalCard self) {
|
||||||
if (TriggerConditions.forEachDiscardedFromPlay(game, effectResult, CardType.CONDITION)) {
|
if (TriggerConditions.forEachDiscardedFromPlay(game, effectResult, CardType.CONDITION)) {
|
||||||
OptionalTriggerAction action = new OptionalTriggerAction(self);
|
if (!discardEffect.getPerformingPlayer().equals(self.getOwner())) {
|
||||||
action.appendEffect(
|
OptionalTriggerAction action = new OptionalTriggerAction(self);
|
||||||
new ChooseAndDiscardCardsFromPlayEffect(action, playerId, 1, 1, CardType.ALLY));
|
action.appendEffect(
|
||||||
return Collections.singletonList(action);
|
new ChooseAndDiscardCardsFromPlayEffect(action, playerId, 1, 1, CardType.ALLY));
|
||||||
|
return Collections.singletonList(action);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user