天赋替换完成

This commit is contained in:
2025-07-31 22:56:31 +08:00
parent 15e41c628a
commit cac739c52b
5 changed files with 39 additions and 6 deletions

View File

@@ -305,7 +305,7 @@ export class HeroViewComp extends CCComp {
check_atrr(buff:BuffAttr){
switch(buff){
case BuffAttr.ATK:
return Math.floor(this.ap*(100+this.ap+this.TALENT[BuffAttr.ATK])/100)
return Math.floor(this.ap_base*(100+this.ap_buff+this.TALENT[BuffAttr.ATK])/100)
case BuffAttr.ATK_CD:
return this.cd_base/((this.cd_buff+this.TALENT[BuffAttr.ATK_CD])/100+1)
case BuffAttr.HP: