diff --git a/Mage.Sets/src/mage/sets/limitedalpha/KormusBell.java b/Mage.Sets/src/mage/sets/limitedalpha/KormusBell.java index ad47488360..aac2a6b528 100644 --- a/Mage.Sets/src/mage/sets/limitedalpha/KormusBell.java +++ b/Mage.Sets/src/mage/sets/limitedalpha/KormusBell.java @@ -54,7 +54,7 @@ public class KormusBell extends CardImpl { // All Swamps are 1/1 black creatures that are still lands. ContinuousEffect effect = new BecomesCreatureAllEffect(new KormusBellToken(), "lands", new FilterPermanent("Swamp", "Swamps"), Duration.WhileOnBattlefield); - effect.getDependencyTypes().add(DependencyType.BecomeSwamp); + effect.setDependedToType(DependencyType.BecomeSwamp); this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect)); } diff --git a/Mage.Sets/src/mage/sets/planarchaos/UrborgTombOfYawgmoth.java b/Mage.Sets/src/mage/sets/planarchaos/UrborgTombOfYawgmoth.java index d11ea967ae..a81e54f99c 100644 --- a/Mage.Sets/src/mage/sets/planarchaos/UrborgTombOfYawgmoth.java +++ b/Mage.Sets/src/mage/sets/planarchaos/UrborgTombOfYawgmoth.java @@ -77,6 +77,7 @@ class AddCardSubtypeAllEffect extends ContinuousEffectImpl { public AddCardSubtypeAllEffect() { super(Duration.WhileOnBattlefield, Layer.TypeChangingEffects_4, SubLayer.NA, Outcome.Benefit); staticText = ""; + addDependencyType(DependencyType.BecomeSwamp); } public AddCardSubtypeAllEffect(final AddCardSubtypeAllEffect effect) { diff --git a/Mage/src/main/java/mage/abilities/effects/ContinuousEffectImpl.java b/Mage/src/main/java/mage/abilities/effects/ContinuousEffectImpl.java index b71aa9ee09..c3027ce821 100644 --- a/Mage/src/main/java/mage/abilities/effects/ContinuousEffectImpl.java +++ b/Mage/src/main/java/mage/abilities/effects/ContinuousEffectImpl.java @@ -109,6 +109,7 @@ public abstract class ContinuousEffectImpl extends EffectImpl implements Continu this.startingTurn = effect.startingTurn; this.startingControllerId = effect.startingControllerId; this.dependencyTypes = effect.dependencyTypes; + this.dependendToType = effect.dependendToType; this.characterDefining = effect.characterDefining; }