怪物 不变,添加boss

This commit is contained in:
2025-07-13 20:32:17 +08:00
parent c6b017d5fe
commit e6c3eefbcb
15 changed files with 17 additions and 5685 deletions

View File

@@ -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
}