v2.3.0: fixed body slam damage ignoring enemy armor

This commit is contained in:
Evan Debenham
2023-12-08 15:27:11 -05:00
parent 5bdc77b31c
commit 24823e31bc

View File

@@ -101,6 +101,7 @@ public class HeroicLeap extends ArmorAbility {
if (hero.hasTalent(Talent.BODY_SLAM)){
int damage = Random.NormalIntRange(hero.pointsInTalent(Talent.BODY_SLAM), 4*hero.pointsInTalent(Talent.BODY_SLAM));
damage += Math.round(hero.drRoll()*0.25f*hero.pointsInTalent(Talent.BODY_SLAM));
damage -= mob.drRoll();
mob.damage(damage, hero);
}
if (mob.pos == hero.pos + i && hero.hasTalent(Talent.IMPACT_WAVE)){