This commit is contained in:
2025-05-12 22:45:13 +08:00
parent 34a1845e95
commit edffac722b
24 changed files with 760 additions and 159 deletions
+1
View File
@@ -40,6 +40,7 @@ class CharacterEquipInfo:
fusion = get_equipment(equVerison).stone_dict.get(self.fusion, None)
if equ is not None and (equ.itemType == part or equ.itemDetailType == part or (equ.itemType == '武器' and part == '副武器')):
self.equInfo = equ.adapt(self.adaptation)
self.adaptation = min(self.adaptation, self.equInfo.max_adaptation)
if part == '副武器' and equ.itemType == '武器':
self.equInfo.itemType = "副武器"
else:
+2 -1
View File
@@ -14,7 +14,7 @@ class Skill:
_lv: int = 0
id: int = 0
"""技能ID"""
icon: str = '$char/$name'
icon: str = '$char/$uuid'
"""技能图标,默认当前职业下该技能名称对应的图标,支持以下模板字符串
$common 通用图标路径
$char 当前职业图标路径
@@ -72,6 +72,7 @@ class Skill:
buffer: bool = False
"""是否是增益技能"""
bind: bool = None
uuid: str = None
def __init__(self, char):
self.char = char