calculate combat stats spam fix

This commit is contained in:
2025-01-30 19:49:37 -06:00
parent c5f678ea0e
commit f4267c3c92
2 changed files with 21 additions and 19 deletions
+12 -12
View File
@@ -41,62 +41,62 @@ public class PlayerCombatStats {
try {
this.calculateATR(true);
} catch (Exception e) {
Logger.error("FAILED TO CALCULATE ATR FOR: " + this.owner.getObjectUUID());
//Logger.error("FAILED TO CALCULATE ATR FOR: " + this.owner.getObjectUUID());
}
try {
this.calculateATR(false);
} catch (Exception e) {
Logger.error("FAILED TO CALCULATE ATR FOR: " + this.owner.getObjectUUID());
//Logger.error("FAILED TO CALCULATE ATR FOR: " + this.owner.getObjectUUID());
}
try {
this.calculateMin(true);
} catch (Exception e) {
Logger.error("FAILED TO CALCULATE Min FOR: " + this.owner.getObjectUUID());
//Logger.error("FAILED TO CALCULATE Min FOR: " + this.owner.getObjectUUID());
}
try {
this.calculateMin(false);
} catch (Exception e) {
Logger.error("FAILED TO CALCULATE Min FOR: " + this.owner.getObjectUUID());
//Logger.error("FAILED TO CALCULATE Min FOR: " + this.owner.getObjectUUID());
}
try {
this.calculateMax(true);
} catch (Exception e) {
Logger.error("FAILED TO CALCULATE Max FOR: " + this.owner.getObjectUUID());
//Logger.error("FAILED TO CALCULATE Max FOR: " + this.owner.getObjectUUID());
}
try {
this.calculateMax(false);
} catch (Exception e) {
Logger.error("FAILED TO CALCULATE Max FOR: " + this.owner.getObjectUUID());
//Logger.error("FAILED TO CALCULATE Max FOR: " + this.owner.getObjectUUID());
}
try {
this.calculateAttackSpeed(true);
} catch (Exception e) {
Logger.error("FAILED TO CALCULATE Attack Speed FOR: " + this.owner.getObjectUUID());
//Logger.error("FAILED TO CALCULATE Attack Speed FOR: " + this.owner.getObjectUUID());
}
try {
this.calculateAttackSpeed(false);
} catch (Exception e) {
Logger.error("FAILED TO CALCULATE Attack Speed FOR: " + this.owner.getObjectUUID());
//Logger.error("FAILED TO CALCULATE Attack Speed FOR: " + this.owner.getObjectUUID());
}
try {
this.calculateAttackRange(true);
} catch (Exception e) {
Logger.error("FAILED TO CALCULATE Attack Range FOR: " + this.owner.getObjectUUID());
//Logger.error("FAILED TO CALCULATE Attack Range FOR: " + this.owner.getObjectUUID());
}
try {
this.calculateAttackRange(false);
} catch (Exception e) {
Logger.error("FAILED TO CALCULATE Attack Range FOR: " + this.owner.getObjectUUID());
//Logger.error("FAILED TO CALCULATE Attack Range FOR: " + this.owner.getObjectUUID());
}
try {
this.calculateRegen();
} catch (Exception e) {
Logger.error("FAILED TO CALCULATE Regen FOR: " + this.owner.getObjectUUID());
//Logger.error("FAILED TO CALCULATE Regen FOR: " + this.owner.getObjectUUID());
}
try {
this.calculateDefense();
} catch (Exception e) {
Logger.error("FAILED TO CALCULATE Defense FOR: " + this.owner.getObjectUUID());
//Logger.error("FAILED TO CALCULATE Defense FOR: " + this.owner.getObjectUUID());
}
}