diff --git a/LittlePaimon/plugins/Paimon_Info/damage_model.py b/LittlePaimon/plugins/Paimon_Info/damage_model.py index cae64a7..1133a21 100644 --- a/LittlePaimon/plugins/Paimon_Info/damage_model.py +++ b/LittlePaimon/plugins/Paimon_Info/damage_model.py @@ -993,7 +993,7 @@ def get_damage_multipiler(info: Character) -> Optional[Dict[str, any]]: 'B:c2-减防-*': (0.3, '二命减防触发'), 'B:l0-额外倍率-E': (float(eb[1].replace('%元素精通', '')) / 100.0 * info.prop.elemental_mastery, ), 'E-e草:灭净三业': float(eb[0].replace('%攻击力', '')) / 100.0, - 'E-e草-j超激化:灭净三业超激化': float(eb[0].replace('%攻击力', '')) / 100.0 + 'E-e草-j蔓激化:灭净三业蔓激化': float(eb[0].replace('%攻击力', '')) / 100.0 } diff --git a/LittlePaimon/utils/requests.py b/LittlePaimon/utils/requests.py index 8a1a4f7..a84c676 100644 --- a/LittlePaimon/utils/requests.py +++ b/LittlePaimon/utils/requests.py @@ -7,8 +7,8 @@ from typing import Dict, Optional, Any, Union, Tuple import httpx from PIL import Image import tqdm.asyncio +from nonebot import logger -from LittlePaimon.utils import logger class aiorequests: @staticmethod @@ -170,5 +170,5 @@ class aiorequests: for url in urls: with contextlib.suppress(Exception): return await aiorequests.get_img(url=url, headers=headers, save_path=save_path, **kwargs) - logger.warning('资源检查', f'{name}下载失败,请检查网络') + logger.opt(colors=True).info(f'[资源检查]图标资源{name}下载失败') return None