fixed mob ATR #16

Merged
MagicBot merged 1 commits from mob-atr-fix into master 2 years ago
  1. 4
      src/engine/objects/Mob.java

4
src/engine/objects/Mob.java

@ -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;

Loading…
Cancel
Save