Core/SmartAI: SmartAI creatures no longer process health-based hooks after death.
Port From (https://github.com/TrinityCore/TrinityCore/commit/3db58c4d96c446b736b84d4954f8fd9c9e309e33)
This commit is contained in:
@@ -322,6 +322,13 @@ namespace Game.AI
|
||||
|
||||
public override void UpdateAI(uint diff)
|
||||
{
|
||||
if (!me.IsAlive())
|
||||
{
|
||||
if (IsEngaged())
|
||||
EngagementOver();
|
||||
return;
|
||||
}
|
||||
|
||||
CheckConditions(diff);
|
||||
|
||||
GetScript().OnUpdate(diff);
|
||||
|
||||
Reference in New Issue
Block a user