diff --git a/Mage/src/mage/Constants.java b/Mage/src/mage/Constants.java index 9e807d7c26..14d066c9a5 100644 --- a/Mage/src/mage/Constants.java +++ b/Mage/src/mage/Constants.java @@ -380,7 +380,7 @@ public final class Constants { } public enum TargetController { - ANY, YOU, NOT_YOU, OPPONENT + ANY, YOU, NOT_YOU, OPPONENT, CONTROLLER_ATTACHED_TO } public enum RangeOfInfluence { diff --git a/Mage/src/mage/abilities/common/BeginningOfUpkeepTriggeredAbility.java b/Mage/src/mage/abilities/common/BeginningOfUpkeepTriggeredAbility.java index 0bf7da9abd..46eb588132 100644 --- a/Mage/src/mage/abilities/common/BeginningOfUpkeepTriggeredAbility.java +++ b/Mage/src/mage/abilities/common/BeginningOfUpkeepTriggeredAbility.java @@ -5,6 +5,7 @@ import mage.abilities.TriggeredAbilityImpl; import mage.abilities.effects.Effect; import mage.game.Game; import mage.game.events.GameEvent; +import mage.game.permanent.Permanent; import mage.target.targetpointer.FixedTarget; public class BeginningOfUpkeepTriggeredAbility extends TriggeredAbilityImpl { @@ -60,6 +61,19 @@ public class BeginningOfUpkeepTriggeredAbility extends TriggeredAbilityImpl