This commit is contained in:
panw
2025-06-12 16:51:47 +08:00
parent cb38aa55a4
commit 950b91441b

View File

@@ -52,11 +52,11 @@ export class SkillConComp extends CCComp {
count+=this.FIGHTCON.enemy.ATK_COUNT-this.FIGHTCON.enemy_debuff.DECOUNT count+=this.FIGHTCON.enemy.ATK_COUNT-this.FIGHTCON.enemy_debuff.DECOUNT
} }
if(count<1) count=1 if(count<1) count=1
console.log(this.HeroView.hero_name+(this.HeroView.is_master?"[主]":"[从] 准备释放")+SkillSet[this.HeroView.atk_skill].name+"=>"+"=>cd:"+cd+"=> count:"+count) // console.log(this.HeroView.hero_name+(this.HeroView.is_master?"[主]":"[从] 准备释放")+SkillSet[this.HeroView.atk_skill].name+"=>"+"=>cd:"+cd+"=> count:"+count)
if (this.HeroView.is_atking &&(this.HeroView.at > cd)) { if (this.HeroView.is_atking &&(this.HeroView.at > cd)) {
const config = SkillSet[this.HeroView.atk_skill]; const config = SkillSet[this.HeroView.atk_skill];
if (!config) return; if (!config) return;
console.log(this.HeroView.hero_name+(this.HeroView.is_master?"[主]":"[从] 释放")+"=>"+config.name+"=>"+count) // console.log(this.HeroView.hero_name+(this.HeroView.is_master?"[主]":"[从] 释放")+"=>"+config.name+"=>"+count)
this.castSkill(config,count); this.castSkill(config,count);
this.HeroView.at = 0; this.HeroView.at = 0;
} }