Commit Graph

93 Commits

Author SHA1 Message Date
辉鸭蛋
fc2c809702 release all key before tp & release all key after auto fight 2025-03-06 00:22:12 +08:00
秋云
62da52d5d8 feat: add configurable HP restoration options at Statue of the Seven (#1223)
* feat: add configurable HP restoration options at Statue of the Seven

* fix: Create GiTpPosition as subclass of GiWorldPosition

* fix: Update teleport point selection logic in ViewModel

* fix: Change log info
2025-03-01 22:04:16 +08:00
秋云
4932c52af9 fix: remove while loop in TpTask (#1221)
* fix: prevent infinite loop in TpTask.cs

* fix: prevent redundant zoom operation

* fix: handle party switching failures in PathExecutor; add pre-switch check for switch party task

* fix: typos.
2025-02-28 10:00:59 +08:00
秋云
a9896f0ff1 修改部分细节 (#1189)
* 1. MoveMapTo之前保证缩放大于2,以保证初始中心点识别不会出错;
2. 重构MoveMapTo,主要去除了首次的试探过程(由于直接使用游戏坐标来确定需要移动的距离,试探已经不再需要)。

* 直接抛出异常而不是break

* 首次切换队伍时不会触发传送,而后续切换其他队伍时(RunnerContext.Instance.PartyName 已非空)才会触发传送。修改为任何时候都触发传送。

* 打开编队前添加少许延时

* 添加配置项 切换队伍前是否前往须弥七天神像
2025-02-23 23:39:57 +08:00
秋云
b82395cc3a 1. MoveMapTo之前保证缩放大于2,以保证初始中心点识别不会出错; (#1187)
2. 重构MoveMapTo,主要去除了首次的试探过程(由于直接使用游戏坐标来确定需要移动的距离,试探已经不再需要)。
2025-02-19 09:56:05 +08:00
辉鸭蛋
ccf1c37283 tp: expand non clickable areas 2025-02-12 23:12:26 +08:00
辉鸭蛋
3fcc11a617 edit tp config 2025-02-12 22:41:04 +08:00
辉鸭蛋
717bd931f7 edit tp config #1145 2025-02-12 22:13:08 +08:00
秋云
6bf0d886ca Merge pull request #1114 from physligl/main
Fix typos.
2025-02-08 13:49:11 +08:00
辉鸭蛋
33dc5f7d42 fix tptask 2025-02-06 14:11:19 +08:00
辉鸭蛋
2536b14af1 fist run not init key binding 2025-01-29 22:58:23 +08:00
辉鸭蛋
c3cffff4f3 fix CheckInBigMapUi 2025-01-29 22:23:12 +08:00
辉鸭蛋
efde38439d tp exception 2025-01-29 08:12:32 +08:00
辉鸭蛋
e42c886bbe fix domain tp 2025-01-28 16:23:43 +08:00
秋云
ce7c88f8e8 根据临近传送点的距离确定地图缩放,根据缩放等级确定当前剩余的距离。 2025-01-28 02:38:26 +08:00
秋云
b445c71e52 增加了地图移动的相关参数设置。 2025-01-24 20:38:45 +08:00
秋云
3cc3eb44a4 fix typos. 2025-01-23 23:00:57 +08:00
辉鸭蛋
9ddd3c5564 code clean 2025-01-18 15:12:35 +08:00
秋云
89e00207cb 优化传送到七天神像回血的体验。 2025-01-17 03:27:58 +08:00
秋云
8a63ac8914 fix typo. 2025-01-16 08:24:08 +08:00
秋云
c87ba278e9 修复了影向山和太山府附近点错传送锚点的问题。 2025-01-16 08:18:50 +08:00
辉鸭蛋
340c4caf49 fix 4 am skip blessing of the welkin moon 2025-01-15 01:03:16 +08:00
辉鸭蛋
fcac4aa811 tp wait 1 min #932 2025-01-10 01:18:40 +08:00
秋云
b92c52cb5c 合并。 2025-01-08 00:56:31 +08:00
秋云
b9dd66f87a 合并。 2025-01-08 00:53:49 +08:00
秋云
a85129b087 修复移动地图时概率持续点击标记。 2025-01-08 00:47:07 +08:00
秋云
e2530a1001 Merge branch 'main' of https://github.com/physligl/better-genshin-impact 2025-01-07 01:03:20 +08:00
辉鸭蛋
9f46fb00be Merge branch 'main' into main 2025-01-07 00:12:41 +08:00
Ayu0K
543e36f77e mod: 更改打开地图的方式 2025-01-06 22:55:08 +08:00
秋云
476f36a19a 确保传送任务开始前一定位于地图界面。 2025-01-06 22:55:07 +08:00
mfkvfhpdx
958c5ab7cd Merge branch 'babalae:main' into main 2025-01-06 14:08:08 +08:00
秋云
99831beb40 修复了地图移动的时候狂点标记问题,修复了移动次数从0开始计算的问题。 2025-01-06 11:51:14 +08:00
秋云
7137e52605 确保传送任务开始前一定位于地图界面。 2025-01-05 01:57:16 +08:00
zjl
4c0d9955b3 阵亡后,重试该路线。但重试,准备传回来时,有几率未打开地图界面,导致传送失败,所以加了每次重试都检查是否打开地图界面。 2025-01-03 20:50:50 +08:00
辉鸭蛋
4118e7b6f2 opt 2024-12-29 22:03:26 +08:00
辉鸭蛋
d71ff06868 fix domain and map retry 2024-12-29 20:54:31 +08:00
辉鸭蛋
6432ff1aed fix key mouse 2024-12-29 17:08:08 +08:00
秋云
8f1cf62449 优化鼠标移动逻辑。 2024-12-29 00:20:56 +08:00
秋云
34d0917818 合并分支。 2024-12-28 22:05:12 +08:00
辉鸭蛋
b83017f52e add GetBigMapZoomLevel 2024-12-28 21:29:42 +08:00
秋云
dd6b26ae8d 提高了MouseMoveMap中最小的steps数量以避免除0错误。 2024-12-28 19:22:03 +08:00
秋云
bb8ccd2297 fix typos. 2024-12-27 23:57:00 +08:00
秋云
ce75d038b2 修复地图移动前伟打开主界面的问题(上个修改导致)。限制地图最小缩放等级,以节约时间。合并冲突。 2024-12-27 23:21:22 +08:00
unknown
a861a335ac 1. 修复移动到部分传送点时经过开放区域导致移动失败的问题。2. 修复因为初始地图缩放等级过大无法点击传送点的问题。 2024-12-27 22:54:47 +08:00
unknown
57bcb3cd6b 修复地图移动的已知问题。 2024-12-25 00:24:08 +08:00
unknown
ff993f642f Revert "修复地图移动的已知问题。"
This reverts commit 4aa8c69d0e.
2024-12-25 00:19:42 +08:00
unknown
4aa8c69d0e 修复地图移动的已知问题。 2024-12-25 00:17:39 +08:00
unknown
c3c272c241 降低鼠标后半部分移动速度,以避免惯性,作为补偿前面一半的速度变快了。 2024-12-21 16:20:58 +08:00
unknown
c480cf484e 同上 2024-12-11 05:04:32 +08:00
unknown
2ce4e6d665 同上 2024-12-11 04:47:31 +08:00