Louisoix's Sacrifice - fixed wrong additional cost (#13812)

---------

Co-authored-by: thorsten <info@thorstenhacke.de>
This commit is contained in:
Thorsten Hacke 2025-06-30 20:21:22 +02:00 committed by GitHub
parent 08666fcd7b
commit 250826d631
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
package mage.cards.l;
import mage.abilities.costs.CompositeCost;
import mage.abilities.costs.OrCost;
import mage.abilities.costs.common.SacrificeTargetCost;
import mage.abilities.costs.mana.GenericManaCost;
import mage.abilities.effects.common.CounterTargetEffect;
@ -33,9 +33,10 @@ public final class LouisoixsSacrifice extends CardImpl {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{U}");
// As an additional cost to cast this spell, sacrifice a legendary creature or pay {2}.
this.getSpellAbility().addCost(new CompositeCost(
this.getSpellAbility().addCost(new OrCost(
"sacrifice a legendary creature or pay {2}",
new SacrificeTargetCost(StaticFilters.FILTER_CREATURE_LEGENDARY),
new GenericManaCost(2), "sacrifice a legendary creature or pay {2}"
new GenericManaCost(2)
));
// Counter target activated ability, triggered ability, or noncreature spell.