feat:优化职业技能关联实现
This commit is contained in:
@@ -682,7 +682,7 @@ class Skill22(PassiveSkill):
|
||||
def effect(self, old, new):
|
||||
skills = []
|
||||
for i in self.char.skills:
|
||||
if i.type == "active" and i.learnLv not in [50,85,100] and i.damage and i.lv > 0:
|
||||
if i.type == "active" and i.learnLv not in [50,85,100] and i.damage and self.char.skill_effects.is_learned(i):
|
||||
skills.append(i.name)
|
||||
self.associate = [{"type":"+lv","data":[0] + [1]*self.maxLv,"ratio":1,"skills":skills}]
|
||||
super().effect(old, new)
|
||||
|
||||
Reference in New Issue
Block a user