From 172b76aa48ba1bcc2cc3bfda698a01a0a6a89184 Mon Sep 17 00:00:00 2001 From: insunaa Date: Sat, 3 Aug 2024 11:04:53 +0200 Subject: [PATCH] IronCouncil: Fix SetRootSelf --- .../scripts/northrend/ulduar/ulduar/assembly_of_iron.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/AI/ScriptDevAI/scripts/northrend/ulduar/ulduar/assembly_of_iron.cpp b/src/game/AI/ScriptDevAI/scripts/northrend/ulduar/ulduar/assembly_of_iron.cpp index 09fe12ee280..a4e882c7a10 100644 --- a/src/game/AI/ScriptDevAI/scripts/northrend/ulduar/ulduar/assembly_of_iron.cpp +++ b/src/game/AI/ScriptDevAI/scripts/northrend/ulduar/ulduar/assembly_of_iron.cpp @@ -196,7 +196,7 @@ struct boss_brundirAI : public BossAI void JustSummoned(Creature* summoned) override { if (summoned->AI()) - summoned->AI()->SetRootSelf(true); + summoned->AI()->SetAIImmobilizedState(true); m_creature->AddSummonForOnDeathDespawn(summoned->GetObjectGuid()); summoned->SetInCombatWithZone(false); if (summoned->GetEntry() == NPC_OVERLOAD_VISUAL) @@ -292,7 +292,7 @@ struct boss_molgeimAI : public BossAI if (summoned->AI()) { summoned->AI()->SetReactState(REACT_PASSIVE); - summoned->AI()->SetRootSelf(true); + summoned->AI()->SetAIImmobilizedState(true); } m_creature->AddSummonForOnDeathDespawn(summoned->GetObjectGuid()); if (summoned->GetEntry() == NPC_RUNE_OF_SUMMONING) @@ -639,7 +639,7 @@ struct RuneOfPowerCouncil : public SpellScript if (summon->AI()) { summon->AI()->SetReactState(REACT_PASSIVE); - summon->AI()->SetRootSelf(true); + summon->AI()->SetAIImmobilizedState(true); } summon->SetInCombatWithZone(false); summon->CastSpell(summon, SPELL_RUNE_OF_POWER_AURA, TRIGGERED_OLD_TRIGGERED);