升级 初步 修改错误提醒bug

This commit is contained in:
2024-12-06 16:42:06 +08:00
parent a968281bdc
commit c8e4190f18
4 changed files with 5 additions and 3 deletions

View File

@@ -105,6 +105,9 @@ export class HeroHomeComp extends CCComp {
}
}
lv_up(){
console.log("升级",smc.vmdata.items[1001],smc.heros[this.h_uuid].lv*HeroInfo[this.h_uuid].lvexp)
if(smc.vmdata.items[1001] < smc.heros[this.h_uuid].lv*HeroInfo[this.h_uuid].lvexp){