From e2a8316a8a1da6a95d79c2b75c5712d8a3de76c4 Mon Sep 17 00:00:00 2001 From: Daniel Bomar Date: Mon, 18 Jan 2021 08:33:59 -0600 Subject: [PATCH] Fixed Fall from Favor condition (fixes #7337) --- Mage.Sets/src/mage/cards/f/FallFromFavor.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Mage.Sets/src/mage/cards/f/FallFromFavor.java b/Mage.Sets/src/mage/cards/f/FallFromFavor.java index 3480b20d74..53a34af64a 100644 --- a/Mage.Sets/src/mage/cards/f/FallFromFavor.java +++ b/Mage.Sets/src/mage/cards/f/FallFromFavor.java @@ -3,7 +3,7 @@ package mage.cards.f; import mage.abilities.Ability; import mage.abilities.common.EntersBattlefieldTriggeredAbility; import mage.abilities.common.SimpleStaticAbility; -import mage.abilities.condition.Condition; +import mage.abilities.condition.common.MonarchIsSourceControllerCondition; import mage.abilities.decorator.ConditionalContinuousRuleModifyingEffect; import mage.abilities.effects.common.AttachEffect; import mage.abilities.effects.common.BecomesMonarchSourceEffect; @@ -15,13 +15,10 @@ import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.constants.Outcome; import mage.constants.SubType; -import mage.game.Game; import mage.target.TargetPermanent; import mage.target.common.TargetCreaturePermanent; import java.util.UUID; -import mage.abilities.condition.InvertCondition; -import mage.abilities.condition.common.MonarchIsSourceControllerCondition; /** * @author TheElk801 @@ -47,7 +44,7 @@ public final class FallFromFavor extends CardImpl { // Enchanted creature doesn't untap during its controller's untap step unless that player is the monarch. this.addAbility(new SimpleStaticAbility(new ConditionalContinuousRuleModifyingEffect( - new DontUntapInControllersUntapStepEnchantedEffect(), new InvertCondition(MonarchIsSourceControllerCondition.instance) + new DontUntapInControllersUntapStepEnchantedEffect(), MonarchIsSourceControllerCondition.instance ).setText("enchanted creature doesn't untap during its controller's untap step unless that player is the monarch"))); } @@ -59,4 +56,4 @@ public final class FallFromFavor extends CardImpl { public FallFromFavor copy() { return new FallFromFavor(this); } -} \ No newline at end of file +}