Browse Source

Merge branch 'master' into treb-range-fix

pull/17/head
MagicBot 2 years ago
parent
commit
8a3c3d7571
  1. 4
      src/engine/objects/Mob.java

4
src/engine/objects/Mob.java

@ -1935,8 +1935,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