pets to use owners ZergMultiplier

This commit is contained in:
FatBoy committed 2025-02-18 19:43:45 -06:00
1 parent e69c0f2799
commit 4a7a999ed1
2 files changed
+12

No files matched your search

@@ -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);