fix(Scripts/BlackTemple): Fix variable not being set to true when Ak… (#19947)

fix(Scripts/BlackTemple): Fix variable not being set to false when Akama dies
This commit is contained in:
Andrew 2024-09-13 16:26:42 -03:00 committed by GitHub
parent 92ec34753f
commit 8030ef4ba0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -278,6 +278,7 @@ struct npc_akama_shade : public ScriptedAI
}
else if (damage >= me->GetHealth() && !_died)
{
_died = true;
damage = me->GetHealth() - 1;
Talk(SAY_DEATH);
if (Creature* shade = instance->GetCreature(DATA_SHADE_OF_AKAMA))