dd
This commit is contained in:
@@ -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()
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user