JS脚本:RoleExperienceCalculation (#2605)

* Add files via upload

* Add files via upload

* Add files via upload

* Delete repo/js/RoleExperienceCalculation/desktop.ini
This commit is contained in:
sk skr~~~
2026-01-03 10:25:44 +08:00
committed by GitHub
parent fb1b231419
commit 373da85817
169 changed files with 3309 additions and 0 deletions

View File

@@ -0,0 +1,73 @@
# 《原神角色经验计算脚本》使用说明
## 一、注意事项
* 联机状态无法运行
* ocr识别会小概率出现偏差重新运行即可
* 脚本生成的报告文件仅供作为参考,实际请按游戏为准
## 二、脚本概述
1. 自动识别指定角色的当前等级和经验值
2. 计算升级到目标等级所需的总经验值
3. 可选:结合背包经验书进行统合计算
4. 自动生成经验计算报告并保存为文本文件
## 三、使用方法和配置参数说明
1. 需在调度器的配置组中点击 “+添加 → JS脚本” 找到本JS脚本后加入配置组。
2. 加入配置组后鼠标右键脚本, 修改JS脚本自定义配置。
3. 脚本运行完成无异常后,会在脚本根目录下的 “test” 文件夹内创建文本文件,
文件名为exp_result_YYYYMMDD_HHMMDD即exp_result_年月日_时分秒。
脚本的"js自定义配置"设置:
1. 目标角色 (必填)
- 格式:单个角色名,或多个角色用逗号分隔(中英文皆可),支持使用别名
- 示例:"刻晴,甘雨,帝君"
2. 目标等级 (必填)
- 格式:整数,表示目标等级
- 示例90 (范围2-90)
3. 结合当前背包拥有的经验书计算 (可选)
- 将扫描背包内经验书并统合计算
## 四、脚本文件结构
* main.js主要的脚本文件
* manifest.json脚本配置文件
* settings.json用户配置文件
* test/:存放脚本运行后保存的文本文件
* lib/存放脚本依赖的JS模板文件
* assets/:存放模板图片
## 五、关于脚本运行后保存的文本文件
以下是示例文本内容:
=== 原神角色升级所需的经验记录 [2026/1/1 16:05:06] ===
===【角色数据】===
【雅珂达】
当前等级1级
当前经验0
升级至90级所需经验8362650
===【经验书数据】===
大英雄的经验:
数量300
总经验值6000000
冒险家的经验:
数量561
总经验值2805000
流浪者的经验:
数量100
总经验值100000
=== 记录结束 ===
总计角色数1 | 所有角色升至90级总计所需经验8362650
背包经验书种类数3 | 总计经验值8905000
经验盈余542350超出需求
当前世界等级9
单次启示之花奖励20原粹树脂
大英雄的经验4~5本
冒险家的经验6~7本
================ 计算结果 ================
当前背包内经验书已满足经验需求,无需刷取

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 B

View File

@@ -0,0 +1,107 @@
旅行者,,单手剑
安柏,火,弓
凯亚,冰,单手剑
丽莎,雷,法器
芭芭拉,水,法器
雷泽,雷,大剑
香菱,火,长枪
北斗,雷,大剑
行秋,水,单手剑
凝光,岩,法器
菲谢尔,雷,弓
班尼特,火,单手剑
诺艾尔,岩,大剑
重云,冰,大剑
砂糖,风,法器
琴,风,单手剑
迪卢克,火,大剑
七七,冰,单手剑
莫娜,水,法器
温迪,风,弓
可莉,火,法器
迪奥娜,冰,弓
达达利亚,水,弓
辛焱,火,大剑
钟离,岩,长枪
阿贝多,岩,单手剑
甘雨,冰,弓
魈,风,长枪
胡桃,火,长枪
罗莎莉亚,冰,长枪
烟绯,火,法器
优菈,冰,大剑
枫原万叶,风,单手剑
神里绫华,冰,单手剑
早柚,风,大剑
宵宫,火,弓
埃洛伊,冰,弓
九条裟罗,雷,弓
雷电将军,雷,长枪
珊瑚宫心海,水,法器
托马,火,长枪
五郎,岩,弓箭
荒泷一斗,岩,大剑
云堇,岩,长枪
申鹤,冰,长枪
八重神子,雷,法器
神里绫人,水,单手剑
夜兰,水,弓
久岐忍,雷,单手剑
鹿野院平藏,风,法器
柯莱,草,弓
提纳里,草,弓
多莉,雷,大剑
坎蒂丝,水,长枪
赛诺,雷,长枪
妮露,水,单手剑
纳西妲,草,法器
莱依拉,冰,单手剑
珐露珊,风,弓
流浪者,风,法器
瑶瑶,草,长枪
艾尔海森,草,单手剑
迪希雅,火,大剑
米卡,冰,长枪
卡维,草,大剑
白术,草,法器
绮良良,草,单手剑
琳妮特,风,单手剑
林尼,火,弓
菲米尼,冰,大剑
那维莱特,水,法器
莱欧斯利,冰,法器
夏洛蒂,冰,法器
芙宁娜,水,单手剑
娜维娅,岩,大剑
夏沃蕾,火,长枪
嘉明,火,大剑
闲云,风,法器
千织,岩,单手剑
阿蕾奇诺,火,长枪
赛索斯,雷,弓
克洛琳德,雷,单手剑
希格雯,水,弓
艾梅莉埃,草,长枪
卡齐娜,岩,长枪
玛拉妮,水,法器
基尼奇,草,大剑
希诺宁,岩,单手剑
欧洛伦,雷,弓
恰斯卡,风,弓
茜特菈莉,冰,法器
玛薇卡,火,大剑
蓝砚,风,法器
梦见月瑞希,风,法器
伊安珊,雷,长枪
瓦蕾莎,雷,法器
伊法,风,法器
爱可菲,冰,长枪
塔利雅,水,单手剑
丝柯克,冰,单手剑
伊涅芙,雷,长枪
菈乌玛,草,法器
爱诺,水,大剑
菲林斯,雷,长枪
奈芙尔,草,法器
雅珂达,风,弓
杜林,火,单手剑

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 821 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Some files were not shown because too many files have changed in this diff Show More