Files
heros/assets
panw 2cf554b124 feat(attrs): 新增英雄基础属性及其对战斗属性影响的计算
- 在 Attrs 中添加力量、智力、敏捷、精神、幸运基本属性
- 为新增属性配置属性类型为数值型(BType.VALUE)
- 新增 HeroBaseAttributes,定义不同英雄类型的基础属性初始值
- 设计 AttributeInfluence,定义基础属性对战斗属性的影响系数
- 实现 calculateBaseAttributes 方法,根据英雄类型和等级计算基础属性值
- 实现 calculateAttributeInfluences 方法,计算基础属性对战斗属性的具体影响值
- 在 heroSet.ts 中增加相关类型导入和类型定义,完善属性系统逻辑
2025-10-24 16:54:19 +08:00
..
2025-10-24 00:02:03 +08:00
dd
2024-08-01 16:53:02 +08:00
dd
2024-08-06 16:42:03 +08:00
2024-07-17 16:14:14 +08:00
2024-07-17 16:14:14 +08:00
2024-07-17 16:14:14 +08:00