Browse Source

unfuck fortitude

lakebane
FatBoy-DOTC 3 days ago
parent
commit
8d41c5475c
  1. 1
      src/engine/powers/effectmodifiers/HealthEffectModifier.java

1
src/engine/powers/effectmodifiers/HealthEffectModifier.java

@ -304,7 +304,6 @@ public class HealthEffectModifier extends AbstractEffectModifier {
// calculate resists in if any // calculate resists in if any
if (resists != null) { if (resists != null) {
if (AbstractWorldObject.IsAbstractCharacter(awo)) { if (AbstractWorldObject.IsAbstractCharacter(awo)) {
damage = Resists.handleFortitude((AbstractCharacter) awo, damageType, damage * -1);
damage = resists.getResistedDamage(source, (AbstractCharacter) awo, damageType, damage * -1, trains) * -1; damage = resists.getResistedDamage(source, (AbstractCharacter) awo, damageType, damage * -1, trains) * -1;
}else }else
damage = resists.getResistedDamage(source, null, damageType, damage * -1, trains) * -1; damage = resists.getResistedDamage(source, null, damageType, damage * -1, trains) * -1;

Loading…
Cancel
Save