refactor(属性系统): 重构英雄属性系统,将属性定义移至HeroAttrs模块

- 将Attrs和DBuff相关定义从SkillSet迁移至HeroAttrs
- 新增NeAttrs枚举用于管理负面状态
- 重构HeroViewComp中的buff/debuff处理逻辑
- 优化属性分类和分组,增加新属性类型
- 移除旧的DBuff相关代码,改用统一的负面状态管理
This commit is contained in:
2025-10-25 15:04:11 +08:00
parent 91eb0c9f6e
commit 11f1f08c1d
8 changed files with 228 additions and 287 deletions

View File

@@ -4,7 +4,7 @@ import { ecs } from "../../../../../../extensions/oops-plugin-framework/assets/l
import { smc } from "../../SingletonModuleComp";
import { FacSet } from "../../config/BoxSet";
import { HType } from "../../config/heroSet";
import { Attrs, DBuff } from "../../config/SkillSet";
import { Attrs } from "../../config/HeroAttrs";
@ecs.register('BattleMoveSystem')
export class BattleMoveSystem extends ecs.ComblockSystem implements ecs.ISystemUpdate {