From 9c71adf2ed953f7438ce085316180819ae648c01 Mon Sep 17 00:00:00 2001 From: ccc_dw <2931589710@qq.com> Date: Sun, 5 Nov 2023 17:28:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hexi/plugins/battlefield2042status/data.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hexi/plugins/battlefield2042status/data.py b/hexi/plugins/battlefield2042status/data.py index f8e3159..2db6678 100644 --- a/hexi/plugins/battlefield2042status/data.py +++ b/hexi/plugins/battlefield2042status/data.py @@ -124,7 +124,7 @@ data = { "weaponName": "NTW-50", "image": "https://cdn.gametools.network/weapons/bf2042/weapon_default_NTW-20-76c5dc49.png", "id": "pri_ba_ntw50", - "kills": 131, + "kills": 114514, "damage": 14956, "bodyKills": 113, "headshotKills": 18, @@ -2016,7 +2016,7 @@ data = { "vehicleName": "F-35E Panther", "image": "https://cdn.gametools.network/vehicles/bf2042/F35-6e81cc1d.png", "id": "air_plane_f35e", - "kills": 38, + "kills": 114514, "killsPerMinute": 0.24, "damage": 9625, "spawns": 73, @@ -2646,7 +2646,7 @@ data = { "vehicleName": "SU-57 FELON", "image": "https://cdn.gametools.network/vehicles/bf2042/SU57-8c465ace.png", "id": "air_plane_su57", - "kills": 22, + "kills": 1919, "killsPerMinute": 0.25, "damage": 5173, "spawns": 51, @@ -2660,7 +2660,7 @@ data = { "callIns": 30, "damageTo": 4569, "destroyed": 24, - "timeIn": 5300 + "timeIn": 3600000 }, { "type": "Helicopter", @@ -5955,7 +5955,7 @@ async def query_data(player, platform, query_type): rest = str_filter(rest) if response.status == 200: result = json.loads(rest) - img = await builder(data, platform, query_type) + img = await builder(result, platform, query_type) mes = (True, img) else: mes = (False, "请求错误")