From ce015832ad73c9e7ef4aebac62680b791b1e4d51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B7=E4=B8=AA=E5=90=8D=E5=AD=97=E5=A5=BD=E9=9A=BE?= =?UTF-8?q?=E7=9A=84=E5=96=B5?= <25520958+MisakaAldrich@users.noreply.github.com> Date: Thu, 20 Nov 2025 13:09:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8D=83=E6=98=9F=E5=A5=87=E9=81=87?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=9A=84=E7=94=B3=E8=AF=B7=E9=80=A0=E8=AE=BF?= =?UTF-8?q?=E5=9D=90=E6=A0=87=E5=8F=98=E5=8C=96=20(#2379)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repo/js/DoubleFriendshipEncounterPoints/main.js | 14 +++++++------- .../DoubleFriendshipEncounterPoints/manifest.json | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) 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": [ {