Merge pull request #1999 from spjspj/master

spjspj - Fixes for KormusBell not creating 1/1s from swamps.  Copies …
This commit is contained in:
spjspj 2016-06-14 22:33:23 +10:00 committed by GitHub
commit b28b773a6d
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) {

View file

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