diff --git a/src/map/utils/battleutils.cpp b/src/map/utils/battleutils.cpp index 33ee7aa589d..db1a3eb3195 100644 --- a/src/map/utils/battleutils.cpp +++ b/src/map/utils/battleutils.cpp @@ -5290,8 +5290,9 @@ namespace battleutils void ClaimMob(CBattleEntity* PDefender, CBattleEntity* PAttacker, bool passing) { TracyZoneScoped; - - if (PDefender == nullptr || (PDefender && PDefender->objtype != ENTITYTYPE::TYPE_MOB)) // Do not try to claim anything but mobs (trusts, pets, players don't count) + if (PDefender == nullptr || + (PDefender && PDefender->objtype != ENTITYTYPE::TYPE_MOB) || // Do not try to claim anything but mobs (trusts, pets, players don't count) + (PDefender && PDefender->objtype == ENTITYTYPE::TYPE_MOB && PDefender->allegiance == ALLEGIANCE_TYPE::PLAYER)) // Added mobs that are in allied with player { return; }