奖励已经双倍奖励

This commit is contained in:
panfudan
2025-08-19 19:40:34 +08:00
parent 22f35893d7
commit 854affeaae
32 changed files with 12848 additions and 7746 deletions

View File

@@ -52,7 +52,7 @@ export class SkillConComp extends CCComp {
}
if(skills[1]){
if(this.HeroView.fac==FacSet.HERO) {
console.log("[SkillConComp] 角色状态:",this.HeroView.hero_name+"=>能量:"+this.HeroView.power+"/"+this.HeroView.power_max,skills)
// console.log("[SkillConComp] 角色状态:",this.HeroView.hero_name+"=>能量:"+this.HeroView.power+"/"+this.HeroView.power_max,skills)
}
this.HeroView.power+=(1+this.HeroView.Attrs[BuffAttr.POWER_UP])*dt*SKILL_CONST.POWER_UP
let progress=this.HeroView.power/this.HeroView.power_max
@@ -223,7 +223,7 @@ export class SkillConComp extends CCComp {
onDestroy() {
// 清理所有定时器
console.log("[SkillConComp]:onDestroy:",this.node.name)
// console.log("[SkillConComp]:onDestroy:",this.node.name)
Object.values(this._timers).forEach(clearTimeout);
this._timers = {};
// 移除事件监听