diff --git a/backend/core/basic/skill.py b/backend/core/basic/skill.py index 092cc94a..9e4b33bd 100644 --- a/backend/core/basic/skill.py +++ b/backend/core/basic/skill.py @@ -122,7 +122,7 @@ class Skill: weapon = assoc.get('weapon', self.char.武器选项) exceptSkills = assoc.get('exceptSkills', []) if type[0] not in ['*', '+', '$']: - if self.precondition() and self.char.GetWeaponType()[0] in weapon: + if self.precondition() and (self.char.GetWeaponType()[0] in weapon or len(weapon) == len(self.char.武器选项)): getattr(self, type)(old, new, data, skills,exceptSkills,ratio,weapon) continue if self.precondition():