update cards and effects that missed canPaySacrificeCost (#13916)

* update SacrificeAttachmentCost to work with canPaySacrificeCost

* update SacrificeXTargetCost to use canPaySacrificeCost

* update SacrificeXManaValueCost to use canPaySacrificeCost and getMaxValue

* update Phyrexian Dreadnought to use canPaySacrificeCost

* enable testNahiriSacrificePrevented test
This commit is contained in:
Jmlundeen 2025-08-27 21:38:02 -05:00 committed by GitHub
parent 366ffbb1e0
commit 47f2eb4c94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 73 additions and 5 deletions

View file

@ -2,7 +2,6 @@ package org.mage.test.cards.single.one;
import mage.constants.PhaseStep;
import mage.constants.Zone;
import org.junit.Ignore;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestPlayerBase;
@ -41,7 +40,6 @@ public class NahirisSacrificeTest extends CardTestPlayerBase {
}
@Test
@Ignore // Enable after merging #13916
public void testNahirisSacrificePrevented() {
setStrictChooseMode(true);