fix:修复职业报错的情况
This commit is contained in:
@@ -345,11 +345,11 @@ class Skill19(ActiveSkill):
|
||||
skill.endpower *= raito
|
||||
self._maxLayer = value
|
||||
|
||||
def update_skill_attribute(self, skill, type, old, new, data, ratio, weapon=[]):
|
||||
def update_skill_attribute(self, skill, type, old, new, data, ratio=100, weapon=(), weapon_type=None, weapon_options=()):
|
||||
if len(data) == 0:
|
||||
data = getattr(self, f'data{int(self.maxLayer)}')
|
||||
data = [i - 100 if i > 100 else 0 for i in data]
|
||||
super().update_skill_attribute(skill, type, old, new, data, ratio, weapon)
|
||||
super().update_skill_attribute(skill, type, old, new, data, ratio, weapon, weapon_type, weapon_options)
|
||||
|
||||
|
||||
# 弧光连闪
|
||||
|
||||
Reference in New Issue
Block a user