Don't update reveal from library when paying with mana ability (#6791)

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
This commit is contained in:
tool4ever
2025-01-18 22:45:13 +01:00
committed by GitHub
parent cd5a1a3824
commit a4d37824b4

View File

@@ -60,10 +60,13 @@ public class HumanPlaySpellAbility {
public final boolean playAbility(final boolean mayChooseTargets, final boolean isFree, final boolean skipStack) {
final Player human = ability.getActivatingPlayer();
final Game game = human.getGame();
boolean refreeze = game.getStack().isFrozen();
if (!skipStack) {
if (!refreeze) {
// CR 401.5: freeze top library cards until cast/activated so player can't cheat and see the next
game.setTopLibsCast();
}
if (ability.getApi() == ApiType.Charm) {
if (ability.isAnnouncing("X")) {
@@ -92,9 +95,6 @@ public class HumanPlaySpellAbility {
final Card c = ability.getHostCard();
final CardPlayOption option = c.mayPlay(ability.getMayPlay());
// freeze Stack. No abilities should go onto the stack while I'm filling requirements.
boolean refreeze = game.getStack().isFrozen();
if (ability.isSpell() && !c.isCopiedSpell()) {
fromZone = game.getZoneOf(c);
if (fromZone != null) {