* reverted change that caused endless loops while applying continuous effects.

This commit is contained in:
LevelX2 2014-08-07 14:29:46 +02:00
parent 7adf282ff5
commit fe7ec072c1

View file

@ -106,7 +106,7 @@ public class CopyEffect extends ContinuousEffectImpl {
}
permanent.removeAllAbilities(source.getSourceId(), game);
for (Ability ability: target.getAbilities()) {
permanent.addAbility(ability, source.getSourceId(), game);
permanent.addAbility(ability, game);
}
permanent.getPower().setValue(target.getPower().getValue());
permanent.getToughness().setValue(target.getToughness().getValue());