This commit is contained in:
2025-11-29 21:39:57 +08:00
parent 58f3182c08
commit 74aff26e0c
2 changed files with 9 additions and 9 deletions
@@ -189,7 +189,7 @@ class Skill16(PassiveSkill):
if weapon is None or weapon.itemDetailType != "短剑": if weapon is None or weapon.itemDetailType != "短剑":
return return
data = self.data1 data = self.data1
if weapon.categorize == "传世武器": if "传世武器" in weapon.categorize:
data = self.data14 data = self.data14
self.associate = [{"type":"$*PAtkM","data":data}] self.associate = [{"type":"$*PAtkM","data":data}]
return super().effect(old, new) return super().effect(old, new)
@@ -255,7 +255,7 @@ class Skill17(PassiveSkill):
if weapon is None or weapon.itemDetailType != "太刀": if weapon is None or weapon.itemDetailType != "太刀":
return return
data = self.data1 data = self.data1
if weapon.categorize == "传世武器": if "传世武器" in weapon.categorize:
data = self.data11 data = self.data11
self.associate = [{"type":"$*PAtkM","data":data}] self.associate = [{"type":"$*PAtkM","data":data}]
return super().effect(old, new) return super().effect(old, new)
@@ -317,7 +317,7 @@ class Skill18(PassiveSkill):
if weapon is None or weapon.itemDetailType != "巨剑": if weapon is None or weapon.itemDetailType != "巨剑":
return return
data = self.data1 data = self.data1
if weapon.categorize == "传世武器": if "传世武器" in weapon.categorize:
data = self.data10 data = self.data10
self.associate = [{"type":"$*PAtkM","data":data}] self.associate = [{"type":"$*PAtkM","data":data}]
return super().effect(old, new) return super().effect(old, new)
@@ -379,7 +379,7 @@ class Skill19(PassiveSkill):
if weapon is None or weapon.itemDetailType != "钝器": if weapon is None or weapon.itemDetailType != "钝器":
return return
data = self.data1 data = self.data1
if weapon.categorize == "传世武器": if "传世武器" in weapon.categorize:
data = self.data9 data = self.data9
self.associate = [{"type":"$*PAtkM","data":data}] self.associate = [{"type":"$*PAtkM","data":data}]
return super().effect(old, new) return super().effect(old, new)
@@ -171,7 +171,7 @@ class Skill3(PassiveSkill):
if weapon[0] != "光剑": if weapon[0] != "光剑":
return None return None
data = self.data0 data = self.data0
if weapon[1] == "传世武器": if "传世武器" in weapon[1]:
data = self.data16 data = self.data16
self.associate = [{"type":"$*PAtkP","data":data}] self.associate = [{"type":"$*PAtkP","data":data}]
return super().effect(old, new) return super().effect(old, new)
@@ -272,7 +272,7 @@ class Skill5(PassiveSkill):
if weapon[0] != "短剑": if weapon[0] != "短剑":
return None return None
data = self.data0 data = self.data0
if weapon[1] == "传世武器": if "传世武器" in weapon[1]:
data = self.data13 data = self.data13
self.associate = [ self.associate = [
{"type":"$*PAtkP","data":data}, {"type":"$*PAtkP","data":data},
@@ -342,7 +342,7 @@ class Skill6(ActiveSkill):
if weapon[0] != "太刀": if weapon[0] != "太刀":
return None return None
data = self.data0 data = self.data0
if weapon[1] == "传世武器": if "传世武器" in weapon[1]:
data = self.data10 data = self.data10
self.associate = [ self.associate = [
{"type":"$*PAtkP","data":data}, {"type":"$*PAtkP","data":data},
@@ -414,7 +414,7 @@ class Skill7(PassiveSkill):
if weapon[0] != "巨剑": if weapon[0] != "巨剑":
return None return None
data = self.data0 data = self.data0
if weapon[1] == "传世武器": if "传世武器" in weapon[1]:
data = self.data9 data = self.data9
self.associate = [ self.associate = [
{"type":"$*PAtkP","data":data}, {"type":"$*PAtkP","data":data},
@@ -477,7 +477,7 @@ class Skill8(PassiveSkill):
if weapon[0] != "钝器": if weapon[0] != "钝器":
return None return None
data = self.data0 data = self.data0
if weapon[1] == "传世武器": if "传世武器" in weapon[1]:
data = self.data9 data = self.data9
self.associate = [{"type":"$*PAtkP","data":data},] self.associate = [{"type":"$*PAtkP","data":data},]
return super().effect(old, new) return super().effect(old, new)