Undo and redo

by Jiesi Luo·v1.0.0·Updated 2026-04-10

Provides combat undo/redo functionality for Slay the Spire 2.

Screenshots 1 screenshots

About this mod Machine translation

Provides combat undo/redo functionality for Slay the Spire 2.

UndoAndRedo

🎮 **A combat rollback tool specially designed for "Slay the Spire 2"! ** Tired of playing the wrong cards with a slippery hand? This mod allows you to easily undo actions, like having a "regret potion" in the game.

✨ Core Functions

  • **Undo/Redo multiple operations**: Supports undoing or redoing cards, ending the turn, using potions, and discarding potions.
  • **Complete combat status snapshot**: When recovering, all your health, block, ability, energy, hand cards, random number seeds, monster actions, relics, potions, charge balls, etc. will be perfectly restored.
  • **Visual synchronized refresh**: Hand cards, ability icons, potion slots, deck counts, monster intentions, and card descriptions will all be updated correctly to ensure that the interface is consistent with the game state.
  • **Safe and Reliable**: Only activates during your turn and the action queue is idle, avoiding the risk of status damage.

🎯 How to use

The operation is extremely simple!

  • **Undo**: Press the **Left Arrow Key** of the keyboard.
  • **Redo**: Press the **right arrow key** of your keyboard.

⚙️ How it works

Before the player performs each action (playing a card, ending a turn, using/discarding a potion), the module takes a "snapshot" of the entire combat state. When you select Undo, the game loads directly from the previous snapshot rather than re-simulating the process, refreshing all visual elements to match the restored state.

⚠️ Known limitations

  • **Single player mode only**.
  • **Cannot be undone during the enemy's turn or animation**.
  • **Undo by action**: The smallest unit of undo is a complete player action, not the selection process of a single card.

---

💡 **Usage Suggestions**: This module is an excellent tool for practicing complex combos and testing different playing strategies. It can also save your gaming experience when you are annoyed by misoperations!

🔗 **Related Links**

  • Inspired by the module Undo the Spire (author **filippobaroni**, Steam Workshop) of "Slay the Spire 1".
  • This version of Slay the Spire 2 is a new rewrite for the Godot.NET architecture, but follows the same core concept of complete combat status snapshots.
  • Module source code and more information: GitHub project page
*Note: Currently only tested in Windows system and single-player mode. *

Install & use Install: follow the bundled instructions

  1. Unzip the archive from playbuff and read the bundled readme / instructions first.
  2. There is no universal mod manager for this game: some mods replace game files directly, some go into a game-specific Mods folder, and some need a game-specific community loader or tool first — follow the bundled readme.
  3. Place the files exactly as the readme says; mods with listed dependencies need those installed too.
  4. Launch the game to confirm it loaded; some games require enabling mods in settings or an in-game mod menu.

Install locations vary a lot between games and mods — the bundled readme is the most reliable guide.

File & checksum

Filename
UndoAndRedo
File size
30.9 KiB