加入 等级系统 开始

This commit is contained in:
2025-06-27 10:59:12 +08:00
parent cba52086c2
commit dde29136fa
6 changed files with 10798 additions and 4799 deletions

View File

@@ -562,7 +562,13 @@ export class HeroViewComp extends CCComp {
}
}
exp_up(e:any,data:any){
console.log("[HeroViewComp]:exp_up",data)
this.lv+=1
this.ap=this.ap*this.lv
this.BUFFCOMP.vmdata_update(true)
}
to_update(){
this.ap=this.ap*this.lv
}