TrinityCore
Loading...
Searching...
No Matches
boss_nightbane.cpp File Reference
#include "ScriptMgr.h"
#include "GameObject.h"
#include "GameObjectAI.h"
#include "InstanceScript.h"
#include "karazhan.h"
#include "MotionMaster.h"
#include "ObjectAccessor.h"
#include "ScriptedCreature.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"
+ Include dependency graph for boss_nightbane.cpp:

Go to the source code of this file.

Classes

class  boss_nightbane
 
struct  boss_nightbane::boss_nightbaneAI
 
class  spell_rain_of_bones
 
class  spell_rain_of_bones::spell_rain_of_bones_AuraScript
 
class  go_blackened_urn
 
struct  go_blackened_urn::go_blackened_urnAI
 

Enumerations

enum  NightbaneSpells {
  SPELL_BELLOWING_ROAR = 36922 , SPELL_CHARRED_EARTH = 30129 , SPELL_CLEAVE = 30131 , SPELL_DISTRACTING_ASH = 30130 ,
  SPELL_RAIN_OF_BONES = 37098 , SPELL_SMOKING_BLAST = 30128 , SPELL_SMOKING_BLAST_T = 37057 , SPELL_SMOLDERING_BREATH = 30210 ,
  SPELL_SUMMON_SKELETON = 30170 , SPELL_TAIL_SWEEP = 25653
}
 
enum  Says {
  EMOTE_SUMMON = 0 , YELL_AGGRO = 1 , YELL_FLY_PHASE = 2 , YELL_LAND_PHASE = 3 ,
  EMOTE_BREATH = 4
}
 
enum  NightbanePoints {
  POINT_INTRO_START = 0 , POINT_INTRO_END = 1 , POINT_INTRO_LANDING = 2 , POINT_PHASE_TWO_FLY = 3 ,
  POINT_PHASE_TWO_PRE_FLY = 4 , POINT_PHASE_TWO_LANDING = 5 , POINT_PHASE_TWO_END = 6
}
 
enum  NightbaneSplineChain {
  SPLINE_CHAIN_INTRO_START = 1 , SPLINE_CHAIN_INTRO_END = 2 , SPLINE_CHAIN_INTRO_LANDING = 3 , SPLINE_CHAIN_SECOND_LANDING = 4 ,
  SPLINE_CHAIN_PHASE_TWO = 5
}
 
enum  NightbaneEvents {
  EVENT_BELLOWING_ROAR = 1 , EVENT_CHARRED_EARTH , EVENT_CLEAVE , EVENT_DISTRACTING_ASH ,
  EVENT_EMOTE_BREATH , EVENT_END_INTRO , EVENT_END_PHASE_TWO , EVENT_INTRO_LANDING ,
  EVENT_LAND , EVENT_LANDED , EVENT_PRE_FLY_END , EVENT_PRE_LAND ,
  EVENT_RAIN_OF_BONES , EVENT_SMOLDERING_BREATH , EVENT_SMOKING_BLAST , EVENT_SMOKING_BLAST_T ,
  EVENT_START_INTRO_PATH , EVENT_TAIL_SWEEP
}
 
enum  NightbanePhases { PHASE_INTRO = 0 , PHASE_GROUND , PHASE_FLY }
 
enum  NightbaneGroups { GROUP_GROUND = 1 , GROUP_FLY }
 
enum  NightbaneMisc { ACTION_SUMMON = 0 , PATH_PHASE_TWO = 13547500 }
 

Functions

void AddSC_boss_nightbane ()
 

Variables

Position const FlyPosition = { -11160.13f, -1870.683f, 97.73876f, 0.0f }
 
Position const FlyPositionLeft = { -11094.42f, -1866.992f, 107.8375f, 0.0f }
 
Position const FlyPositionRight = { -11193.77f, -1921.983f, 107.9845f, 0.0f }
 

Enumeration Type Documentation

◆ NightbaneEvents

Enumerator
EVENT_BELLOWING_ROAR 
EVENT_CHARRED_EARTH 
EVENT_CLEAVE 
EVENT_DISTRACTING_ASH 
EVENT_EMOTE_BREATH 
EVENT_END_INTRO 
EVENT_END_PHASE_TWO 
EVENT_INTRO_LANDING 
EVENT_LAND 
EVENT_LANDED 
EVENT_PRE_FLY_END 
EVENT_PRE_LAND 
EVENT_RAIN_OF_BONES 
EVENT_SMOLDERING_BREATH 
EVENT_SMOKING_BLAST 
EVENT_SMOKING_BLAST_T 
EVENT_START_INTRO_PATH 
EVENT_TAIL_SWEEP 

Definition at line 72 of file boss_nightbane.cpp.

◆ NightbaneGroups

Enumerator
GROUP_GROUND 
GROUP_FLY 

Definition at line 101 of file boss_nightbane.cpp.

◆ NightbaneMisc

Enumerator
ACTION_SUMMON 
PATH_PHASE_TWO 

Definition at line 107 of file boss_nightbane.cpp.

◆ NightbanePhases

Enumerator
PHASE_INTRO 
PHASE_GROUND 
PHASE_FLY 

Definition at line 94 of file boss_nightbane.cpp.

◆ NightbanePoints

Enumerator
POINT_INTRO_START 
POINT_INTRO_END 
POINT_INTRO_LANDING 
POINT_PHASE_TWO_FLY 
POINT_PHASE_TWO_PRE_FLY 
POINT_PHASE_TWO_LANDING 
POINT_PHASE_TWO_END 

Definition at line 52 of file boss_nightbane.cpp.

◆ NightbaneSpells

Enumerator
SPELL_BELLOWING_ROAR 
SPELL_CHARRED_EARTH 
SPELL_CLEAVE 
SPELL_DISTRACTING_ASH 
SPELL_RAIN_OF_BONES 
SPELL_SMOKING_BLAST 
SPELL_SMOKING_BLAST_T 
SPELL_SMOLDERING_BREATH 
SPELL_SUMMON_SKELETON 
SPELL_TAIL_SWEEP 

Definition at line 29 of file boss_nightbane.cpp.

◆ NightbaneSplineChain

Enumerator
SPLINE_CHAIN_INTRO_START 
SPLINE_CHAIN_INTRO_END 
SPLINE_CHAIN_INTRO_LANDING 
SPLINE_CHAIN_SECOND_LANDING 
SPLINE_CHAIN_PHASE_TWO 

Definition at line 63 of file boss_nightbane.cpp.

◆ Says

enum Says
Enumerator
EMOTE_SUMMON 
YELL_AGGRO 
YELL_FLY_PHASE 
YELL_LAND_PHASE 
EMOTE_BREATH 

Definition at line 43 of file boss_nightbane.cpp.

Function Documentation

◆ AddSC_boss_nightbane()

void AddSC_boss_nightbane ( )

Definition at line 450 of file boss_nightbane.cpp.

+ Here is the caller graph for this function:

Variable Documentation

◆ FlyPosition

Position const FlyPosition = { -11160.13f, -1870.683f, 97.73876f, 0.0f }

Definition at line 113 of file boss_nightbane.cpp.

◆ FlyPositionLeft

Position const FlyPositionLeft = { -11094.42f, -1866.992f, 107.8375f, 0.0f }

Definition at line 114 of file boss_nightbane.cpp.

◆ FlyPositionRight

Position const FlyPositionRight = { -11193.77f, -1921.983f, 107.9845f, 0.0f }

Definition at line 115 of file boss_nightbane.cpp.