Fix Talion, the Kindly Lord

This commit is contained in:
Susucre 2023-08-24 19:30:42 +02:00 committed by xenohedron
parent 1cd4971b21
commit 43b2b112fc

View file

@ -6,7 +6,7 @@ import mage.abilities.common.AsEntersBattlefieldAbility;
import mage.abilities.common.SpellCastOpponentTriggeredAbility;
import mage.abilities.effects.OneShotEffect;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.common.LoseLifeTargetControllerEffect;
import mage.abilities.effects.common.LoseLifeTargetEffect;
import mage.abilities.keyword.FlyingAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
@ -50,7 +50,7 @@ public final class TalionTheKindlyLord extends CardImpl {
// Whenever an opponent casts a spell with mana value, power, or toughness equal to the chosen number, that player loses 2 life and you draw a card.
Ability ability = new SpellCastOpponentTriggeredAbility(
Zone.BATTLEFIELD, new LoseLifeTargetControllerEffect(2)
Zone.BATTLEFIELD, new LoseLifeTargetEffect(2)
.setText("that player loses 2 life"),
filter, false, SetTargetPointer.PLAYER
);