feat:同步国服数据
This commit is contained in:
@@ -65,6 +65,8 @@ def get_data(prefix: str, key: int | str, func: Callable[[Any], Any] = _identity
|
||||
elif key == "custom":
|
||||
data = next((item.get('custom', 1.0) for item in custom_cn or []
|
||||
if item['job'] == job and item['jobGrow'] == jobGrow and item['skillId'] == skill), 1.0)
|
||||
elif key == "cdList":
|
||||
data = [0] + [row.get("coolTime", 0) for row in skill_data["levelInfo"]["rows"]]
|
||||
except Exception:
|
||||
# print(f"get skill {prefix}/{key} data error")
|
||||
data = None
|
||||
|
||||
Reference in New Issue
Block a user