This commit is contained in:
2025-05-05 19:25:33 +08:00
parent f311603a7a
commit ae1474d160
14 changed files with 113 additions and 86 deletions
+2 -1
View File
@@ -464,7 +464,8 @@ class Character(CharacterProperty):
# "masterTPLv":0 if not skill.hasTP else skill.masterTPLv,
# 'maxTPLv': 0 if not skill.hasTP else skill.TPLearnMax,
'position': skill.position,
'line':skill.line,
'line': skill.line,
'bind': skill.bind
}
)
info['skills'] = skillInfo
+5
View File
@@ -71,6 +71,7 @@ class Skill:
"""技能模式"""
buffer: bool = False
"""是否是增益技能"""
bind: bool = None
def __init__(self, char):
self.char = char
@@ -78,6 +79,10 @@ class Skill:
self.icon = self._generate_icon()
if self.line is None:
self.line = self.learnLv
if self.bind is None:
self.bind = False
if self.learnLv in [50, 85, 100]:
self.bind = True
# self.lv = self._calculate_lv()
pass