From 65840e89b65ac9ab6dc9b59f1bc6df149d0fb315 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 7 Jun 2022 20:27:45 -0500 Subject: [PATCH] scaled damage range for pets to be based on level --- src/engine/ai/utilities/CombatUtilities.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/ai/utilities/CombatUtilities.java b/src/engine/ai/utilities/CombatUtilities.java index f6c36e8a..af0e3b28 100644 --- a/src/engine/ai/utilities/CombatUtilities.java +++ b/src/engine/ai/utilities/CombatUtilities.java @@ -387,6 +387,8 @@ public class CombatUtilities { float max = (mainHand) ? agent.getMaxDamageHandOne() : agent.getMaxDamageHandTwo();; if(agent.isSummonedPet() == true) { + min = 40 * (1 + (agent.getLevel()/10)); + max = 60 * (1 + (agent.getLevel()/10)); //check if we have powers to cast if(agent.mobPowers.isEmpty() == false) { //check for power usage