diff --git a/src/game/Entities/Unit.cpp b/src/game/Entities/Unit.cpp index 38ced1e1ad..d1b8ac6f3e 100644 --- a/src/game/Entities/Unit.cpp +++ b/src/game/Entities/Unit.cpp @@ -8531,6 +8531,13 @@ void Unit::SetInCombatState(bool PvP, Unit* enemy) if (PvP || creatureNotInCombat) enemy->GetCombatManager().TriggerCombatTimer(controller); } +#ifdef BUILD_ELUNA + else if (elunaEvents) + { + controller->SetInCombatWith(enemy); // player needs to enter combat with summoned Eluna pet + enemy->AddThreat(controller); + } +#endif else { MANGOS_ASSERT(controller->AI()); // a player without UNIT_FLAG_PLAYER_CONTROLLED should always have AI