This commit is contained in:
2026-05-20 18:25:21 +08:00
parent 777dcf2524
commit 7c5488ff24
15 changed files with 293 additions and 75 deletions
+28
View File
@@ -208,6 +208,34 @@ async def get_skill_data_summary(
job (str): 职业名称,必填参数
skills (str, optional): 技能列表字符串,逗号拼接技能名称,不传递或者传递为空时,查询所有技能,默认为''
weapons (str, optional): 武器类型列表字符串,逗号拼接武器类型名称,不传递或者传递为空时,查询所有武器类型,默认为''
Response:
{
"code": int,
"message": str,
"data": [
{
"技能名称": str,
"武器类型": str,
"职业": str,
"技能描述": str,
"技能等级": int,
"冷却时间": float,
"消耗": str,
"伤害": float,
# 已学等级
"learnedLevel": int | str,
"基础百分比": float | str,
"等效百分比": float | str,
"原始冷却": float | str,
"实际冷却": float | str,
"理论秒伤": float | str,
"SP": float | None | str,
# 所在等级
"unlockAtRoleLevel": str | None,
}
]
}
"""
job = job.replace('(', '(').replace(')', ')')
key = f'openapi:skillData:summary:{job}'