Zurück zu Mods
KeyboardQuickPlay
Gameplay

KeyboardQuickPlay

von MhzvV1.0.8

Select a card and press Space to play it instantly.选中卡牌后按空格键快速出牌。

Erstellt

11. März 2026

Aktualisiert

19. Juni 2026

Auf Nexus Mods ansehen

Beschreibung

Diese Beschreibung wird vom Mod-Autor auf Nexus Mods auf Englisch bereitgestellt.

KeyboardQuickPlay



选中卡牌后按空格键快速出牌,支持自定义按键(键盘/鼠标)。


功能特性



  • 一键出牌:选中卡牌后按空格键,无需鼠标拖拽或点击目标;按住不放可在选牌时连续打出
  • 智能场景:无需选择目标,单一目标、全体攻击等场景瞬间打出
  • 智能目标:自动攻击上次攻击的敌人,首次攻击或目标死亡时选血量最低的敌人;队友技能默认选血量最低的队友
  • 自定义按键:支持键盘按键和鼠标按键,通过配置文件修改
  • 无缝兼容:不影响原有鼠标操作


安装



1. 将 KeyboardQuickPlay.dll 和 KeyboardQuickPlay.json 复制到游戏目录下的 mods 文件夹:

Slay the Spire 2/
└── mods/
├── KeyboardQuickPlay.dll
└── KeyboardQuickPlay.json

2. 启动游戏,MOD 会自动加载

自定义按键



首次启动后会自动生成配置文件 mods/config/KeyboardQuickPlay.cfg:

{
"QuickPlayButton": "Space"
}

修改 QuickPlayButton 的值即可更换按键,支持:
  • 键盘:Space、F、G、Tab、Enter 等
  • 鼠标:Xbutton1(侧键后退)、Xbutton2(侧键前进)、Middle(中键)等


技术实现



  • 使用 Harmony 库进行运行时 Patch
  • 支持通过配置文件自定义按键


致谢



本项目基于 Alchyr/ModTemplate-StS2 模板创建。

特别感谢玩家 Kishibukukuuuu 协助排查跨环境兼容性问题。

许可证



本项目遵循原游戏的 MOD 许可政策。

源代码



源代码托管于 GitHub。

KeyboardQuickPlay



Select a card and press Space to play it instantly. Supports custom key bindings (keyboard/mouse).


Features



  • One-Click Play: Select a card and press Space — no mouse dragging or clicking required; hold the key to play cards continuously as you select them
  • Smart Scenarios: Instantly plays cards with no target, single target, or AoE attacks
  • Smart Targeting: Auto-attacks the last targeted enemy; selects lowest-HP enemy on first attack or when the target dies. Ally skills default to the lowest-HP ally
  • Custom Key Binding: Supports keyboard keys and mouse buttons via config file
  • Seamless Integration: Doesn't affect original mouse controls


Installation



1. Copy KeyboardQuickPlay.dll and KeyboardQuickPlay.json to the mods folder in your game directory:

Slay the Spire 2/
└── mods/
├── KeyboardQuickPlay.dll
└── KeyboardQuickPlay.json

2. Launch the game — the mod will load automatically

Custom Key Binding



A config file mods/config/KeyboardQuickPlay.cfg is auto-generated on first launch:

{
"QuickPlayButton": "Space"
}

Change the QuickPlayButton value to rebind:
  • Keyboard: Space, F, G, Tab, Enter, etc.
  • Mouse: Xbutton1 (side back), Xbutton2 (side forward), Middle (middle click), etc.


Technical Details



  • Uses the Harmony library for runtime patching
  • Supports custom key binding via config file


Acknowledgments



This project is based on the Alchyr/ModTemplate-StS2 template.

Special thanks to player Kishibukukuuuu for helping debug cross-environment compatibility issues.

License



This project follows the original game's modding policy.

Source Code



Source code hosted on GitHub.
KeyboardQuickPlay | STS2 (Slay the Spire 2) Mod-Detail | STS2.GG