mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
* Fixed Mid's Dilation bugs (fixes #2077).
This commit is contained in:
parent
4d0cfb332c
commit
4bdc4936f0
3 changed files with 19 additions and 56 deletions
|
|
@ -50,8 +50,8 @@ public class BecomesCreatureSourceEffect extends ContinuousEffectImpl implements
|
|||
protected Token token;
|
||||
protected String type;
|
||||
protected boolean losePreviousTypes;
|
||||
protected DynamicValue power;
|
||||
protected DynamicValue toughness;
|
||||
protected DynamicValue power = null;
|
||||
protected DynamicValue toughness = null;
|
||||
|
||||
public BecomesCreatureSourceEffect(Token token, String type, Duration duration) {
|
||||
this(token, type, duration, false, false);
|
||||
|
|
@ -77,8 +77,12 @@ public class BecomesCreatureSourceEffect extends ContinuousEffectImpl implements
|
|||
this.token = effect.token.copy();
|
||||
this.type = effect.type;
|
||||
this.losePreviousTypes = effect.losePreviousTypes;
|
||||
this.power = effect.power.copy();
|
||||
this.toughness = effect.toughness.copy();
|
||||
if (effect.power != null) {
|
||||
this.power = effect.power.copy();
|
||||
}
|
||||
if (effect.toughness != null) {
|
||||
this.toughness = effect.toughness.copy();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ public class SpellsCastWatcher extends Watcher {
|
|||
|
||||
public SpellsCastWatcher(final SpellsCastWatcher watcher) {
|
||||
super(watcher);
|
||||
this.spellsCast.putAll(watcher.spellsCast);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue