mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
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:
parent
99c105d726
commit
51a1c8d345
3 changed files with 3 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue