Browse Source

scaled damage range for pets to be based on level

pull/13/head
FatBoy-DOTC 3 years ago
parent
commit
65840e89b6
  1. 2
      src/engine/ai/utilities/CombatUtilities.java

2
src/engine/ai/utilities/CombatUtilities.java

@ -387,6 +387,8 @@ public class CombatUtilities {
float max = (mainHand) ? agent.getMaxDamageHandOne() : agent.getMaxDamageHandTwo();; float max = (mainHand) ? agent.getMaxDamageHandOne() : agent.getMaxDamageHandTwo();;
if(agent.isSummonedPet() == true) if(agent.isSummonedPet() == true)
{ {
min = 40 * (1 + (agent.getLevel()/10));
max = 60 * (1 + (agent.getLevel()/10));
//check if we have powers to cast //check if we have powers to cast
if(agent.mobPowers.isEmpty() == false) { if(agent.mobPowers.isEmpty() == false) {
//check for power usage //check for power usage

Loading…
Cancel
Save