Browse Source

Merge pull request 'fixed mob ATR' (#16) from mob-atr-fix into master

Reviewed-on: MagicBane/Server#16
master
MagicBot 2 years ago
parent
commit
3ae1c2ebb2
  1. 4
      src/engine/objects/Mob.java

4
src/engine/objects/Mob.java

@ -1936,8 +1936,8 @@ public class Mob extends AbstractIntelligenceAgent { @@ -1936,8 +1936,8 @@ public class Mob extends AbstractIntelligenceAgent {
// calculate atr
float atr = this.mobBase.getAttackRating();
atr += ((int) skillPercentage * 4f); //<-round down skill% -
atr += ((int) masteryPercentage * 3f);
//atr += ((int) skillPercentage * 4f); //<-round down skill% -
//atr += ((int) masteryPercentage * 3f);
if (this.statStrCurrent > this.statDexCurrent)
atr += statStrCurrent / 2;

Loading…
Cancel
Save