Fixed Searing Meditation always targeting its controller. Closes #9372

This commit is contained in:
PurpleCrowbar 2022-08-22 05:12:29 +01:00
parent ddf131570d
commit 16100228ac

View file

@ -21,9 +21,8 @@ public final class SearingMeditation extends CardImpl {
public SearingMeditation(UUID ownerId, CardSetInfo setInfo) { public SearingMeditation(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{1}{R}{W}"); super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{1}{R}{W}");
// Whenever you gain life, you may pay {2}. If you do, Searing Meditation deals 2 damage to any target. // Whenever you gain life, you may pay {2}. If you do, Searing Meditation deals 2 damage to any target.
Ability ability = new GainLifeControllerTriggeredAbility(new DoIfCostPaid(new DamageTargetEffect(2), new GenericManaCost(2)), false, true); Ability ability = new GainLifeControllerTriggeredAbility(new DoIfCostPaid(new DamageTargetEffect(2), new GenericManaCost(2)), false, false);
ability.addTarget(new TargetAnyTarget()); ability.addTarget(new TargetAnyTarget());
this.addAbility(ability); this.addAbility(ability);
} }