修复bug和ui调整,下一步,达到特定等级才激活技能
This commit is contained in:
@@ -34,7 +34,6 @@ export class BuffComp extends Component {
|
||||
HeroView:HeroViewComp=null!
|
||||
hp_bar:any=null
|
||||
protected onLoad(): void {
|
||||
oops.message.on(GameEvent.UpdateVMData,this.to_update_vmdata,this)
|
||||
}
|
||||
start() {
|
||||
this.info_init()
|
||||
@@ -50,8 +49,8 @@ export class BuffComp extends Component {
|
||||
|
||||
this.vmdata_update()
|
||||
}
|
||||
|
||||
to_update_vmdata(){
|
||||
|
||||
this.vmdata_update(false)
|
||||
}
|
||||
update(deltaTime: number) {
|
||||
|
||||
Reference in New Issue
Block a user