fixed mob ATR

This commit is contained in:
2022-08-15 18:21:34 -05:00
parent 77aa14b7da
commit f0b80f8eb3
+2 -2
View File
@@ -1936,8 +1936,8 @@ public class Mob extends AbstractIntelligenceAgent {
// calculate atr // calculate atr
float atr = this.mobBase.getAttackRating(); float atr = this.mobBase.getAttackRating();
atr += ((int) skillPercentage * 4f); //<-round down skill% - //atr += ((int) skillPercentage * 4f); //<-round down skill% -
atr += ((int) masteryPercentage * 3f); //atr += ((int) masteryPercentage * 3f);
if (this.statStrCurrent > this.statDexCurrent) if (this.statStrCurrent > this.statDexCurrent)
atr += statStrCurrent / 2; atr += statStrCurrent / 2;