diff --git a/src/engine/objects/Resists.java b/src/engine/objects/Resists.java index e72b1827..46ed5cf0 100644 --- a/src/engine/objects/Resists.java +++ b/src/engine/objects/Resists.java @@ -393,8 +393,6 @@ public class Resists { * Expects heals as negative damage and damage as positive damage for fortitudes. */ public float getResistedDamage(AbstractCharacter source, AbstractCharacter target, DamageType type, float damage, int trains) { - //handle fortitudes - damage = handleFortitude(target, type, damage); //calculate armor piercing float ap = source.getBonuses().getFloatPercentAll(ModType.ArmorPiercing, SourceType.None); float damageAfterResists = damage * (1 - (this.getResist(type, trains) * 0.01f) + ap); @@ -417,6 +415,8 @@ public class Resists { } target.cancelOnTakeDamage(type, (damageAfterResists)); } + //handle fortitudes last + damageAfterResists = handleFortitude(target, type, damageAfterResists); return damageAfterResists; }