feat(英雄系统): 添加英雄复活机制并控制怪物行为
实现英雄复活功能,当英雄死亡且有复活次数时延迟复活 新增is_reviving状态标记复活中状态 英雄死亡或复活时通过stop_mon_action控制怪物停止刷新和移动
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user