feat(英雄系统): 添加英雄复活机制并控制怪物行为

实现英雄复活功能,当英雄死亡且有复活次数时延迟复活
新增is_reviving状态标记复活中状态
英雄死亡或复活时通过stop_mon_action控制怪物停止刷新和移动
This commit is contained in:
walkpan
2026-01-03 11:17:04 +08:00
parent 56452795bb
commit 1cce4ce361
11 changed files with 88 additions and 11 deletions

View File

@@ -37,6 +37,7 @@ export class SingletonModuleComp extends ecs.Comp {
pause:false,
in_select:false,
in_fight:false,
stop_mon_action:false,
};
guides:any=[0,0,0,0,0]
current_guide:number=0