怪物 不变,添加boss
This commit is contained in:
@@ -17,13 +17,11 @@ export class TalentComp extends CCComp {
|
||||
let info =this.node.getChildByName("info")
|
||||
let icon =this.node.getChildByName("icon")
|
||||
let cost =this.node.getChildByName("cost")
|
||||
let lv =this.node.getChildByName("lv")
|
||||
let talent= Talents[this.t_uuid]
|
||||
let role_talents = smc.vmdata.talent[talent.uuid]
|
||||
cost.getComponent(Label).string = (talent.cost*(1+role_talents.lv)).toString()
|
||||
name.getComponent(Label).string = talent.name
|
||||
info.getComponent(Label).string = talent.info
|
||||
lv.getComponent(Label).string = role_talents.lv.toString()
|
||||
if (talent.type == 1){
|
||||
this.node.getChildByName("role").active=true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user