将伤害执行加入队列,方便 debuff 即间隔性伤害的加入
This commit is contained in:
@@ -62,10 +62,12 @@ export class HeroHomeComp extends CCComp {
|
||||
this.h_uuid=uuid
|
||||
this.hero=HeroInfo[uuid]
|
||||
console.log("hero_show",uuid)
|
||||
let skill1 = SkillSet[this.hero.sk1[0]]
|
||||
let skill2 = SkillSet[this.hero.sk2[0]]
|
||||
var sk_path = "game/skills/skill_icon"
|
||||
// let skill1 = SkillSet[this.hero.skill[0]]
|
||||
// let skill2 = SkillSet[this.hero.skill[1]]
|
||||
// var sk_path = "game/skills/skill_icon"
|
||||
// var icon_path = "game/heros/herois"
|
||||
|
||||
|
||||
this.slv = Math.floor((smc.heros[uuid].lv) / 5);
|
||||
let content=this.node.getChildByName("show").getChildByName("content")
|
||||
content.getChildByName("name").getChildByName("value").getComponent(Label).string=this.hero.name
|
||||
|
||||
Reference in New Issue
Block a user