光环和装备加成 都改为buff 不再使用buff
This commit is contained in:
@@ -445,9 +445,9 @@ export class HeroViewComp extends CCComp {
|
||||
if(this.is_boss) {buff_key="enemy"}
|
||||
if(this.is_kalami) {buff_key="enemy"}
|
||||
if(buff_key==null) return
|
||||
let debuff=this.FIGHTCON[buff_key+"_debuff"]
|
||||
|
||||
let buff=this.FIGHTCON[buff_key+"_buff"]
|
||||
damage=remainingDamage*(100-(buff.DEF+def)+(debuff.BURN+Burn))/100
|
||||
damage=remainingDamage*(100-(buff.DEF+def)+Burn)/100
|
||||
|
||||
return Math.floor(damage)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user