This commit is contained in:
2025-04-25 13:48:53 +08:00
parent 83b4794c13
commit d553ddc9c5
2 changed files with 34 additions and 14 deletions

View File

@@ -73,6 +73,7 @@ export class BuffComp extends Component {
update_info_hp(){
let ihp_node = this.top_node.getChildByName("ihp");
ihp_node.getChildByName("num").getComponent(Label)!.string = this.node.getComponent(HeroViewComp).hp.toFixed(0)
this.hp_show()
}