This commit is contained in:
2026-04-22 03:10:18 +08:00
parent 7e63275649
commit 613c228bdf
19 changed files with 366 additions and 155 deletions
+2 -2
View File
@@ -40,7 +40,7 @@ def get_data(prefix: str, key: int | str, func = lambda x: x):
data = next((item.get('custom', 1.0) for item in custom_cn
if item['job'] == job and item['jobGrow'] == jobGrow and item['skillId'] == skill), 1.0)
except Exception as e:
print(f"get skill {prefix}/{key} data error",e)
# print(f"get skill {prefix}/{key} data error",e)
data = None
return data
@@ -215,7 +215,7 @@ class Skill:
if skill is not None:
self.update_skill_attribute(skill, type, old, new, data, ratio, weapon)
except Exception as e:
print(f"Error applying association {type} for skill {self.name}: {e}")
# print(f"Error applying association {type} for skill {self.name}: {e}")
raise e
def update_skill_attribute(self, skill, type, old, new, data, ratio=100, weapon=[]):