商品页完成+ 英雄uuid 5000起步,技能6000起步,物品1000起步,金币9001

This commit is contained in:
2024-12-24 15:41:52 +08:00
parent ca54b0a3da
commit 228112b4ed
17 changed files with 4219 additions and 4154 deletions

View File

@@ -25,7 +25,7 @@ export class HeroHomeComp extends CCComp {
start() {
// this.load_talents()
console.log("hero_home start")
this.h_uuid=9001
this.h_uuid=5001
this.hero_show(this.h_uuid)
this.loads()
}
@@ -44,6 +44,7 @@ export class HeroHomeComp extends CCComp {
this.h_uuid=uuid
this.role=smc.heros[uuid]
this.hero=HeroInfo[uuid]
console.log("hero_show",uuid)
let tal=this.node.getChildByName("sk").getChildByName("tal");
let sk_node= this.node.getChildByName("sk");
let skill1 = SkillSet[this.hero.sk1[0]]