将伤害执行加入队列,方便 debuff 即间隔性伤害的加入

This commit is contained in:
2025-02-08 10:51:51 +08:00
parent 6e1c7ee715
commit d4bdc1651f
2 changed files with 52 additions and 49 deletions

View File

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