v2.3.0: fixed body slam damage ignoring enemy armor
This commit is contained in:
+1
@@ -101,6 +101,7 @@ public class HeroicLeap extends ArmorAbility {
|
|||||||
if (hero.hasTalent(Talent.BODY_SLAM)){
|
if (hero.hasTalent(Talent.BODY_SLAM)){
|
||||||
int damage = Random.NormalIntRange(hero.pointsInTalent(Talent.BODY_SLAM), 4*hero.pointsInTalent(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 += Math.round(hero.drRoll()*0.25f*hero.pointsInTalent(Talent.BODY_SLAM));
|
||||||
|
damage -= mob.drRoll();
|
||||||
mob.damage(damage, hero);
|
mob.damage(damage, hero);
|
||||||
}
|
}
|
||||||
if (mob.pos == hero.pos + i && hero.hasTalent(Talent.IMPACT_WAVE)){
|
if (mob.pos == hero.pos + i && hero.hasTalent(Talent.IMPACT_WAVE)){
|
||||||
|
|||||||
Reference in New Issue
Block a user