fix:修正技攻

This commit is contained in:
2026-06-29 02:56:37 +08:00
parent e9128641b8
commit fa5a055cf1
6 changed files with 31 additions and 22 deletions
@@ -1,3 +1,4 @@
import sys
from typing import Any
@@ -6,6 +7,10 @@ def uppercase_attrs(source: Any) -> dict[str, Any]:
def apply_uppercase_attrs(character: Any, source: Any) -> None:
# if source.SkillAttack is not None and source.SkillAttack != 0:
# frame = sys._getframe(1) # 1 表示上一级调用帧
# caller_name = frame.f_code.co_name
# print(caller_name, source.SkillAttack)
character.SetStatus(**uppercase_attrs(source))