From 22121b741922496fac9e06b530e1a7712e5168ac Mon Sep 17 00:00:00 2001 From: nytmyr <53322305+nytmyr@users.noreply.github.com> Date: Fri, 24 Jan 2025 20:10:42 -0600 Subject: [PATCH] Make bot pets only do half damage in pvp --- zone/attack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/attack.cpp b/zone/attack.cpp index 278a8b954..99375763c 100644 --- a/zone/attack.cpp +++ b/zone/attack.cpp @@ -2398,7 +2398,7 @@ bool NPC::Attack(Mob* other, int Hand, bool bRiposte, bool IsStrikethrough, bool 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) {