@ -1125,14 +1125,14 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -1125,14 +1125,14 @@ public class Mob extends AbstractIntelligenceAgent {
return ;
}
this . atrHandOne = ( short ) this . mobBase . getAttackRating ( ) ;
this . minDamageHandOne = ( short ) this . mobBase . getMinDmg ( ) ;
this . maxDamageHandOne = ( short ) this . mobBase . getMaxDmg ( ) ;
this . minDamageHandOne = ( short ) this . mobBase . getDamage Min ( ) ;
this . maxDamageHandOne = ( short ) this . mobBase . getDamage Max ( ) ;
this . rangeHandOne = 6 . 5f ;
this . speedHandOne = 20 ;
this . atrHandTwo = ( short ) this . mobBase . getAttackRating ( ) ;
this . minDamageHandTwo = ( short ) this . mobBase . getMinDmg ( ) ;
this . maxDamageHandTwo = ( short ) this . mobBase . getMaxDmg ( ) ;
this . minDamageHandTwo = ( short ) this . mobBase . getDamage Min ( ) ;
this . maxDamageHandTwo = ( short ) this . mobBase . getDamage Max ( ) ;
this . rangeHandTwo = 6 . 5f ;
this . speedHandTwo = 20 ;
@ -1150,8 +1150,8 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -1150,8 +1150,8 @@ public class Mob extends AbstractIntelligenceAgent {
} catch ( Exception e ) {
this . atrHandOne = ( short ) this . mobBase . getAttackRating ( ) ;
this . minDamageHandOne = ( short ) this . mobBase . getMinDmg ( ) ;
this . maxDamageHandOne = ( short ) this . mobBase . getMaxDmg ( ) ;
this . minDamageHandOne = ( short ) this . mobBase . getDamage Min ( ) ;
this . maxDamageHandOne = ( short ) this . mobBase . getDamage Max ( ) ;
this . rangeHandOne = 6 . 5f ;
this . speedHandOne = 20 ;
Logger . info ( "Mobbase ID " + this . getMobBaseID ( ) + " returned an error. setting to default ATR and Damage." + e . getMessage ( ) ) ;
@ -1163,8 +1163,8 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -1163,8 +1163,8 @@ public class Mob extends AbstractIntelligenceAgent {
} catch ( Exception e ) {
this . atrHandTwo = ( short ) this . mobBase . getAttackRating ( ) ;
this . minDamageHandTwo = ( short ) this . mobBase . getMinDmg ( ) ;
this . maxDamageHandTwo = ( short ) this . mobBase . getMaxDmg ( ) ;
this . minDamageHandTwo = ( short ) this . mobBase . getDamage Min ( ) ;
this . maxDamageHandTwo = ( short ) this . mobBase . getDamage Max ( ) ;
this . rangeHandTwo = 6 . 5f ;
this . speedHandTwo = 20 ;
Logger . info ( "Mobbase ID " + this . getMobBaseID ( ) + " returned an error. setting to default ATR and Damage." + e . getMessage ( ) ) ;
@ -1208,7 +1208,7 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -1208,7 +1208,7 @@ public class Mob extends AbstractIntelligenceAgent {
this . defenseRating = ( short ) ( defense + 0 . 5f ) ;
} catch ( Exception e ) {
Logger . info ( "Mobbase ID " + this . getMobBaseID ( ) + " returned an error. Setting to Default Defense." + e . getMessage ( ) ) ;
this . defenseRating = ( short ) this . mobBase . getDefense ( ) ;
this . defenseRating = ( short ) this . mobBase . getDefenseRating ( ) ;
}
// calculate defense for equipment
}
@ -1359,8 +1359,8 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -1359,8 +1359,8 @@ public class Mob extends AbstractIntelligenceAgent {
mastDam = masteryPercentage ;
// TODO Correct these
min = this . mobBase . getMinDmg ( ) ;
max = this . mobBase . getMaxDmg ( ) ;
min = this . mobBase . getDamage Min ( ) ;
max = this . mobBase . getDamage Max ( ) ;
} else {
if ( mainHand )
@ -1616,11 +1616,11 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -1616,11 +1616,11 @@ public class Mob extends AbstractIntelligenceAgent {
//TODO set these correctly later
this . rangeHandOne = this . mobBase . getAttackRange ( ) ;
this . rangeHandTwo = - 1 ;
this . minDamageHandOne = ( int ) this . mobBase . getMinDmg ( ) ;
this . maxDamageHandOne = ( int ) this . mobBase . getMaxDmg ( ) ;
this . minDamageHandOne = ( int ) this . mobBase . getDamage Min ( ) ;
this . maxDamageHandOne = ( int ) this . mobBase . getDamage Max ( ) ;
this . minDamageHandTwo = 0 ;
this . maxDamageHandTwo = 0 ;
this . atrHandOne = this . mobBase . getAtr ( ) ;
this . atrHandOne = this . mobBase . getAttackRating ( ) ;
this . defenseRating = ( short ) this . mobBase . getDefenseRating ( ) ;
this . isActive = true ;