This commit is contained in:
2026-04-21 02:30:13 +08:00
parent 7779d99880
commit c6c9f960da
5 changed files with 17 additions and 6 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ async def get_oath_info(state: AltersDep, suitId: str, skillId: str, rarity: str
if oath is not None:
oathSkill = next((x for x in oath.skills if x.skillId == skillId), None)
if oathSkill is not None:
skill = oathSkill.__dict__
skill = {**oathSkill.__dict__, 'point': oath.points, 'imageUrl': oath.imageUrl}
return skill
info = get_redis_info(redis, f'dcalc:oath:{rarity}:{skillId}', get_info)