|
|
|
@ -334,6 +334,10 @@ public class CombatUtilities {
@@ -334,6 +334,10 @@ public class CombatUtilities {
|
|
|
|
|
//set default values
|
|
|
|
|
float min = 40; |
|
|
|
|
float max = 60; |
|
|
|
|
if(agent.getLevel() == 85){ |
|
|
|
|
min = agent.getMinDamageHandOne(); |
|
|
|
|
max = agent.getMaxDamageHandOne(); |
|
|
|
|
} |
|
|
|
|
float range; |
|
|
|
|
float damage; |
|
|
|
|
float dmgMultiplier = 1 + agent.getBonuses().getFloatPercentAll(ModType.MeleeDamageModifier, SourceType.None); |
|
|
|
@ -378,8 +382,10 @@ public class CombatUtilities {
@@ -378,8 +382,10 @@ public class CombatUtilities {
|
|
|
|
|
} |
|
|
|
|
else{ |
|
|
|
|
//damage calc for regular mob
|
|
|
|
|
if(agent.getLevel() > 85) { |
|
|
|
|
min = agent.getMobBase().getDamageMin(); |
|
|
|
|
max = agent.getMobBase().getMaxDmg(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
DamageType dt = DamageType.Crush; |
|
|
|
|
if(agent.getEquip().get(1) != null && agent.getEquip().get(2) == null){ |
|
|
|
|