fix(Core/Scripts): Prevents Crystalline Frayer from staying in combat (#26561)

This commit is contained in:
Alexis LOUBIÈRE
2026-07-18 19:03:52 +02:00
committed by GitHub
parent 495f219a5b
commit c6dc7f8f23

View File

@@ -207,6 +207,7 @@ struct npc_crystalline_frayer : public ScriptedAI
{
_allowDeath = false;
_inSeedPod = false;
me->SetIsCombatDisallowed(false);
_scheduler.CancelAll();
me->RemoveAllAuras();
@@ -256,6 +257,7 @@ struct npc_crystalline_frayer : public ScriptedAI
void EnterSeedPod()
{
_inSeedPod = true;
me->SetIsCombatDisallowed(true);
_scheduler.CancelGroup(GROUP_COMBAT);
me->AttackStop();
@@ -283,6 +285,7 @@ struct npc_crystalline_frayer : public ScriptedAI
void LeaveSeedPod()
{
_inSeedPod = false;
me->SetIsCombatDisallowed(false);
Talk(SAY_EMOTE);