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

Reviewed-on: MagicBane/Server#16
This commit is contained in:
2022-08-24 12:21:25 +00:00
+2 -2
View File
@@ -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;