From ad91a4ccadb660fd9b9dbbdb5edc2460875137c2 Mon Sep 17 00:00:00 2001 From: Damiano Carradori Date: Tue, 6 Apr 2021 02:50:14 +0200 Subject: [PATCH] fix: attack ability trigger for opponent creatures (#7697) The checkTrigger of ZurzothChaosRiderAttackAbility wasn't filtering creatures controlled by Zurzoth's controller --- Mage.Sets/src/mage/cards/z/ZurzothChaosRider.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/z/ZurzothChaosRider.java b/Mage.Sets/src/mage/cards/z/ZurzothChaosRider.java index 1afcb0d7a8..dde64936c3 100644 --- a/Mage.Sets/src/mage/cards/z/ZurzothChaosRider.java +++ b/Mage.Sets/src/mage/cards/z/ZurzothChaosRider.java @@ -121,6 +121,7 @@ class ZurzothChaosRiderAttackAbility extends TriggeredAbilityImpl { .stream() .map(game::getPermanent) .filter(Objects::nonNull) + .filter(permanent -> permanent.isControlledBy(this.getControllerId())) .filter(permanent -> permanent.hasSubtype(SubType.DEVIL, game)) .map(MageItem::getId) .map(game.getCombat()::getDefenderId) @@ -131,7 +132,7 @@ class ZurzothChaosRiderAttackAbility extends TriggeredAbilityImpl { if (playerIds.isEmpty()) { return false; } - playerIds.add(getControllerId()); + playerIds.add(this.getControllerId()); this.getEffects().clear(); this.addEffect(new ZurzothChaosRiderEffect(playerIds)); return true;