Retour aux Mods
UndoAndRedo
Gameplay

UndoAndRedo

par Jiesi Luov1.0.0

Combat undo/redo for Slay the Spire 2.

Créé

9 mars 2026

Mis à jour

18 mars 2026

Voir sur Nexus Mods

Description

Cette description est fournie en anglais par l'auteur du mod sur Nexus Mods.
Press Left Arrow to undo, Right Arrow to redo.
Features
  • Undo/redo card plays, end turn, potion use, and potion discard
  • Full combat state snapshot — HP, block, powers, energy, cards, RNG, monster moves, relics, potions, orbs, and more
  • Visual refresh — hand cards, power icons, potion slots, pile counts, monster intents, and card descriptions all update correctly
  • Only active during your turn when the action queue is idle — no risk of corrupted state

Credits
Inspired by Undo the Spire for Slay the Spire 1, created by filippobaroni (Steam Workshop). This STS2 version is a ground-up rewrite for the Godot/.NET architecture but follows the same core concept of full combat state snapshots.
How It Works
Before each player action (play card, end turn, use/discard potion), the entire combat state is snapshotted. On undo, the previous snapshot is restored directly — no replay. Visual nodes are refreshed to match the restored state.
Limitations
  • Single-player only
  • Cannot undo during enemy turn or mid-animation
  • Undo is per-action, not per-card-selection

Only tested in windows + single player.

https://github.com/luojiesi/SLS2Mods/tree/master