This commit is contained in:
2025-04-30 16:21:53 +08:00
parent 7a44b3d8bc
commit 80933b922d
12 changed files with 4728 additions and 9 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ class Skill:
weapon = assoc.get('weapon', self.char.武器选项)
exceptSkills = assoc.get('exceptSkills', [])
if type[0] not in ['*', '+', '$']:
if self.precondition():
if self.precondition() and self.char.GetWeaponType()[0] in weapon:
getattr(self, type)(old, new, data, skills,exceptSkills,ratio,weapon)
continue
if self.precondition():