mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
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:
File diff suppressed because it is too large
Load Diff
@@ -105,7 +105,10 @@ public:
|
|||||||
Talk(SAY_ONDEATH);
|
Talk(SAY_ONDEATH);
|
||||||
// If Archimonde has not yet been initialized, this won't trigger
|
// If Archimonde has not yet been initialized, this won't trigger
|
||||||
if (Creature* archi = instance->GetCreature(DATA_ARCHIMONDE))
|
if (Creature* archi = instance->GetCreature(DATA_ARCHIMONDE))
|
||||||
|
{
|
||||||
|
archi->AI()->DoAction(ACTION_BECOME_ACTIVE_AND_CHANNEL);
|
||||||
archi->AI()->Talk(SAY_ARCHIMONDE_INTRO, 25000ms);
|
archi->AI()->Talk(SAY_ARCHIMONDE_INTRO, 25000ms);
|
||||||
|
}
|
||||||
BossAI::JustDied(killer);
|
BossAI::JustDied(killer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -178,6 +178,11 @@ enum HyjalPaths
|
|||||||
HORDE_BOSS_PATH = 178527
|
HORDE_BOSS_PATH = 178527
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum BossActions
|
||||||
|
{
|
||||||
|
ACTION_BECOME_ACTIVE_AND_CHANNEL = 0
|
||||||
|
};
|
||||||
|
|
||||||
template <class AI, class T>
|
template <class AI, class T>
|
||||||
inline AI* GetHyjalAI(T* obj)
|
inline AI* GetHyjalAI(T* obj)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user