* Multiform Wonder - Fixed the nor working boost effect.

This commit is contained in:
LevelX2 2016-09-21 22:56:31 +02:00
parent a46bbfcd60
commit 716377cc32

View file

@ -187,10 +187,10 @@ class MultiformWonder2Effect extends ContinuousEffectImpl {
@Override
public boolean apply(Game game, Ability source) {
Permanent target = game.getPermanent(source.getFirstTarget());
if (target != null) {
target.addPower(power);
target.addToughness(toughness);
Permanent sourceObject = game.getPermanent(source.getSourceId());
if (sourceObject != null) {
sourceObject.addPower(power);
sourceObject.addToughness(toughness);
return true;
}
return false;