diff --git a/assets/script/game/skills/SkillCom.ts b/assets/script/game/skills/SkillCom.ts index 7ad449e2..52bfd21d 100644 --- a/assets/script/game/skills/SkillCom.ts +++ b/assets/script/game/skills/SkillCom.ts @@ -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() } diff --git a/assets/script/todo.md b/assets/script/todo.md index 1572672c..c00479b8 100644 --- a/assets/script/todo.md +++ b/assets/script/todo.md @@ -9,8 +9,8 @@ - [x] 技能伤害加10% - [ ] 卡牌效果加10% - [x] 攻击次数+1 -- [ ] HP加100% -- [ ] 免伤50% +- [x] HP加100% +- [x] 免伤50% - [ ] 普通攻击改为飓风攻击带击退(被动) - [ ] 普通攻击改为寒冰攻击带冰冻(被动)