mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
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:
@@ -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) {
|
||||
// CR 401.5: freeze top library cards until cast/activated so player can't cheat and see the next
|
||||
game.setTopLibsCast();
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user