升级初步完成
This commit is contained in:
@@ -247,7 +247,7 @@ export class CardControllerComp extends CCComp {
|
||||
let cost: number = 0;
|
||||
let { uuid, type } = card[0];
|
||||
url = "game/hero/hero_icon";
|
||||
({ uuid: pathName, name, level ,cost} = smc.heros[uuid]);
|
||||
({ uuid: pathName, name, level ,cost} = HeroInfo[uuid]);
|
||||
this.cards[index].lv=level
|
||||
this.cards[index].cost = cost
|
||||
let node=this.node.getChildByName('cards').getChildByName('card'+index)
|
||||
|
||||
Reference in New Issue
Block a user