From 39eb4508c5d46ee86c1dd52eb75755f348a12419 Mon Sep 17 00:00:00 2001 From: Luna Skyrise Date: Mon, 18 May 2015 23:12:11 -0300 Subject: [PATCH] Cautery Sliver: apply cost and target to the right ability Fixes #978 --- Mage.Sets/src/mage/sets/planarchaos/CauterySliver.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/sets/planarchaos/CauterySliver.java b/Mage.Sets/src/mage/sets/planarchaos/CauterySliver.java index acd5d50ddba..5db4c592eee 100644 --- a/Mage.Sets/src/mage/sets/planarchaos/CauterySliver.java +++ b/Mage.Sets/src/mage/sets/planarchaos/CauterySliver.java @@ -71,8 +71,8 @@ public class CauterySliver extends CardImpl { "All Slivers have \"{1}, Sacrifice this permanent: This permanent deals 1 damage to target creature or player.\""))); // All Slivers have "{1}, Sacrifice this permanent: Prevent the next 1 damage that would be dealt to target Sliver creature or player this turn." Ability ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, 1), new ManaCostsImpl("1")); - ability1.addCost(new SacrificeSourceCost()); - ability1.addTarget(new TargetSliverCreatureOrPlayer()); + ability2.addCost(new SacrificeSourceCost()); + ability2.addTarget(new TargetSliverCreatureOrPlayer()); this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAllEffect(ability2, Duration.WhileOnBattlefield, filter, "All Slivers have \"{1}, Sacrifice this permanent: Prevent the next 1 damage that would be dealt to target Sliver creature or player this turn.\""))); @@ -101,4 +101,4 @@ class FilterCreatureOrPlayerByType extends FilterCreatureOrPlayer { super(name); creatureFilter = new FilterCreaturePermanent(type); } -} \ No newline at end of file +}