mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
* Multiform Wonder - Fixed the nor working boost effect.
This commit is contained in:
parent
a46bbfcd60
commit
716377cc32
1 changed files with 4 additions and 4 deletions
|
@ -187,10 +187,10 @@ class MultiformWonder2Effect extends ContinuousEffectImpl {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean apply(Game game, Ability source) {
|
public boolean apply(Game game, Ability source) {
|
||||||
Permanent target = game.getPermanent(source.getFirstTarget());
|
Permanent sourceObject = game.getPermanent(source.getSourceId());
|
||||||
if (target != null) {
|
if (sourceObject != null) {
|
||||||
target.addPower(power);
|
sourceObject.addPower(power);
|
||||||
target.addToughness(toughness);
|
sourceObject.addToughness(toughness);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue