diff --git a/src/game/Objects/GameObject.cpp b/src/game/Objects/GameObject.cpp index d3cdd1532..931d83d79 100644 --- a/src/game/Objects/GameObject.cpp +++ b/src/game/Objects/GameObject.cpp @@ -1520,7 +1520,7 @@ void GameObject::Use(Unit* user) for (GuidsSet::const_iterator itr = m_UniqueUsers.begin(); itr != m_UniqueUsers.end(); ++itr) { if (Player* user = GetMap()->GetPlayer(*itr)) - if (user && user != owner) + if (user && user != owner && !info->summoningRitual.ritualPersistent) { Spell *channeled = user->GetCurrentSpell(CURRENT_CHANNELED_SPELL); if (channeled && channeled->m_spellInfo->Id == info->summoningRitual.animSpell) diff --git a/src/scripts/eastern_kingdoms/uldaman/boss_archaedas.cpp b/src/scripts/eastern_kingdoms/uldaman/boss_archaedas.cpp index 676984a49..2e6f35d05 100644 --- a/src/scripts/eastern_kingdoms/uldaman/boss_archaedas.cpp +++ b/src/scripts/eastern_kingdoms/uldaman/boss_archaedas.cpp @@ -383,6 +383,20 @@ SDComment: Needs 1 person to activate the Archaedas script SDCategory: Uldaman EndScriptData */ + +bool GOHello_go_altar_of_archaedas(Player* pPlayer, GameObject* pGo) +{ + ScriptedInstance* pInstance = (ScriptedInstance*)pGo->GetInstanceData(); + + if (!pInstance) + return false; + + if (pPlayer) + pPlayer->CastSpell(nullptr, SPELL_ALTAR_SUMMONING_VISUAL, true); + + return true; +} + class go_altar_of_archaedasAI : public GameObjectAI { public: @@ -500,5 +514,6 @@ void AddSC_boss_archaedas() newscript = new Script; newscript->Name = "go_altar_of_archaedas"; newscript->GOGetAI = &GetAI_go_altar_of_archaedas; + newscript->pGOHello = &GOHello_go_altar_of_archaedas; newscript->RegisterSelf(); } diff --git a/src/scripts/eastern_kingdoms/uldaman/uldaman.cpp b/src/scripts/eastern_kingdoms/uldaman/uldaman.cpp index f1111c5f0..f1c66cd43 100644 --- a/src/scripts/eastern_kingdoms/uldaman/uldaman.cpp +++ b/src/scripts/eastern_kingdoms/uldaman/uldaman.cpp @@ -280,6 +280,19 @@ bool OnTrigger_at_map_chamber(Player* pPlayer, const AreaTriggerEntry *at) return true; } +bool GOHello_go_altar_of_the_keepers(Player* pPlayer, GameObject* pGo) +{ + ScriptedInstance* pInstance = (ScriptedInstance*)pGo->GetInstanceData(); + + if (!pInstance) + return false; + + if (pPlayer) + pPlayer->CastSpell(nullptr, SPELL_ALTAR_SUMMONING_VISUAL, true); + + return true; +} + class go_altar_of_the_keepersAI : public GameObjectAI { public: @@ -522,6 +535,7 @@ void AddSC_uldaman() newscript = new Script; newscript->Name = "go_altar_of_the_keepers"; newscript->GOGetAI = &GetAI_go_altar_of_the_keepers; + newscript->pGOHello = &GOHello_go_altar_of_the_keepers; newscript->RegisterSelf(); newscript = new Script;