Mod一覧に戻る
UndoAndRedo
ゲームプレイ

UndoAndRedo

作者:Jiesi Luov1.0.0

Combat undo/redo for Slay the Spire 2.

作成日

2026年3月9日

更新日

2026年3月18日

Nexus Modsで見る

説明

このModの説明文は、作者が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