From 169d1b0e8ff49eef790819233aa13d7ad13448a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A5=BF=E7=93=9C=C2=B0?= Date: Mon, 5 May 2025 20:33:35 +0800 Subject: [PATCH] dev --- backend/core/basic/skill.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/core/basic/skill.py b/backend/core/basic/skill.py index 8cd80bf0..bd936751 100644 --- a/backend/core/basic/skill.py +++ b/backend/core/basic/skill.py @@ -158,7 +158,7 @@ class Skill: if self.char.GetWeaponType()[0] not in weapon: return if type.startswith('*'): - if 'cdReduce' in type or type == 'cd': + if 'cdReduce' in type or type == 'cd' or 'cdRatio' in type: setattr(skill, type[1:], getattr(skill, type[1:]) * (1 - data[new] / ratio) / (1 - data[old] / ratio)) else: setattr(skill, type[1:], getattr(skill, type[1:]) * (1 + data[new] / ratio) / (1 + data[old] / ratio))