From fbaa09569e18d1cea7ac86a34f87d7ccc584ef53 Mon Sep 17 00:00:00 2001 From: nytmyr <53322305+nytmyr@users.noreply.github.com> Date: Fri, 24 Jan 2025 20:25:18 -0600 Subject: [PATCH] Add bot pet pvp damage to tune --- zone/tune.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/tune.cpp b/zone/tune.cpp index e46a8b32f..c26c92597 100644 --- a/zone/tune.cpp +++ b/zone/tune.cpp @@ -853,7 +853,7 @@ int64 Mob::TuneNPCAttack(Mob* other, bool no_avoid, bool no_hit_chance, int hit_ TuneDoAttack(other, my_hit, nullptr, no_avoid, no_hit_chance, ac_override, add_ac, avoidance_override, accuracy_override, add_avoidance, add_accuracy); LogCombat("Final damage against [{}]: [{}]", other->GetName(), my_hit.damage_done); - if (other->IsClient() && IsPet() && GetOwner()->IsClient()) { + if (other->IsClient() && IsPet() && GetOwner()->IsOfClientBot()) { //pets do half damage to clients in pvp my_hit.damage_done /= 2; if (my_hit.damage_done < 1)