js:新增冰造物 NPC 点赞自动化脚本 - #3613
Conversation
新增至冬冰造物 NPC 点赞自动化 JS 脚本。 冰造物放在至冬部分NPC身边范围内可以增加点赞数。 包含 Point 01~09 地图追踪、两次点赞与最终造物清理、热能恢复调度、路线独立开关、连续路线分支、按点赞量排序及镜头标定设置。
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9ccdf5fa6a
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| "map_match_method": "SIFT", | ||
| "map_name": "Teyvat", | ||
| "name": "point04", | ||
| "tags": [ |
There was a problem hiding this comment.
当默认启用 Point 04 时,main.js 会读取这里的 点赞=4 用于排序和最终统计,但 settings.json、两份 README 及提交说明均将该点标为 1 名 NPC、两次共 2 赞;因此默认路线会报告 22 而非文档声明的 20 赞,全路线会报告 36 而非 34 赞,“高点赞优先”也会把该点错误地按 4 赞排序。请按实测 NPC 数量统一路线的 description/tag 与设置和文档;若该点确为 1 人,应将标签改为 点赞=2。
AGENTS.md reference: AGENTS.md:L13-L13
Useful? React with 👍 / 👎.
|
脚本用来干什么 |
|
@A-Little-AnQi 您好呀,这个脚本用于自动获取至冬“冰造物”系统的 NPC 点赞。 |
|
这个获取点赞数,真的很多人需要吗... |
|
@Leeon-666 🥺万一呢hhhhh |
|
建议按照PR #3615 的规范,把路线名称按照规范修改一下,然后Pathing目录下不要放README.md,可以和上级目录的README.md合并,README.md不要太繁杂,参考规范润色一下 |
|
好的豪得,我改下~ |
按规范重命名 Pathing 路线并同步 info.name; 移除 Pathing 目录 README,将必要说明合并至项目 README; 拆分 main.js 模块,保留原路线坐标与执行逻辑。
There was a problem hiding this comment.
过多设置项,几十个的数量过于夸张,请自行缩减,不要让ai做最终决定,需要自行思考保留哪些
仅保留运行模式,各 Point 独立开关,镜头角度还有4K时序补偿开关。
功能说明
新增
repo/js/IceObjectNpcLike,用于自动前往至冬 NPC 工位,通过两次放置冰造物获得点赞,并在每个点位结束前完成最终清理。主要功能:
实机测试
已进行完整路线测试,运行正常。
主要测试环境:
1920×1080和2560×1440,16:9;3;BitBlt;SIFT地图匹配;0.64.0。路线前置
README.md。安全与实现说明
脚本仅使用 BetterGI 公开 JS API 和地图追踪资源:
所有 Pathing 资源的实际用途、路线依赖和设置方法均已在 README 中说明。