mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
* Wojek Siren - fixed that it boosts 2/0 instead 1/1
This commit is contained in:
parent
806112c43a
commit
77bee43673
1 changed files with 5 additions and 10 deletions
|
@ -1,26 +1,20 @@
|
||||||
|
|
||||||
package mage.cards.w;
|
package mage.cards.w;
|
||||||
|
|
||||||
import java.util.UUID;
|
|
||||||
import mage.MageObjectReference;
|
import mage.MageObjectReference;
|
||||||
import mage.ObjectColor;
|
import mage.ObjectColor;
|
||||||
import mage.abilities.Ability;
|
import mage.abilities.Ability;
|
||||||
import mage.abilities.effects.ContinuousEffectImpl;
|
import mage.abilities.effects.ContinuousEffectImpl;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.cards.CardSetInfo;
|
import mage.cards.CardSetInfo;
|
||||||
import mage.constants.AbilityWord;
|
import mage.constants.*;
|
||||||
import mage.constants.CardType;
|
|
||||||
import mage.constants.Duration;
|
|
||||||
import mage.constants.Layer;
|
|
||||||
import mage.constants.Outcome;
|
|
||||||
import mage.constants.SubLayer;
|
|
||||||
import mage.filter.StaticFilters;
|
import mage.filter.StaticFilters;
|
||||||
import mage.game.Game;
|
import mage.game.Game;
|
||||||
import mage.game.permanent.Permanent;
|
import mage.game.permanent.Permanent;
|
||||||
import mage.target.common.TargetCreaturePermanent;
|
import mage.target.common.TargetCreaturePermanent;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @author LevelX2
|
* @author LevelX2
|
||||||
*/
|
*/
|
||||||
public final class WojekSiren extends CardImpl {
|
public final class WojekSiren extends CardImpl {
|
||||||
|
@ -76,7 +70,8 @@ class WojekSirenBoostEffect extends ContinuousEffectImpl {
|
||||||
for (MageObjectReference mageObjectReference : affectedObjectList) {
|
for (MageObjectReference mageObjectReference : affectedObjectList) {
|
||||||
Permanent permanent = mageObjectReference.getPermanent(game);
|
Permanent permanent = mageObjectReference.getPermanent(game);
|
||||||
if (permanent != null) {
|
if (permanent != null) {
|
||||||
permanent.addPower(2);
|
permanent.addPower(1);
|
||||||
|
permanent.addToughness(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue