Core/Creatures: moved combat pulse into heartbeat handling and implemented CREATURE_STATIC_FLAG_2_FORCE_PARTY_MEMBERS_INTO_COMBAT
Port From (https://github.com/TrinityCore/TrinityCore/commit/11f32a2427caf7064947b03f3256e06d27fe6327)
This commit is contained in:
@@ -550,7 +550,6 @@ namespace Game.AI
|
||||
if (!me.IsAlive())
|
||||
return;
|
||||
|
||||
me.SetCombatPulseDelay(0);
|
||||
me.ResetLootMode();
|
||||
_events.Reset();
|
||||
summons.DespawnAll();
|
||||
@@ -581,9 +580,7 @@ namespace Game.AI
|
||||
instance.SetBossState(_bossId, EncounterState.InProgress);
|
||||
}
|
||||
|
||||
me.SetCombatPulseDelay(5);
|
||||
me.SetActive(true);
|
||||
DoZoneInCombat();
|
||||
ScheduleTasks();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user