Scripts/Ulduar: Fixed XT002 Heart health regeneration

(cherry picked from commit 05eeaade3e4e15028143575dcb16267959a2153d)
This commit is contained in:
Keader
2022-01-06 19:42:19 +01:00
committed by Shauren
parent 08d3bc7488
commit 239f33b4a4
@@ -393,7 +393,11 @@ private:
struct npc_xt002_heart : public NullCreatureAI
{
npc_xt002_heart(Creature* creature) : NullCreatureAI(creature), _instance(creature->GetInstanceScript()) { }
npc_xt002_heart(Creature* creature) : NullCreatureAI(creature)
{
creature->SetRegenerateHealth(false);
_instance = creature->GetInstanceScript();
}
void DoAction(int32 action) override
{