fortitude fix

This commit is contained in:
2025-01-28 17:47:44 -06:00
parent bdd108065b
commit 806adee3de
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -864,7 +864,7 @@ public enum CombatManager {
}
}
Resists.handleFortitude(tarAc,damageType,damage);
//Resists.handleFortitude(tarAc,damageType,damage);
float d = 0f;
@@ -102,7 +102,7 @@ public class CombatUtilities {
return;
if (AbstractWorldObject.IsAbstractCharacter(target)) {
damage = Resists.handleFortitude((AbstractCharacter) target,DamageType.Crush,damage);
//damage = Resists.handleFortitude((AbstractCharacter) target,DamageType.Crush,damage);
trueDamage = ((AbstractCharacter) target).modifyHealth(-damage, agent, false);
}else if (target.getObjectType() == GameObjectType.Building)
trueDamage = ((Building) target).modifyHealth(-damage, agent);
+1 -1
View File
@@ -480,7 +480,7 @@ public class Resists {
}
target.cancelOnTakeDamage(type, (damageAfterResists));
}
//damageAfterResists = handleFortitude(target, type, damageAfterResists);
damageAfterResists = handleFortitude(target, type, damageAfterResists);
return damageAfterResists;
}