mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
* reverted change that caused endless loops while applying continuous effects.
This commit is contained in:
parent
7adf282ff5
commit
fe7ec072c1
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ public class CopyEffect extends ContinuousEffectImpl {
|
||||||
}
|
}
|
||||||
permanent.removeAllAbilities(source.getSourceId(), game);
|
permanent.removeAllAbilities(source.getSourceId(), game);
|
||||||
for (Ability ability: target.getAbilities()) {
|
for (Ability ability: target.getAbilities()) {
|
||||||
permanent.addAbility(ability, source.getSourceId(), game);
|
permanent.addAbility(ability, game);
|
||||||
}
|
}
|
||||||
permanent.getPower().setValue(target.getPower().getValue());
|
permanent.getPower().setValue(target.getPower().getValue());
|
||||||
permanent.getToughness().setValue(target.getToughness().getValue());
|
permanent.getToughness().setValue(target.getToughness().getValue());
|
||||||
|
|
Loading…
Reference in a new issue