Repository navigation
Commit f0b4d85
committed
2026-10-10 游戏更新改了 UI 美术,上游同日开了三个素材修复 PR,本提交移植与本库相关的部分。
注意:本库与上游 runhey/master 已长期分叉(共同祖先 2025-11-15;上游多 757 个提交、本库多 1062 个),
故按文件取用,而非合并分支。
--- 取自 runhey#1891(smallwin-jq 退出战斗确认按钮)
- gb/gb_exit_ensure.png 换用其素材(135x63 -> 95x46)
- I_EXIT_ENSURE 的 roi 同步收紧:roi_front=(701,414,95,46)、roi_back=(648,388,220,96)
(原为固定位置比对 (674,388,135,63);新框完全落在金色"确定"按钮内,并容许弹窗轻微位移)
- gb/image.json 标注元数据同步
- 该 PR 其余 5 个文件只是注释/排序等装饰性改动,未采纳
- 交叉校验:与本地独立截取的同一弹窗素材在重叠区一致性 0.9874
--- 取自 runhey#1892(weirj2016-ai 悬赏封印独立奖励识别图)
- 新增 tasks/WantedQuests/wq/ui_rewardnew.png (239x24) 与规则 I_UI_REWARDNEW (threshold 0.7)
- tasks/base_task.py:ui_get_reward() / ui_reward_appear_click() 增加 reward_image 参数,
默认仍用通用 I_UI_REWARD,行为不变;悬赏的奖励弹窗与通用那张不同型
- tasks/WantedQuests/script_task.py:两处宝箱奖励调用改为传 reward_image=self.I_UI_REWARDNEW
本库悬赏探索继承探索任务,其"小纸人奖励"路径仍用通用 I_UI_REWARD(已修),未改动
- 未采用上游的 I_UI_REWARDnew 别名写法(本库类直接继承 assets,用 I_UI_REWARDNEW 即可)
--- 取自 runhey#1893(m123711 换御魂确认按钮)
- tasks/Component/SwitchSoul/ss/ss_sou_switch_sure.png 换用其素材(180x61,与 roi_front 尺寸一致,无代码改动)
--- 取自 runhey#1886(allesgutefy 组队邀请默认勾选框)
- check_and_invite() 点击 I_I_NO_DEFAULT 后 sleep(0.8),避免 UI 状态未刷新导致误判
未采纳:runhey#1885(本库已有 run_task_or_default_general_battle)、runhey#1862 彼世逢魔,
以及 runhey#1872/runhey#1870/runhey#1873/runhey#1847/runhey#1822(对应任务本库未启用)。
旧素材均本地备份为同名 .bak-20261010(未纳入版本库)。
1 parent b4cef48 commit f0b4d85
10 files changed
Lines changed: 30 additions & 11 deletions
File tree
- tasks
- Component
- GeneralBattle
- gb
- GeneralInvite
- SwitchSoul/ss
- WantedQuests
- wq
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
| 105 | + | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
660 | 660 | | |
661 | 661 | | |
662 | 662 | | |
| 663 | + | |
663 | 664 | | |
664 | 665 | | |
665 | 666 | | |
| |||
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
136 | 138 | | |
137 | 139 | | |
138 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
171 | 181 | | |
172 | 182 | | |
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
697 | 697 | | |
698 | 698 | | |
699 | 699 | | |
700 | | - | |
| 700 | + | |
701 | 701 | | |
702 | 702 | | |
| 703 | + | |
703 | 704 | | |
704 | 705 | | |
705 | 706 | | |
706 | 707 | | |
707 | | - | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
708 | 711 | | |
709 | | - | |
| 712 | + | |
710 | 713 | | |
711 | 714 | | |
712 | 715 | | |
713 | 716 | | |
714 | 717 | | |
| 718 | + | |
715 | 719 | | |
716 | 720 | | |
| 721 | + | |
| 722 | + | |
717 | 723 | | |
718 | 724 | | |
719 | 725 | | |
720 | 726 | | |
721 | 727 | | |
722 | | - | |
| 728 | + | |
723 | 729 | | |
724 | 730 | | |
725 | 731 | | |
726 | 732 | | |
727 | | - | |
| 733 | + | |
728 | 734 | | |
729 | 735 | | |
730 | 736 | | |
731 | 737 | | |
732 | | - | |
| 738 | + | |
733 | 739 | | |
734 | 740 | | |
735 | 741 | | |
| |||
0 commit comments