diff --git a/assets/script/game/hero/HeroViewComp.ts b/assets/script/game/hero/HeroViewComp.ts index a3fe7ada..642a9f44 100644 --- a/assets/script/game/hero/HeroViewComp.ts +++ b/assets/script/game/hero/HeroViewComp.ts @@ -368,7 +368,7 @@ export class HeroViewComp extends CCComp { health(hp: number = 0) { // ✅ 仅显示特效和提示,不调用 hp_show() if(hp<=20) return; - this.heathed + this.heathed(); this.hp_tip(TooltipTypes.health, hp.toFixed(0)); this.lastBarUpdateTime = Date.now() / 1000; }