This commit is contained in:
2025-06-15 23:22:19 +08:00
parent 93ed6fae1e
commit e7efaa9d1e
2 changed files with 5 additions and 2 deletions

View File

@@ -120,6 +120,9 @@ export class SkillCom extends CCComp {
if(target.fac == BoxSet.HERO ){
remainingDamage=remainingDamage*(100-this.FIGHTCON.hero_buff.DEF+this.FIGHTCON.hero_debuff.BURN)/100
}
if(target.fac == BoxSet.MONSTER){
remainingDamage=remainingDamage*(100-this.FIGHTCON.enemy_buff.DEF+this.FIGHTCON.enemy_debuff.BURN)/100
}
target.do_atked(remainingDamage)
this.ent.destroy()
}