环境技能继续

This commit is contained in:
2024-12-11 10:54:40 +08:00
parent 4ef7abf374
commit ec83f6506b
14 changed files with 4822 additions and 5396 deletions

View File

@@ -32,7 +32,6 @@ export class HeroSelect extends ecs.Entity {
if(smc.heros[uuid].slv>=4) {slv.getChildByName("s4").active=true} else {slv.getChildByName("s4").active=false};
if(smc.heros[uuid].slv>=5) {slv.getChildByName("s5").active=true} else {slv.getChildByName("s5").active=false};
let hcc = node.getComponent(HeroSelectComp)!;
console.log(hcc)
hcc.h_uuid = uuid;
this.add(hcc);
}