TrinityCore
boss_elder_nadox.cpp File Reference
#include "ahnkahet.h"
#include "AreaBoundary.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "SpellAuras.h"
#include "SpellScript.h"
+ Include dependency graph for boss_elder_nadox.cpp:

Classes

struct  boss_elder_nadox
 
struct  npc_ahnkahar_nerubian
 
class  spell_ahn_kahet_swarm
 
class  achievement_respect_your_elders
 

Enumerations

enum  NadoxTexts {
  SAY_AGGRO = 0, SAY_SLAY = 1, SAY_DEATH = 2, SAY_EGG_SAC = 3,
  EMOTE_HATCHES = 4
}
 
enum  NadoxSpells {
  SPELL_BROOD_PLAGUE = 56130, SPELL_BROOD_RAGE = 59465, SPELL_BERSERK = 26662, SPELL_SUMMON_SWARMERS = 56119,
  SPELL_SUMMON_SWARM_GUARD = 56120, SPELL_SWARM_BUFF = 56281, SPELL_SPRINT = 56354
}
 
enum  NadoxEvents {
  EVENT_PLAGUE = 1, EVENT_BROOD_RAGE, EVENT_SUMMON_SWARMER, EVENT_CHECK_ENRAGE,
  EVENT_SPRINT, DATA_RESPECT_YOUR_ELDERS
}
 

Functions

void AddSC_boss_elder_nadox ()
 

Variables

ParallelogramBoundary const ElderNadoxRoomBoundary = ParallelogramBoundary(Position(690.96f, -858.93f, -25.69f), Position(571.f, -937.f, -25.69f), Position(722.93f, -908.05f, -25.69f))
 

Enumeration Type Documentation

◆ NadoxEvents

Enumerator
EVENT_PLAGUE 
EVENT_BROOD_RAGE 
EVENT_SUMMON_SWARMER 
EVENT_CHECK_ENRAGE 
EVENT_SPRINT 
DATA_RESPECT_YOUR_ELDERS 
49 {
50  EVENT_PLAGUE = 1,
56 };
Definition: boss_elder_nadox.cpp:54
Definition: boss_elder_nadox.cpp:55
Definition: boss_elder_nadox.cpp:52
Definition: boss_elder_nadox.cpp:50
Definition: boss_elder_nadox.cpp:51
Definition: boss_elder_nadox.cpp:53

◆ NadoxSpells

Enumerator
SPELL_BROOD_PLAGUE 
SPELL_BROOD_RAGE 
SPELL_BERSERK 
SPELL_SUMMON_SWARMERS 
SPELL_SUMMON_SWARM_GUARD 
SPELL_SWARM_BUFF 
SPELL_SPRINT 
35 {
36  // Elder Nadox
37  SPELL_BROOD_PLAGUE = 56130,
38  SPELL_BROOD_RAGE = 59465,
39  SPELL_BERSERK = 26662, // Enraged if too far away from home
40  SPELL_SUMMON_SWARMERS = 56119, // 2x 30178 -- 2x every 10secs
41  SPELL_SUMMON_SWARM_GUARD = 56120, // 1x 30176
42 
43  // Adds
44  SPELL_SWARM_BUFF = 56281,
45  SPELL_SPRINT = 56354
46 };
Definition: boss_elder_nadox.cpp:37
Definition: boss_elder_nadox.cpp:45
Definition: boss_elder_nadox.cpp:41
Definition: boss_elder_nadox.cpp:39
Definition: boss_elder_nadox.cpp:38
Definition: boss_elder_nadox.cpp:44
Definition: boss_elder_nadox.cpp:40

◆ NadoxTexts

enum NadoxTexts
Enumerator
SAY_AGGRO 
SAY_SLAY 
SAY_DEATH 
SAY_EGG_SAC 
EMOTE_HATCHES 
26 {
27  SAY_AGGRO = 0,
28  SAY_SLAY = 1,
29  SAY_DEATH = 2,
30  SAY_EGG_SAC = 3,
31  EMOTE_HATCHES = 4
32 };
Definition: boss_elder_nadox.cpp:31
Definition: boss_elder_nadox.cpp:28
Definition: boss_elder_nadox.cpp:30
Definition: boss_elder_nadox.cpp:29
Definition: boss_elder_nadox.cpp:27

Function Documentation

◆ AddSC_boss_elder_nadox()

void AddSC_boss_elder_nadox ( )
274 {
279 }
Definition: boss_elder_nadox.cpp:60
#define RegisterAhnKahetCreatureAI(ai_name)
Definition: ahnkahet.h:87
#define RegisterSpellScript(spell_script)
Definition: ScriptMgr.h:1341
Definition: boss_elder_nadox.cpp:218
Definition: boss_elder_nadox.cpp:262
Definition: boss_elder_nadox.cpp:179
+ Here is the caller graph for this function:

Variable Documentation

◆ ElderNadoxRoomBoundary

ParallelogramBoundary const ElderNadoxRoomBoundary = ParallelogramBoundary(Position(690.96f, -858.93f, -25.69f), Position(571.f, -937.f, -25.69f), Position(722.93f, -908.05f, -25.69f))