diff --git a/repo/js/副本选择难度/main.js b/repo/js/副本选择难度/main.js index ad69ddc28..007042d0f 100644 --- a/repo/js/副本选择难度/main.js +++ b/repo/js/副本选择难度/main.js @@ -261,9 +261,24 @@ "description": "Domain", "name": "荒废砌造坞", "position": [-3378.5, 0, 10535.5] + }, + { + "description": "Domain", + "name": "霜凝的机枢", + "position": [3150.53, 0, 9375.39] + }, + { + "description": "Domain", + "name": "失落的月庭", + "position": [1936.05, 0, 10828.34] + }, + { + "description": "Domain", + "name": "无光的深都", + "position": [1832.2, 0, 9967.05] } ] - Lowxy=[200,300,400,500,600,700] + Lowxy = [200, 300, 400, 500, 600, 700] let domainName = settings.name; let domainLevel = settings.level; // 使用 find 方法找到匹配的域对象 @@ -310,17 +325,17 @@ await sleep(500); keyPress("f") await sleep(5000); - let xy =0;let xx=400 - switch (domainLevel){ - case "I" :xy=200;break; - case "II" :xy=300;break; - case "III" :xy=400;break; - case "IV" :xy=500;break; - case "V" :xy=600;break; - case "VI" :xy=700;break; + let xy = 0; let xx = 400 + switch (domainLevel) { + case "I": xy = 200; break; + case "II": xy = 300; break; + case "III": xy = 400; break; + case "IV": xy = 500; break; + case "V": xy = 600; break; + case "VI": xy = 700; break; } log.info(`已选择难度${domainLevel}`) - click(xx,xy) + click(xx, xy) await sleep(1000); - click(1840,50) + click(1840, 50) })(); diff --git a/repo/js/副本选择难度/manifest.json b/repo/js/副本选择难度/manifest.json index 0d1c90de3..55762138f 100644 --- a/repo/js/副本选择难度/manifest.json +++ b/repo/js/副本选择难度/manifest.json @@ -1,12 +1,12 @@ { "manifest_version": 1, "name": "切换秘境难度", - "version": "1.0", + "version": "1.1", "bgi_version": "0.36.1", "description": "注意难度VI,难度V并非所有秘境都有,请注意分辨,无效难度参数会导致无法达到效果", "authors": [ { - "name": "Alkaid", + "name": "Polaris", "links": "https://github.com/Rosefinch-zzz" } ], diff --git a/repo/js/副本选择难度/settings.json b/repo/js/副本选择难度/settings.json index 273b95132..68a71672e 100644 --- a/repo/js/副本选择难度/settings.json +++ b/repo/js/副本选择难度/settings.json @@ -33,7 +33,10 @@ "深古瞭望所", "虹灵的净土", "昏识塔", - "荒废砌造坞" + "荒废砌造坞", + "霜凝的机枢", + "失落的月庭", + "无光的深都" ] }, {