diff --git a/Mage.Sets/src/mage/cards/a/AngelOfCondemnation.java b/Mage.Sets/src/mage/cards/a/AngelOfCondemnation.java index 6280ccde3c..a67565ec12 100644 --- a/Mage.Sets/src/mage/cards/a/AngelOfCondemnation.java +++ b/Mage.Sets/src/mage/cards/a/AngelOfCondemnation.java @@ -91,7 +91,7 @@ public class AngelOfCondemnation extends CardImpl { effect.setText("Exile another target creature until {this} leaves the battlefield"); ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl<>("{2}{W}")); ability.addCost(new TapSourceCost()); - ability.addCost(new ExertSourceCost(ability)); + ability.addCost(new ExertSourceCost()); ability.addTarget(new TargetCreaturePermanent(filter)); ability.addEffect(new CreateDelayedTriggeredAbilityEffect(new OnLeaveReturnExiledToBattlefieldAbility())); this.addAbility(ability); diff --git a/Mage/src/main/java/mage/abilities/costs/common/ExertSourceCost.java b/Mage/src/main/java/mage/abilities/costs/common/ExertSourceCost.java index 8503edb603..45c4961ad8 100644 --- a/Mage/src/main/java/mage/abilities/costs/common/ExertSourceCost.java +++ b/Mage/src/main/java/mage/abilities/costs/common/ExertSourceCost.java @@ -46,16 +46,12 @@ import mage.target.targetpointer.FixedTarget; */ public class ExertSourceCost extends CostImpl { - private final Ability source; - - public ExertSourceCost(Ability source) { - this.source = source; + public ExertSourceCost() { this.text = "Exert {this}"; } public ExertSourceCost(ExertSourceCost cost) { super(cost); - this.source = cost.source; } @Override @@ -71,7 +67,7 @@ public class ExertSourceCost extends CostImpl { game.fireEvent(GameEvent.getEvent(EventType.BECOMES_EXERTED, permanent.getId(), permanent.getId(), permanent.getControllerId())); ContinuousEffect effect = new DontUntapInControllersNextUntapStepTargetEffect("", permanent.getControllerId()); effect.setTargetPointer(new FixedTarget(permanent, game)); - game.addEffect(effect, source); + game.addEffect(effect, ability); paid = true; } return paid;