加血修复

This commit is contained in:
2025-04-25 08:14:13 +08:00
parent 0d697c488d
commit 83b4794c13
3 changed files with 2406 additions and 2420 deletions

View File

@@ -195,8 +195,8 @@ export class HeroViewComp extends CCComp {
}
add_hp_max(hprate: number=0){
this.hp_max += Math.floor(hprate) ;
this.add_hp2(hprate)
this.hp_max += Math.floor(hprate) ;
this.hp += Math.floor(hprate) ;
this.BUFFCOMP.update_info_hp()
}