Files
bl/logic
昔念 2ebec8ed05 refactor(fight): 重构伤害计算逻辑
- 优化了 DamageContext 结构体,增加了更多注释说明
- 添加了 initOtherRates、GetOtherRate、PutOtherRate 等方法,提高代码可读性和易用性
- 重写了 Calculate 函数,详细注释了伤害计算的每一步骤
- 增加了对随机值、同系加成、属性克制等逻辑的处理
- 优化了代码结构,提高了
2025-08-11 21:40:53 +08:00
..