系统奶关联结婚属性修正

This commit is contained in:
2026-06-23 12:27:34 +08:00
parent ebe3cf3592
commit 9b35f8c21e
6 changed files with 126 additions and 14 deletions
+2 -1
View File
@@ -37,8 +37,9 @@ class CalcCarryMixin(CharacterBase):
# 力智系数
value0_1 = getattr(self, attrs[0])
value0_2 = 获取基础属性(self.角色, self.职业)[0] if attrs[0] == 'STR' else 获取基础属性(self.角色, self.职业)[1]
marriage_correction = getattr(self, 'system_buff_marriage_correction', 0) if attrs[0] == 'STR' else 0
# 系统奶及奶系增幅
value = value0_1 + ((value0_1 - value0_2) * 3.08 + 2886) * (1 if DSB else 0) + (170000 + 300000) * (1 if BUFF else 0)
value = value0_1 + ((value0_1 - value0_2 - marriage_correction) * 3.08 + 2886) * (1 if DSB else 0) + (170000 + 300000) * (1 if BUFF else 0)
ratio_0: float = value / 250 + 1
# 物理/魔法/独立攻击力
ratio_1: float = getattr(self, attrs[1]) + 30000 * (1 if BUFF else 0)