Skip to content

Commit 8ecfeba

Browse files
committed
✨ feat(combat): 新增战斗和终极技能按键绑定
- 将“e”键映射到战斗键,用于执行战斗操作 - 将“q”键映射到终极技能键,用于激活终极技能
1 parent f40932c commit 8ecfeba

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/tasks/fullauto/ImportTask.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,10 @@ def _handle_keyboard(self, action_type, key):
441441
key = self.get_interact_key()
442442
elif key == '4':
443443
key = self.get_spiral_dive_key()
444+
elif key == 'e':
445+
key = self.get_combat_key()
446+
elif key == 'q':
447+
key = self.get_ultimate_key()
444448

445449
# 4. 执行实际按键操作
446450
if action_type == "key_down":

0 commit comments

Comments
 (0)