血量更新 修改
This commit is contained in:
@@ -48,9 +48,9 @@ export class HCardComp extends CCComp {
|
||||
this.node.getChildByName("bg").getComponent(Sprite).grayscale=false
|
||||
this.is_dead=false
|
||||
}
|
||||
this.hp.string=this.heros[this.hi].HeroView.hp_max
|
||||
this.hp.string=this.heros[this.hi].HeroView.rhp_max
|
||||
this.ap.string=this.heros[this.hi].HeroView.ap*(smc.vmdata.mission.ap+100)/100
|
||||
this.life.progress=this.heros[this.hi].HeroView.hp/this.heros[this.hi].HeroView.hp_max
|
||||
this.life.progress=this.heros[this.hi].HeroView.hp/this.heros[this.hi].HeroView.rhp_max
|
||||
this.pw.progress=this.heros[this.hi].HeroView.pw/this.heros[this.hi].HeroView.pwm
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user