From 5fe1b9a46c4e0ee765a269c86f2d350eb8cf2e31 Mon Sep 17 00:00:00 2001 From: Jeff Wadsworth Date: Fri, 4 Feb 2022 15:05:42 -0600 Subject: [PATCH] - Fixed #8642 --- Mage.Sets/src/mage/cards/w/Willbreaker.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/cards/w/Willbreaker.java b/Mage.Sets/src/mage/cards/w/Willbreaker.java index 2c4a38a28a..5a75ce72f4 100644 --- a/Mage.Sets/src/mage/cards/w/Willbreaker.java +++ b/Mage.Sets/src/mage/cards/w/Willbreaker.java @@ -63,7 +63,10 @@ class WillbreakerTriggeredAbility extends TriggeredAbilityImpl { return false; } Permanent permanent = game.getPermanent(event.getTargetId()); - if (permanent == null || !permanent.isCreature(game) + Permanent willbreaker = game.getPermanent(sourceId); + if (willbreaker == null // If you lose control of Willbreaker before its ability resolves, you won’t gain control of the creature at all. + || permanent == null + || !permanent.isCreature(game) || !game.getOpponents(getControllerId()).contains(permanent.getControllerId())) { return false; } @@ -74,8 +77,8 @@ class WillbreakerTriggeredAbility extends TriggeredAbilityImpl { @Override public String getRule() { - return "Whenever a creature an opponent controls becomes the target of a spell or ability you control, " + - "gain control of that creature for as long as you control {this}"; + return "Whenever a creature an opponent controls becomes the target of a spell or ability you control, " + + "gain control of that creature for as long as you control {this}"; } @Override