pets to use owners ZergMultiplier

This commit is contained in:
2025-02-18 19:43:45 -06:00
parent e69c0f2799
commit 4a7a999ed1
2 changed files with 12 additions and 0 deletions
@@ -101,6 +101,14 @@ public class CombatUtilities {
if (!target.isAlive())
return;
if(agent.isPet()){
try{
damage *= agent.getOwner().ZergMultiplier;
}catch(Exception ignored){
}
}
if (AbstractWorldObject.IsAbstractCharacter(target)) {
//damage = Resists.handleFortitude((AbstractCharacter) target,DamageType.Crush,damage);
trueDamage = ((AbstractCharacter) target).modifyHealth(-damage, agent, false);