fix: 修正 HeroViewComp 中 health 方法内的拼写错误

This commit is contained in:
panw
2026-03-24 14:31:06 +08:00
parent 33e549d22c
commit 23cc992579

View File

@@ -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;
}