diff --git a/Mage.Sets/src/mage/sets/elspethvstezzeret/ElixirOfImmortality.java b/Mage.Sets/src/mage/sets/elspethvstezzeret/ElixirOfImmortality.java index c906ae9b53..f76ed87675 100644 --- a/Mage.Sets/src/mage/sets/elspethvstezzeret/ElixirOfImmortality.java +++ b/Mage.Sets/src/mage/sets/elspethvstezzeret/ElixirOfImmortality.java @@ -40,8 +40,6 @@ public class ElixirOfImmortality extends mage.sets.magic2011.ElixirOfImmortality super(ownerId); this.cardNumber = 62; this.expansionSetCode = "DDF"; - - } public ElixirOfImmortality (final ElixirOfImmortality card) { diff --git a/Mage.Sets/src/mage/sets/magic2011/ElixirOfImmortality.java b/Mage.Sets/src/mage/sets/magic2011/ElixirOfImmortality.java index 48f0592363..a54c8d12f0 100644 --- a/Mage.Sets/src/mage/sets/magic2011/ElixirOfImmortality.java +++ b/Mage.Sets/src/mage/sets/magic2011/ElixirOfImmortality.java @@ -58,8 +58,7 @@ public class ElixirOfImmortality extends CardImpl { Costs costs = new CostsImpl(); costs.add(new GenericManaCost(2)); costs.add(new TapSourceCost()); - Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainLifeEffect(5), costs); - ability.addEffect(new ElixerOfImmortalityEffect()); + Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ElixerOfImmortalityEffect(), costs); this.addAbility(ability); } @@ -89,9 +88,11 @@ class ElixerOfImmortalityEffect extends OneShotEffect public boolean apply(Game game, Ability source) { Player player = game.getPlayer(source.getControllerId()); Permanent permanent = game.getPermanent(source.getSourceId()); - if (player != null && permanent != null) { + if (player != null) { player.gainLife(5, game); - permanent.moveToZone(Zone.LIBRARY, source.getId(), game, true); + if (permanent != null) { + permanent.moveToZone(Zone.LIBRARY, source.getId(), game, true); + } player.getLibrary().addAll(player.getGraveyard().getCards(game), game); player.getGraveyard().clear(); player.getLibrary().shuffle();