diff --git a/repo/js/DoubleFriendshipEncounterPoints/main.js b/repo/js/DoubleFriendshipEncounterPoints/main.js index 433076519..7433a8677 100644 --- a/repo/js/DoubleFriendshipEncounterPoints/main.js +++ b/repo/js/DoubleFriendshipEncounterPoints/main.js @@ -302,12 +302,12 @@ const removedCharacters4 = typeof (settings.removedCharacters4) === 'undefined' } let y_avatar = 178; //好友头像按钮起始Y坐标 - let y_request = 245; //申请造访按钮起始Y坐标 + let y_request = 310; //申请造访按钮起始Y坐标 const x_avatar = 208; const x_request = 460; - const avatar_increment = 125; //两按钮相隔坐标 - const request_increment = 124; //两按钮相隔坐标 - const request_fixed_value = 560; //第四~七位好友申请造访按钮Y坐标 + const avatar_increment = 125; //好友头像两按钮相隔坐标 + const request_increment = 124; //申请造访两按钮相隔坐标 + const request_fixed_value = 560; //第三~七位好友申请造访按钮Y坐标 let request_count = 0; // 先申请造访首位好友的尘歌壶 @@ -329,11 +329,11 @@ const removedCharacters4 = typeof (settings.removedCharacters4) === 'undefined' await sleep(750); } else { // 奇数索引,递增 y_request - if (request_count < 2) { - // 前 3 位好友递增 249 + if (request_count < 1) { + // 前 2 位好友递增 y_request += request_increment; } else { - // 第 4 位及以后设为 1118 + // 第 3 位及以后设为 固定值 y_request = request_fixed_value; } request_count++; diff --git a/repo/js/DoubleFriendshipEncounterPoints/manifest.json b/repo/js/DoubleFriendshipEncounterPoints/manifest.json index 70666459c..2911cab43 100644 --- a/repo/js/DoubleFriendshipEncounterPoints/manifest.json +++ b/repo/js/DoubleFriendshipEncounterPoints/manifest.json @@ -1,8 +1,8 @@ { "manifest_version": 1, "name": "历练点双倍好感", - "version": "2.1.3", - "bgi_version": "0.44.1", + "version": "2.1.4", + "bgi_version": "0.53.1", "description": "进入好友尘歌壶,用历练点领取双倍好感\n目前支持游戏语言:简体、繁体中文、英文\n支持进入好友尘歌壶后,让指定位置角色离队", "authors": [ {