dd
This commit is contained in:
@@ -50,7 +50,6 @@ export class HeroHomeComp extends CCComp {
|
||||
this.node.getChildByName("name").getChildByName("value").getComponent(Label).string=hero.name
|
||||
this.node.getChildByName("hero").getChildByName("lv").getComponent(Label).string = lv.toString()+"级";
|
||||
let slv_node=this.node.getChildByName("hero").getChildByName("slv");
|
||||
if(smc.vmdata.heros[uuid].slv>=1) {slv_node.getChildByName("s1").active=true}else{slv_node.getChildByName("s1").active=false};
|
||||
if(slv>=1) {slv_node.getChildByName("s1").active=true}else{slv_node.getChildByName("s1").active=false};
|
||||
if(slv>=2) {slv_node.getChildByName("s2").active=true}else{slv_node.getChildByName("s2").active=false};
|
||||
if(slv>=3) {slv_node.getChildByName("s3").active=true}else{slv_node.getChildByName("s3").active=false};
|
||||
|
||||
Reference in New Issue
Block a user