refactor(skill): 调整技能触发枚举的存放位置与使用方式

将SkillTriggerType枚举从GameEvent.ts迁移到heroSet.ts,统一管理技能触发相关配置,同时更新所有引用该枚举的文件路径,优化代码结构与维护性
This commit is contained in:
walkpan
2026-05-24 23:38:09 +08:00
parent 518a9a1ce9
commit fd60191324
10 changed files with 62 additions and 41 deletions

View File

@@ -6,7 +6,8 @@ import { HeroAttrsComp } from "./HeroAttrsComp";
import { HeroViewComp } from "./HeroViewComp";
import { BoxSet, FacSet, FightSet, IndexSet } from "../common/config/GameSet";
import { HeroInfo, HeroPos, resolveFormationTargetX } from "../common/config/heroSet";
import { GameEvent, SkillTriggerType } from "../common/config/GameEvent";
import { GameEvent } from "../common/config/GameEvent";
import { SkillTriggerType } from "../common/config/heroSet";
import { SkillTriggerHelper } from "./SkillTriggerHelper";
import { Attrs} from "../common/config/HeroAttrs";
import { MoveComp } from "./MoveComp";