This commit is contained in:
2025-05-07 10:15:33 +08:00
parent 5cb939422c
commit 251f9762b5
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -163,7 +163,8 @@ class Skill:
else:
setattr(skill, type[1:], getattr(skill, type[1:]) * (1 + data[new] / ratio) / (1 + data[old] / ratio))
elif type.startswith('+'):
setattr(skill, type[1:], getattr(skill, type[1:]) + data[new] / ratio - data[old] / ratio)
if type[1:] == 'lv' and skill.lv > 0:
setattr(skill, type[1:], getattr(skill, type[1:]) + data[new] / ratio - data[old] / ratio)
def skillInfo(self, mode: str | None = None):
pass