AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
boss_netherspite.cpp File Reference
#include "CreatureScript.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "karazhan.h"

Go to the source code of this file.

Classes

struct  boss_netherspite
 
class  spell_nether_portal_perseverence
 

Enumerations

enum  Emotes {
  EMOTE_PHASE_BANISH = 0 ,
  EMOTE_PHASE_PORTAL = 1
}
 
enum  Spells {
  SPELL_NETHERBURN_AURA = 30522 ,
  SPELL_VOIDZONE = 37063 ,
  SPELL_NETHER_INFUSION = 38688 ,
  SPELL_NETHERBREATH = 38523 ,
  SPELL_BANISH_VISUAL = 39833 ,
  SPELL_BANISH_ROOT = 42716 ,
  SPELL_EMPOWERMENT = 38549 ,
  SPELL_NETHERSPITE_ROAR = 38684
}
 
enum  Portals {
  RED_PORTAL = 0 ,
  GREEN_PORTAL = 1 ,
  BLUE_PORTAL = 2
}
 
enum  Groups {
  PORTAL_PHASE = 0 ,
  BANISH_PHASE = 1
}
 

Functions

void AddSC_boss_netherspite ()
 

Variables

const float PortalCoord [3][3]
 
const uint32 PortalID [3] = {17369, 17367, 17368}
 
const uint32 PortalVisual [3] = {30487, 30490, 30491}
 
const uint32 PortalBeam [3] = {30465, 30464, 30463}
 
const uint32 PlayerBuff [3] = {30421, 30422, 30423}
 
const uint32 NetherBuff [3] = {30466, 30467, 30468}
 
const uint32 PlayerDebuff [3] = {38637, 38638, 38639}
 

Enumeration Type Documentation

◆ Emotes

enum Emotes
Enumerator
EMOTE_PHASE_BANISH 
EMOTE_PHASE_PORTAL 
27{
30};
@ EMOTE_PHASE_BANISH
Definition boss_netherspite.cpp:28
@ EMOTE_PHASE_PORTAL
Definition boss_netherspite.cpp:29

◆ Groups

enum Groups
Enumerator
PORTAL_PHASE 
BANISH_PHASE 
52{
53 PORTAL_PHASE = 0,
54 BANISH_PHASE = 1
55};
@ BANISH_PHASE
Definition boss_netherspite.cpp:54
@ PORTAL_PHASE
Definition boss_netherspite.cpp:53

◆ Portals

enum Portals
Enumerator
RED_PORTAL 
GREEN_PORTAL 
BLUE_PORTAL 
45{
46 RED_PORTAL = 0, // Perseverence
47 GREEN_PORTAL = 1, // Serenity
48 BLUE_PORTAL = 2 // Dominance
49};
@ GREEN_PORTAL
Definition boss_netherspite.cpp:47
@ RED_PORTAL
Definition boss_netherspite.cpp:46
@ BLUE_PORTAL
Definition boss_netherspite.cpp:48

◆ Spells

enum Spells
Enumerator
SPELL_NETHERBURN_AURA 
SPELL_VOIDZONE 
SPELL_NETHER_INFUSION 
SPELL_NETHERBREATH 
SPELL_BANISH_VISUAL 
SPELL_BANISH_ROOT 
SPELL_EMPOWERMENT 
SPELL_NETHERSPITE_ROAR 
33{
35 SPELL_VOIDZONE = 37063,
37 SPELL_NETHERBREATH = 38523,
38 SPELL_BANISH_VISUAL = 39833,
39 SPELL_BANISH_ROOT = 42716,
40 SPELL_EMPOWERMENT = 38549,
42};
@ SPELL_NETHERBURN_AURA
Definition boss_netherspite.cpp:34
@ SPELL_EMPOWERMENT
Definition boss_netherspite.cpp:40
@ SPELL_BANISH_VISUAL
Definition boss_netherspite.cpp:38
@ SPELL_NETHER_INFUSION
Definition boss_netherspite.cpp:36
@ SPELL_VOIDZONE
Definition boss_netherspite.cpp:35
@ SPELL_NETHERSPITE_ROAR
Definition boss_netherspite.cpp:41
@ SPELL_NETHERBREATH
Definition boss_netherspite.cpp:37
@ SPELL_BANISH_ROOT
Definition boss_netherspite.cpp:39

Function Documentation

◆ AddSC_boss_netherspite()

void AddSC_boss_netherspite ( )
335{
338}
#define RegisterSpellScript(spell_script)
Definition SpellScriptLoader.h:88
Definition boss_netherspite.cpp:320
#define RegisterKarazhanCreatureAI(ai_name)
Definition karazhan.h:219
Definition boss_netherspite.cpp:72

References RegisterKarazhanCreatureAI, and RegisterSpellScript.

Referenced by AddEasternKingdomsScripts().

Variable Documentation

◆ NetherBuff

const uint32 NetherBuff[3] = {30466, 30467, 30468}
68{30466, 30467, 30468};

Referenced by boss_netherspite::SwitchToBanishPhase(), and boss_netherspite::UpdatePortals().

◆ PlayerBuff

const uint32 PlayerBuff[3] = {30421, 30422, 30423}
67{30421, 30422, 30423};

Referenced by boss_netherspite::UpdatePortals().

◆ PlayerDebuff

const uint32 PlayerDebuff[3] = {38637, 38638, 38639}
69{38637, 38638, 38639};

Referenced by boss_netherspite::UpdatePortals().

◆ PortalBeam

const uint32 PortalBeam[3] = {30465, 30464, 30463}
66{30465, 30464, 30463};

Referenced by boss_netherspite::UpdatePortals().

◆ PortalCoord

const float PortalCoord[3][3]
Initial value:
=
{
{-11195.353516f, -1613.237183f, 278.237258f},
{-11137.846680f, -1685.607422f, 278.239258f},
{-11094.493164f, -1591.969238f, 279.949188f}
}
58{
59 {-11195.353516f, -1613.237183f, 278.237258f}, // Left side
60 {-11137.846680f, -1685.607422f, 278.239258f}, // Right side
61 {-11094.493164f, -1591.969238f, 279.949188f} // Back side
62};

Referenced by boss_netherspite::SummonPortals().

◆ PortalID

const uint32 PortalID[3] = {17369, 17367, 17368}
64{17369, 17367, 17368};

Referenced by boss_netherspite::SummonPortals(), and boss_netherspite::UpdatePortals().

◆ PortalVisual

const uint32 PortalVisual[3] = {30487, 30490, 30491}
65{30487, 30490, 30491};

Referenced by boss_netherspite::SummonPortals().