diff --git a/assets/script/game/hero/Hero.ts b/assets/script/game/hero/Hero.ts index 2c79b9cd..a6c28bd6 100644 --- a/assets/script/game/hero/Hero.ts +++ b/assets/script/game/hero/Hero.ts @@ -8,7 +8,8 @@ import { BoxSet, FacSet } from "../common/config/BoxSet"; import { HeroInfo, HeroPos, HType } from "../common/config/heroSet"; import { BattleMoveComp } from "../common/ecs/position/BattleMoveComp"; import { GameEvent } from "../common/config/GameEvent"; -import { Attrs, getAttrs } from "../common/config/SkillSet"; +import { Attrs, getAttrs, SkillSet } from "../common/config/SkillSet"; +import { time } from "console"; /** 角色实体 */ @ecs.register(`Hero`) @@ -71,6 +72,10 @@ export class Hero extends ecs.Entity { hv.box_group = BoxSet.HERO; hv.hero_uuid= uuid; hv.hero_name= hero.name; + for(let i=0;i