光环和装备加成 都改为buff 不再使用buff

This commit is contained in:
panfudan
2025-06-25 13:44:51 +08:00
parent 03456dd990
commit 2b5ed007b4
5 changed files with 39 additions and 26 deletions

View File

@@ -214,18 +214,18 @@ export class SkillConComp extends CCComp {
}
}
return cd*(100-bcd-buff.ATK_CD+decd+debuff.DECD)/100
return cd*(100-bcd-buff.ATK_CD)/100
}
get_count(count:number,view:HeroViewComp){
if(view.fac==FacSet.HERO){
if(view.is_master){
return count+(this.FIGHTCON.hero_buff.ATK_COUNT-this.FIGHTCON.hero_debuff.DECOUNT)
return count+(this.FIGHTCON.hero_buff.ATK_COUNT)
}else{
return count+(this.FIGHTCON.friend_buff.ATK_COUNT-this.FIGHTCON.friend_debuff.DECOUNT)
return count+(this.FIGHTCON.friend_buff.ATK_COUNT)
}
}else{
return count+(this.FIGHTCON.enemy_buff.ATK_COUNT-this.FIGHTCON.enemy_debuff.DECOUNT)
return count+(this.FIGHTCON.enemy_buff.ATK_COUNT)
}
}