返回模组列表
在 Nexus Mods 查看

游戏玩法
UndoAndRedo
作者:Jiesi Luov1.0.0
Combat undo/redo for Slay the Spire 2.
创建时间
2026年3月9日
更新时间
2026年3月18日
详情介绍
此模组描述由作者在 Nexus Mods 上以英文提供。
Press Left Arrow to undo, Right Arrow to redo.
Features
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
Only tested in windows + single player.
https://github.com/luojiesi/SLS2Mods/tree/master
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