refactor: 优化战斗流程与英雄死亡处理逻辑
1. 移除HeroAttrsComp中多余的空行 2. 修改英雄死亡处理:直接销毁实体而非移至墓地 3. 调整波次更迭逻辑:直接进入BattleStart而非PrepareStart 4. 简化fight_ready方法:移除死亡英雄复活入场逻辑 5. 调整抽卡面板与卡牌池逻辑:战斗阶段保留抽卡面板且仅刷英雄卡 6. 将enterPreparePhase改为public方法
This commit is contained in:
@@ -320,7 +320,6 @@ export class HeroAttrsComp extends ecs.Comp {
|
||||
this.maxSkillDistance = 0;
|
||||
this.minSkillDistance = 0;
|
||||
|
||||
|
||||
this.is_dead = false;
|
||||
this.is_count_dead = false;
|
||||
this.is_atking = false;
|
||||
|
||||
Reference in New Issue
Block a user