From 9e56aeda6f9518cf772a7ba6c4d95a5f41303aed Mon Sep 17 00:00:00 2001 From: walkpan Date: Sun, 4 Jan 2026 18:19:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E6=B3=A8=E5=86=8C=E5=92=8C=E8=B0=83=E8=AF=95=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将TalComp组件注册参数改为true以启用组件 关闭HeroAtkSystem的调试模式 --- assets/script/game/hero/HeroAtkSystem.ts | 2 +- assets/script/game/hero/TalComp.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/script/game/hero/HeroAtkSystem.ts b/assets/script/game/hero/HeroAtkSystem.ts index 3ed02121..07d4cb3f 100644 --- a/assets/script/game/hero/HeroAtkSystem.ts +++ b/assets/script/game/hero/HeroAtkSystem.ts @@ -39,7 +39,7 @@ interface FinalData { @ecs.register('HeroAtkSystem') export class HeroAtkSystem extends ecs.ComblockSystem implements ecs.ISystemUpdate { - private debugMode: boolean = true; // 是否启用调试模式 + private debugMode: boolean = false; // 是否启用调试模式 /** * 过滤器:处理拥有伤害队列的实体 diff --git a/assets/script/game/hero/TalComp.ts b/assets/script/game/hero/TalComp.ts index 515c14b6..6e2db005 100644 --- a/assets/script/game/hero/TalComp.ts +++ b/assets/script/game/hero/TalComp.ts @@ -40,7 +40,7 @@ export interface TalSlot { * - 检查并触发满足条件的天赋 * - 管理天赋效果数值 */ -@ecs.register('TalComp', false) +@ecs.register('TalComp', true) export class TalComp extends ecs.Comp { /** 英雄视图组件引用,运行时获取以避免循环引用 */ private heroView: any = null;