From 10853c79a49da65c04401fcba21b2f43ccb04612 Mon Sep 17 00:00:00 2001 From: CMHopeSunshine <277073121@qq.com> Date: Thu, 21 Jul 2022 00:25:26 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E6=B7=B1=E6=B8=8A=E5=87=BA?= =?UTF-8?q?=E5=9C=BA=E7=8E=87=E6=95=B0=E6=8D=AE=E6=9B=B4=E6=96=B0=E4=B8=BA?= =?UTF-8?q?2.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Paimon_Info/draw_role_card.py | 2 +- Paimon_Wiki/abyss_rate_data.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Paimon_Info/draw_role_card.py b/Paimon_Info/draw_role_card.py index dc2bd06..64646f1 100644 --- a/Paimon_Info/draw_role_card.py +++ b/Paimon_Info/draw_role_card.py @@ -162,7 +162,7 @@ async def draw_role_card(uid, data): bg_draw.text((411 + 317 * i, 1069), artifact['主属性']['属性名'], fill='white', font=get_font(25)) if artifact['主属性']['属性名'] not in ['生命值', '攻击力', '元素精通']: bg_draw.text((408 + 317 * i, 1100), f"+{artifact['主属性']['属性值']}%", fill='white', - font=get_font(25, 'number.ttf')) + font=get_font(48, 'number.ttf')) else: bg_draw.text((408 + 317 * i, 1100), f"+{artifact['主属性']['属性值']}", fill='white', font=get_font(48, 'number.ttf')) diff --git a/Paimon_Wiki/abyss_rate_data.py b/Paimon_Wiki/abyss_rate_data.py index 3886d83..2eea417 100644 --- a/Paimon_Wiki/abyss_rate_data.py +++ b/Paimon_Wiki/abyss_rate_data.py @@ -13,7 +13,7 @@ headers = { async def get_rate(type: str = 'role'): url = f'https://www.youchuang.fun/gamerole/{type}Rate' json_data = { - "version": "2.7" + "version": "2.8" } res = await aiorequests.post(url=url, headers=headers, json=json_data) return res.json() @@ -22,7 +22,7 @@ async def get_rate(type: str = 'role'): async def get_formation_rate(layer: int = 1): url = 'https://www.youchuang.fun/gamerole/formationRate' json_data = { - "version": "2.7", + "version": "2.8", "layer": layer } res = await aiorequests.post(url=url, headers=headers, json=json_data) @@ -33,7 +33,7 @@ async def get_teammates_rate(name: str): url = 'https://www.youchuang.fun/gamerole/teammatesRate' json_data = { "name": name, - "version": "2.7" + "version": "2.8" } res = await aiorequests.post(url=url, headers=headers, json=json_data) return res.json() @@ -43,7 +43,7 @@ async def get_weapon_rate(name: str): url = 'https://www.youchuang.fun/gamerole/getWeaponByName' json_data = { "name": name, - "version": "2.7" + "version": "2.8" } res = await aiorequests.post(url=url, headers=headers, json=json_data) return res.json()