diff --git a/Mage.Sets/src/mage/cards/m/MaskwoodNexus.java b/Mage.Sets/src/mage/cards/m/MaskwoodNexus.java index fa0eb4ef87c..5e0feb6a851 100644 --- a/Mage.Sets/src/mage/cards/m/MaskwoodNexus.java +++ b/Mage.Sets/src/mage/cards/m/MaskwoodNexus.java @@ -58,9 +58,10 @@ class MaskwoodNexusEffect extends ContinuousEffectImpl { MaskwoodNexusEffect() { super(Duration.WhileOnBattlefield, Layer.TypeChangingEffects_4, SubLayer.NA, Outcome.Benefit); - staticText = "Creatures you control are every creature type. " + - "The same is true for creature spells you control " + - "and creature cards you own that aren't on the battlefield."; + staticText = "Creatures you control are every creature type. " + + "The same is true for creature spells you control " + + "and creature cards you own that aren't on the battlefield."; + this.dependendToTypes.add(DependencyType.BecomeCreature); } private MaskwoodNexusEffect(final MaskwoodNexusEffect effect) { @@ -118,7 +119,7 @@ class MaskwoodNexusEffect extends ContinuousEffectImpl { } } // creature spells you control - for (Iterator iterator = game.getStack().iterator(); iterator.hasNext(); ) { + for (Iterator iterator = game.getStack().iterator(); iterator.hasNext();) { StackObject stackObject = iterator.next(); if (stackObject instanceof Spell && stackObject.isControlledBy(source.getControllerId()) diff --git a/Mage/src/main/java/mage/abilities/effects/common/continuous/BecomesCreatureTargetEffect.java b/Mage/src/main/java/mage/abilities/effects/common/continuous/BecomesCreatureTargetEffect.java index 61249801e7b..cce973b0c4e 100644 --- a/Mage/src/main/java/mage/abilities/effects/common/continuous/BecomesCreatureTargetEffect.java +++ b/Mage/src/main/java/mage/abilities/effects/common/continuous/BecomesCreatureTargetEffect.java @@ -24,7 +24,6 @@ public class BecomesCreatureTargetEffect extends ContinuousEffectImpl { protected boolean keepAbilities; protected boolean removeSubtypes = false; - public BecomesCreatureTargetEffect(Token token, boolean loseAllAbilities, boolean stillALand, Duration duration) { this(token, loseAllAbilities, stillALand, duration, false); } @@ -36,19 +35,21 @@ public class BecomesCreatureTargetEffect extends ContinuousEffectImpl { /** * @param token * @param loseAllAbilities loses all subtypes, colors and abilities - * @param stillALand add rule text, "it's still a land" - * @param loseName permanent lose name and get's it from token - * @param keepAbilities lose types/colors, but keep abilities (example: Scale Up) + * @param stillALand add rule text, "it's still a land" + * @param loseName permanent lose name and get's it from token + * @param keepAbilities lose types/colors, but keep abilities (example: + * Scale Up) * @param duration */ public BecomesCreatureTargetEffect(Token token, boolean loseAllAbilities, boolean stillALand, Duration duration, boolean loseName, - boolean keepAbilities) { + boolean keepAbilities) { super(duration, Outcome.BecomeCreature); this.token = token; this.loseAllAbilities = loseAllAbilities; this.addStillALandText = stillALand; this.loseName = loseName; this.keepAbilities = keepAbilities; + this.dependencyTypes.add(DependencyType.BecomeCreature); } public BecomesCreatureTargetEffect(final BecomesCreatureTargetEffect effect) { @@ -58,6 +59,7 @@ public class BecomesCreatureTargetEffect extends ContinuousEffectImpl { this.addStillALandText = effect.addStillALandText; this.loseName = effect.loseName; this.keepAbilities = effect.keepAbilities; + this.dependencyTypes.add(DependencyType.BecomeCreature); } @Override