diff --git a/Mage.Sets/src/mage/sets/tempest/VerdantForce.java b/Mage.Sets/src/mage/sets/tempest/VerdantForce.java index ebd9ebae47..1ba6747df0 100644 --- a/Mage.Sets/src/mage/sets/tempest/VerdantForce.java +++ b/Mage.Sets/src/mage/sets/tempest/VerdantForce.java @@ -51,7 +51,7 @@ public class VerdantForce extends CardImpl { this.color.setGreen(true); this.power = new MageInt(7); this.toughness = new MageInt(7); - this.addAbility(new BeginningOfUpkeepTriggeredAbility(new CreateTokenEffect(new SaprolingToken()), Constants.TargetController.YOU, false)); + this.addAbility(new BeginningOfUpkeepTriggeredAbility(new CreateTokenEffect(new SaprolingToken()), Constants.TargetController.ANY, false)); } public VerdantForce(final VerdantForce card) { diff --git a/Mage/src/mage/abilities/effects/common/LoseLifePlayersEffect.java b/Mage/src/mage/abilities/effects/common/LoseLifePlayersEffect.java index b8daa0e60e..082f049676 100644 --- a/Mage/src/mage/abilities/effects/common/LoseLifePlayersEffect.java +++ b/Mage/src/mage/abilities/effects/common/LoseLifePlayersEffect.java @@ -30,6 +30,8 @@ package mage.abilities.effects.common; import java.util.UUID; import mage.Constants; import mage.abilities.Ability; +import mage.abilities.dynamicvalue.DynamicValue; +import mage.abilities.dynamicvalue.common.StaticValue; import mage.abilities.effects.OneShotEffect; import mage.game.Game; import mage.players.Player; @@ -40,16 +42,17 @@ import mage.players.Player; */ public class LoseLifePlayersEffect extends OneShotEffect { - private int amount; + private DynamicValue amount; public LoseLifePlayersEffect(int amount) { super(Constants.Outcome.Damage); - this.amount = amount; + this.amount = new StaticValue(amount); staticText = "each player loses " + amount + " life"; } public LoseLifePlayersEffect(final LoseLifePlayersEffect effect) { super(effect); + this.amount = effect.amount; } @Override @@ -57,7 +60,7 @@ public class LoseLifePlayersEffect extends OneShotEffect for (UUID playerId: game.getPlayer(source.getControllerId()).getInRange()) { Player player = game.getPlayer(playerId); if (player != null) - player.loseLife(amount, game); + player.loseLife(amount.calculate(game, source), game); } return true; }