fix(Scripts/Hyjal): Archimonde refactored (#18594)

* wip

* wippers

* more wip

* wip314

* some work

* lesgo

* summonlist fixed

* I need glasses

* open from draft PR

* some fixes

* unused
This commit is contained in:
Dan
2024-03-27 02:37:00 +01:00
committed by GitHub
parent b1cf830009
commit 02cf369fe2
3 changed files with 402 additions and 628 deletions

View File

@@ -105,7 +105,10 @@ public:
Talk(SAY_ONDEATH);
// If Archimonde has not yet been initialized, this won't trigger
if (Creature* archi = instance->GetCreature(DATA_ARCHIMONDE))
{
archi->AI()->DoAction(ACTION_BECOME_ACTIVE_AND_CHANNEL);
archi->AI()->Talk(SAY_ARCHIMONDE_INTRO, 25000ms);
}
BossAI::JustDied(killer);
}

View File

@@ -178,6 +178,11 @@ enum HyjalPaths
HORDE_BOSS_PATH = 178527
};
enum BossActions
{
ACTION_BECOME_ACTIVE_AND_CHANNEL = 0
};
template <class AI, class T>
inline AI* GetHyjalAI(T* obj)
{