mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
DB/Creatures: Add missing PvPFlags to many creatures
This commit is contained in:
@@ -897,9 +897,6 @@ void npc_doctor::npc_doctorAI::UpdateAI(uint32 diff)
|
||||
|
||||
if (Creature* Patient = me->SummonCreature(patientEntry, **point, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 5s))
|
||||
{
|
||||
//303, this flag appear to be required for client side item->spell to work (TARGET_SINGLE_FRIEND)
|
||||
Patient->SetUnitFlag(UNIT_FLAG_PLAYER_CONTROLLED);
|
||||
|
||||
Patients.push_back(Patient->GetGUID());
|
||||
ENSURE_AI(npc_injured_patient::npc_injured_patientAI, Patient->AI())->DoctorGUID = me->GetGUID();
|
||||
ENSURE_AI(npc_injured_patient::npc_injured_patientAI, Patient->AI())->Coord = *point;
|
||||
|
||||
Reference in New Issue
Block a user