refactor(英雄): 移除复活时间相关逻辑

- 从 HeroAttrs 枚举中删除 revive_time 属性
- 移除 HeroAtkSystem 中的 scheduleRevive 调用
- 清理 HeroAttrsComp 中与复活时间相关的字段和重置逻辑
- 简化 HeroViewComp 的 alive 方法并删除 scheduleRevive 方法
This commit is contained in:
panw
2026-04-23 09:40:36 +08:00
parent 8ab0cc3971
commit 0676412a5a
4 changed files with 6 additions and 22 deletions

View File

@@ -42,8 +42,6 @@ export class HeroAttrsComp extends ecs.Comp {
wfuny: number = 0; // 风怒
revive_count: number = 0; // 总复活次数
is_revived:number = 0; // 已复活次数
revive_time: number = 0; // 复活时间
invincible_time: number = 0;// 无敌时间
@@ -249,7 +247,6 @@ export class HeroAttrsComp extends ecs.Comp {
this.critical = 0;
this.freeze_chance = 0;
this.revive_count = 0;
this.revive_time = 0;
this.invincible_time = 0;
this.puncture = 0;
this.wfuny = 0;