forked from MagicBane/Server
Merge pull request 'fixed mob ATR' (#16) from mob-atr-fix into master
Reviewed-on: MagicBane/Server#16
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user