spjspj - Fixes for KormusBell not creating 1/1s from swamps. Copies of ContinuousEffect weren't having dependendToType set (was defaulting to null). Add addDependencyType to UrborgTombOfYawgmoth and setDependedToType to KormusBell.

This commit is contained in:
spjspj 2016-06-14 22:30:06 +10:00
parent 99c105d726
commit 51a1c8d345
3 changed files with 3 additions and 1 deletions

View file

@ -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));
}

View file

@ -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) {