JS脚本: 自动狗粮1.23.4 (#1117)

This commit is contained in:
mno
2025-06-16 18:55:48 +08:00
committed by GitHub
parent 8f22bd7d66
commit e2d0e5b3c1
3 changed files with 11 additions and 2 deletions

View File

@@ -13,6 +13,8 @@ const DEFAULT_FIGHT_TIMEOUT_SECONDS = 120;
const grindPartyName = settings.grindPartyName;
const operationType = settings.operationType || "不卡时间ab交替运行";
let enemyType = "无";
//处理操作模式信息
switch (operationType) {
case "盗宝团好感卡时间":
@@ -599,6 +601,11 @@ async function AutoFriendshipDev(times, ocrTimeout, fightTimeout, enemyType = "
let friendTimes = 0;
for (let i = 0; i < times; i++) {
if (enemyType === "无") {
log.info(`不进行好感`);
return 0;
}
// 获取当前时间
const now = new Date();