Commit Graph

22 Commits

Author SHA1 Message Date
Takaranoao
399441b9e8 优化技能冷却处理逻辑 (#1321)
* 在路径追踪重构了部分冷却处理逻辑,战斗脚本e增加wait参数可等待技能冷却而不是跳过。采矿e增加等待。尝试修复路径追踪 UseElementalSkill 与采矿脚本冲突的问题。

* 给CombatCommand加入快速跳过e的选项

* 优化技能冷却处理逻辑,增加OcrSkillCd属性以支持OCR识别的技能冷却时间,并调整相关技能CD计算和等待逻辑,尝试修复纳西妲采集终止时按键未弹起的问题

* 优化战斗任务中的技能冷却处理逻辑

* 更新纳西妲技能冷却时间记录,改为使用UTC时间并增加日志输出以便调试

* 增加最大技能CD检查,以排除系统时间/日期同步导致无限卡死。修复跑图路切人。(ps:主板电池没电应该去修主板)

* 修复CheckAvatarAvailable

* fix AutoFightTask skill cooldown logic and improve comments

* 尝试修复脚本在"当前角色"下的小问题

* 尝试修复脚本在"当前角色"下的小问题,Avatar类结构调整,重新做了"根据技能cd优化出招"部分。

* Refactor avatar retrieval in PathingConditionConfig to use GetAvatars method and update skill cooldown references

* Fix variable naming for clarity in CombatScenes

* 在自动战斗执行前预先过滤不可执行的脚本。

---------

Co-authored-by: 辉鸭蛋 <huiyadanli@gmail.com>
2025-04-04 13:54:44 +08:00
辉鸭蛋
202ac61242 fix #1100 2025-02-04 20:25:31 +08:00
辉鸭蛋
e2afabc7f6 fixed #988
修复战斗策略参数校验提示在()不存在时未正确展示的问题
2025-01-10 00:04:14 +08:00
辉鸭蛋
9580dd916a pathing: add action combat_script 2024-11-16 22:48:26 +08:00
qhy040404
c490d29aa1 code cleanup 2024-08-14 18:01:02 +08:00
辉鸭蛋
36cde37fea switch to combobox config 2024-05-31 22:26:44 +08:00
辉鸭蛋
19c441b8c6 finish one click fight macro 2024-04-16 01:02:42 +08:00
辉鸭蛋
a0f94babe8 init one key fight task 2024-04-14 21:54:43 +08:00
辉鸭蛋
f1ac26155a auto select strategy based on team avatars 2024-04-14 01:31:59 +08:00
huiyadanli
85f87b02aa auto tcg: default character card config #217 2024-01-21 21:39:11 +08:00
huiyadanli
d888a5f119 fix some script bug 2024-01-14 22:21:36 +08:00
huiyadanli
4b5b8f9b88 more combat script 2024-01-14 21:30:54 +08:00
huiyadanli
9a0fa23451 add alias support 2024-01-14 00:08:59 +08:00
huiyadanli
d2dc2afcf5 add avatar alias 2024-01-14 00:05:25 +08:00
huiyadanli
02c6436a8b fix: combat script parse #203 2024-01-11 23:15:51 +08:00
huiyadanli
cc8115710f fix log & use resin with retry 2024-01-07 22:36:29 +08:00
huiyadanli
87df7297e1 support Neuvillette charge and more command 2024-01-07 16:46:16 +08:00
huiyadanli
92a084cde8 support Nahida long e 2024-01-07 15:56:06 +08:00
huiyadanli
819587d2bd mandatory assignment of team avatars 2024-01-07 14:56:58 +08:00
huiyadanli
64bee42794 add auto fight task 2024-01-07 11:18:15 +08:00
huiyadanli
f992b87acb add combat strategy ui and test it 2024-01-06 23:44:13 +08:00
huiyadanli
66cd73dbf3 universal combat strategy 2024-01-06 22:59:23 +08:00