添加 了 饰品 锤子 + 冰冻同时冻住cd,眩晕则cd归零 后续 需要处理 boss 的技能cd归零和冻结

This commit is contained in:
2025-07-05 17:48:59 +08:00
parent ed26a10a98
commit 9ebf620ed8
10 changed files with 2513 additions and 345 deletions

View File

@@ -164,17 +164,7 @@ export class HeroViewComp extends CCComp {
change_atk(e:GameEvent,data:any){
if(!this.is_master) return
if(data.ice){
this.atk_skill=6014
}else if(data.fire){
this.atk_skill=6012
}else if(data.wind){
this.atk_skill=6013
}else{
this.atk_skill=6001
}
console.log("[HeroViewComp]:change_atk",SkillSet[this.atk_skill].name)
}
get isActive() {
@@ -394,6 +384,7 @@ export class HeroViewComp extends CCComp {
this.DEBUFF_FROST+=deV
break
case DebuffAttr.STUN:
this.at=0 // 眩晕 cd归零
this.BUFFCOMP.in_yun(deV)
this.DEBUFF_STUN+=deV
this.is_stop=true