js:自动狗粮1.4.9 (#1244)
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
使用即表示您已阅读并同意上述条款。
|
使用即表示您已阅读并同意上述条款。
|
||||||
|
|
||||||
**Last Updated:** 2025-06-26
|
**Last Updated:** 2025-06-29
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -129,6 +129,8 @@
|
|||||||
3. 在执行过程中,确保游戏窗口保持在前台,避免干扰。
|
3. 在执行过程中,确保游戏窗口保持在前台,避免干扰。
|
||||||
|
|
||||||
## 更新日志
|
## 更新日志
|
||||||
|
### 1.4.9(2025.06.29)
|
||||||
|
1.优化了关于四星狗粮的处理
|
||||||
### 1.4.8(2025.06.28)
|
### 1.4.8(2025.06.28)
|
||||||
1.替换掉富A 508号路径
|
1.替换掉富A 508号路径
|
||||||
### 1.4.7(2025.06.26)
|
### 1.4.7(2025.06.26)
|
||||||
|
|||||||
@@ -1178,14 +1178,14 @@ async function decomposeArtifacts(keep4Star, doDecompose) {
|
|||||||
if (settings.keep4Star) {
|
if (settings.keep4Star) {
|
||||||
log.info(`保留的四星数量: ${fourStarNum}`);
|
log.info(`保留的四星数量: ${fourStarNum}`);
|
||||||
}
|
}
|
||||||
let resultExperience = resinExperience + (settings.keep4Star ? 2520 * fourStarNum : 0);
|
let resultExperience = resinExperience;
|
||||||
if (resultExperience === 0) {
|
if (resultExperience === 0) {
|
||||||
resultExperience = initialValue;
|
resultExperience = initialValue;
|
||||||
}
|
}
|
||||||
log.info(`计入四星的经验: ${resultExperience}`);
|
|
||||||
const result = {
|
const result = {
|
||||||
mora: recognizedText, // 将 recognizedText 赋值给 mora
|
mora: recognizedText, // 将 recognizedText 赋值给 mora
|
||||||
artifactExperience: resultExperience
|
artifactExperience: resultExperience,
|
||||||
|
fourStarNum: fourStarNum
|
||||||
};
|
};
|
||||||
await genshin.returnMainUi();
|
await genshin.returnMainUi();
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 1,
|
"manifest_version": 1,
|
||||||
"name": "自动狗粮重制版",
|
"name": "自动狗粮重制版",
|
||||||
"version": "1.4.8",
|
"version": "1.4.9",
|
||||||
"tags": ["好感", "盗宝团", "愚人众", "鳄鱼", "兽肉", "狗粮"],
|
"tags": ["好感", "盗宝团", "愚人众", "鳄鱼", "兽肉", "狗粮"],
|
||||||
"description": "通过不同好感任务卡时间后运行狗粮任务以提高狗粮总收益,需要正确配置好感队伍的战斗策略,并在自定义配置中指定好感和狗粮队伍名称",
|
"description": "通过不同好感任务卡时间后运行狗粮任务以提高狗粮总收益,需要正确配置好感队伍的战斗策略,并在自定义配置中指定好感和狗粮队伍名称",
|
||||||
"authors": [
|
"authors": [
|
||||||
|
|||||||
Reference in New Issue
Block a user