From ea0b809c2bcb688fd9f4883338fff83cf71107c1 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 22 Jun 2018 14:56:27 -0400 Subject: [PATCH] fixed Sarkhan's Unsealing second ability --- Mage.Sets/src/mage/cards/s/SarkhansUnsealing.java | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Mage.Sets/src/mage/cards/s/SarkhansUnsealing.java b/Mage.Sets/src/mage/cards/s/SarkhansUnsealing.java index c5c6965d21..95f462deea 100644 --- a/Mage.Sets/src/mage/cards/s/SarkhansUnsealing.java +++ b/Mage.Sets/src/mage/cards/s/SarkhansUnsealing.java @@ -2,7 +2,6 @@ package mage.cards.s; import java.util.UUID; import mage.abilities.Ability; -import mage.abilities.common.EntersBattlefieldTriggeredAbility; import mage.abilities.common.SpellCastControllerTriggeredAbility; import mage.abilities.effects.common.DamageAllEffect; import mage.abilities.effects.common.DamagePlayersEffect; @@ -34,7 +33,7 @@ public final class SarkhansUnsealing extends CardImpl { static { filter.add(new PowerPredicate(ComparisonType.MORE_THAN, 3)); filter.add(new PowerPredicate(ComparisonType.FEWER_THAN, 7)); - filter2.add(new PowerPredicate(ComparisonType.MORE_THAN, 7)); + filter2.add(new PowerPredicate(ComparisonType.MORE_THAN, 6)); filter3.add(Predicates.or( new CardTypePredicate(CardType.CREATURE), new CardTypePredicate(CardType.PLANESWALKER) @@ -46,14 +45,18 @@ public final class SarkhansUnsealing extends CardImpl { super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{3}{R}"); // Whenever you cast a creature spell with power 4, 5, or 6, Sarkhan's Unsealing deals 4 damage to any target. - Ability ability = new SpellCastControllerTriggeredAbility(new DamageTargetEffect(4), filter, false); + Ability ability = new SpellCastControllerTriggeredAbility( + new DamageTargetEffect(4), + filter, false + ); ability.addTarget(new TargetAnyTarget()); this.addAbility(ability); // Whenever you cast a creature spell with power 7 or greater, Sarkhan's Unsealing deals 4 damage to each opponent and each creature and planeswalker they control. - ability = new EntersBattlefieldTriggeredAbility( + ability = new SpellCastControllerTriggeredAbility( new DamagePlayersEffect(4, TargetController.OPPONENT) - .setText("{this} deals 4 damage to each opponent") + .setText("{this} deals 4 damage to each opponent"), + filter2, false ); ability.addEffect( new DamageAllEffect(4, filter3)