mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +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
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue