TrinityCore
Loading...
Searching...
No Matches
boss_hadronox.cpp File Reference
#include "ScriptMgr.h"
#include "azjol_nerub.h"
#include "InstanceScript.h"
#include "Map.h"
#include "MotionMaster.h"
#include "ObjectAccessor.h"
#include "ScriptedCreature.h"
#include "SpellAuraEffects.h"
#include "SpellAuras.h"
#include "SpellScript.h"
#include "TemporarySummon.h"
+ Include dependency graph for boss_hadronox.cpp:

Go to the source code of this file.

Classes

struct  boss_hadronox
 
struct  npc_hadronox_crusherPackAI
 
struct  npc_anub_ar_crusher
 
struct  npc_anub_ar_crusher_champion
 
struct  npc_anub_ar_crusher_crypt_fiend
 
struct  npc_anub_ar_crusher_necromancer
 
struct  npc_hadronox_foeAI
 
struct  npc_anub_ar_champion
 
struct  npc_anub_ar_crypt_fiend
 
struct  npc_anub_ar_necromancer
 
class  spell_hadronox_periodic_summon_template_AuraScript
 
class  spell_hadronox_periodic_summon_champion
 
class  spell_hadronox_periodic_summon_champion::spell_hadronox_periodic_summon_champion_AuraScript
 
class  spell_hadronox_periodic_summon_crypt_fiend
 
class  spell_hadronox_periodic_summon_crypt_fiend::spell_hadronox_periodic_summon_crypt_fiend_AuraScript
 
class  spell_hadronox_periodic_summon_necromancer
 
class  spell_hadronox_periodic_summon_necromancer::spell_hadronox_periodic_summon_necromancer_AuraScript
 
class  spell_hadronox_leeching_poison
 
class  spell_hadronox_web_doors
 
class  achievement_hadronox_denied
 

Enumerations

enum  Events {
  EVENT_LEECH_POISON = 1 , EVENT_ACID_CLOUD , EVENT_WEB_GRAB , EVENT_PIERCE_ARMOR ,
  EVENT_PLAYER_CHECK , EVENT_SMASH , EVENT_TAUNT , EVENT_REND ,
  EVENT_PUMMEL , EVENT_CRUSHING_WEBS , EVENT_INFECTED_WOUND , EVENT_SHADOW_BOLT ,
  EVENT_ANIMATE_BONES
}
 
enum  Spells {
  SPELL_WEB_FRONT_DOORS = 53177 , SPELL_WEB_SIDE_DOORS = 53185 , SPELL_LEECH_POISON = 53030 , SPELL_LEECH_POISON_HEAL = 53800 ,
  SPELL_ACID_CLOUD = 53400 , SPELL_WEB_GRAB = 57731 , SPELL_PIERCE_ARMOR = 53418 , SPELL_SUMMON_CHAMPION_PERIODIC = 53035 ,
  SPELL_SUMMON_CRYPT_FIEND_PERIODIC = 53037 , SPELL_SUMMON_NECROMANCER_PERIODIC = 53036 , SPELL_SUMMON_CHAMPION_TOP = 53064 , SPELL_SUMMON_CRYPT_FIEND_TOP = 53065 ,
  SPELL_SUMMON_NECROMANCER_TOP = 53066 , SPELL_SUMMON_CHAMPION_BOTTOM = 53090 , SPELL_SUMMON_CRYPT_FIEND_BOTTOM = 53091 , SPELL_SUMMON_NECROMANCER_BOTTOM = 53092 ,
  SPELL_SMASH = 53318 , SPELL_FRENZY = 53801 , SPELL_TAUNT = 53798 , SPELL_REND = 59343 ,
  SPELL_PUMMEL = 59344 , SPELL_CRUSHING_WEBS = 59347 , SPELL_INFECTED_WOUND = 59348 , SPELL_SHADOW_BOLT = 53333 ,
  SPELL_ANIMATE_BONES_1 = 53334 , SPELL_ANIMATE_BONES_2 = 53336
}
 
enum  SummonGroups : uint32 { SUMMON_GROUP_CRUSHER_1 = 1 , SUMMON_GROUP_CRUSHER_2 = 2 , SUMMON_GROUP_CRUSHER_3 = 3 }
 
enum  Actions { ACTION_HADRONOX_MOVE = 1 , ACTION_CRUSHER_ENGAGED , ACTION_PACK_WALK }
 
enum  Data { DATA_CRUSHER_PACK_ID = 1 , DATA_HADRONOX_ENTERED_COMBAT , DATA_HADRONOX_WEBBED_DOORS , DATA_ANUBAR_GUID }
 
enum  Creatures { NPC_CRUSHER = 28922 , NPC_WORLDTRIGGER_LARGE = 23472 }
 
enum  Talk { CRUSHER_SAY_AGGRO = 1 , CRUSHER_EMOTE_FRENZY = 2 , HADRONOX_EMOTE_MOVE = 1 }
 
enum  Movements {
  MOVE_NONE = 0 , MOVE_OUTSIDE , MOVE_DOWNSTAIRS , MOVE_DOWNSTAIRS_2 ,
  MOVE_HADRONOX , MOVE_HADRONOX_REAL
}
 

Functions

void AddSC_boss_hadronox ()
 

Variables

static const uint8 NUM_STEPS = 4
 
static const Position hadronoxStep [NUM_STEPS]
 
static const Position crusherWaypoints []
 
static const Position championWaypoints []
 
static const Position cryptFiendWaypoints []
 
static const Position necromancerWaypoints []
 
static const uint8 NUM_SPAWNS = 3
 
static const Position initialMoves [NUM_SPAWNS]
 
static const Position downstairsMoves [NUM_SPAWNS]
 
static const Position downstairsMoves2 [NUM_SPAWNS]
 

Enumeration Type Documentation

◆ Actions

enum Actions
Enumerator
ACTION_HADRONOX_MOVE 
ACTION_CRUSHER_ENGAGED 
ACTION_PACK_WALK 

Definition at line 108 of file boss_hadronox.cpp.

◆ Creatures

enum Creatures
Enumerator
NPC_CRUSHER 
NPC_WORLDTRIGGER_LARGE 

Definition at line 123 of file boss_hadronox.cpp.

◆ Data

enum Data
Enumerator
DATA_CRUSHER_PACK_ID 
DATA_HADRONOX_ENTERED_COMBAT 
DATA_HADRONOX_WEBBED_DOORS 
DATA_ANUBAR_GUID 

Definition at line 115 of file boss_hadronox.cpp.

◆ Events

enum Events
Enumerator
EVENT_LEECH_POISON 
EVENT_ACID_CLOUD 
EVENT_WEB_GRAB 
EVENT_PIERCE_ARMOR 
EVENT_PLAYER_CHECK 
EVENT_SMASH 
EVENT_TAUNT 
EVENT_REND 
EVENT_PUMMEL 
EVENT_CRUSHING_WEBS 
EVENT_INFECTED_WOUND 
EVENT_SHADOW_BOLT 
EVENT_ANIMATE_BONES 

Definition at line 30 of file boss_hadronox.cpp.

◆ Movements

enum Movements
Enumerator
MOVE_NONE 
MOVE_OUTSIDE 
MOVE_DOWNSTAIRS 
MOVE_DOWNSTAIRS_2 
MOVE_HADRONOX 
MOVE_HADRONOX_REAL 

Definition at line 137 of file boss_hadronox.cpp.

◆ Spells

enum Spells
Enumerator
SPELL_WEB_FRONT_DOORS 
SPELL_WEB_SIDE_DOORS 
SPELL_LEECH_POISON 
SPELL_LEECH_POISON_HEAL 
SPELL_ACID_CLOUD 
SPELL_WEB_GRAB 
SPELL_PIERCE_ARMOR 
SPELL_SUMMON_CHAMPION_PERIODIC 
SPELL_SUMMON_CRYPT_FIEND_PERIODIC 
SPELL_SUMMON_NECROMANCER_PERIODIC 
SPELL_SUMMON_CHAMPION_TOP 
SPELL_SUMMON_CRYPT_FIEND_TOP 
SPELL_SUMMON_NECROMANCER_TOP 
SPELL_SUMMON_CHAMPION_BOTTOM 
SPELL_SUMMON_CRYPT_FIEND_BOTTOM 
SPELL_SUMMON_NECROMANCER_BOTTOM 
SPELL_SMASH 
SPELL_FRENZY 
SPELL_TAUNT 
SPELL_REND 
SPELL_PUMMEL 
SPELL_CRUSHING_WEBS 
SPELL_INFECTED_WOUND 
SPELL_SHADOW_BOLT 
SPELL_ANIMATE_BONES_1 
SPELL_ANIMATE_BONES_2 

Definition at line 58 of file boss_hadronox.cpp.

◆ SummonGroups

Enumerator
SUMMON_GROUP_CRUSHER_1 
SUMMON_GROUP_CRUSHER_2 
SUMMON_GROUP_CRUSHER_3 

Definition at line 101 of file boss_hadronox.cpp.

◆ Talk

enum Talk
Enumerator
CRUSHER_SAY_AGGRO 
CRUSHER_EMOTE_FRENZY 
HADRONOX_EMOTE_MOVE 

Definition at line 129 of file boss_hadronox.cpp.

Function Documentation

◆ AddSC_boss_hadronox()

void AddSC_boss_hadronox ( )

Definition at line 1023 of file boss_hadronox.cpp.

+ Here is the caller graph for this function:

Variable Documentation

◆ championWaypoints

const Position championWaypoints[]
static
Initial value:
=
{
{ 539.2076f, 549.7539f, 732.8668f, 4.55531f },
{ 527.3098f, 559.5197f, 732.9407f, 4.742493f },
{ }
}

Definition at line 548 of file boss_hadronox.cpp.

◆ crusherWaypoints

const Position crusherWaypoints[]
static
Initial value:
=
{
{ 529.6913f, 547.1257f, 731.9155f, 4.799650f },
{ 517.51f , 561.439f , 734.0306f, 4.520403f },
{ 543.414f , 551.728f , 732.0522f, 3.996804f }
}

Definition at line 490 of file boss_hadronox.cpp.

◆ cryptFiendWaypoints

const Position cryptFiendWaypoints[]
static
Initial value:
=
{
{ 520.3911f, 548.7895f, 732.0118f, 5.0091f },
{ },
{ 550.9611f, 545.1674f, 731.9031f, 3.996804f }
}

Definition at line 580 of file boss_hadronox.cpp.

◆ downstairsMoves

const Position downstairsMoves[NUM_SPAWNS]
static
Initial value:
=
{
{ 513.574341f, 587.022156f, 736.229065f },
{ 537.920410f, 580.436157f, 732.796692f },
{ 601.289246f, 583.259644f, 725.443054f },
}

Definition at line 651 of file boss_hadronox.cpp.

◆ downstairsMoves2

const Position downstairsMoves2[NUM_SPAWNS]
static
Initial value:
=
{
{ 571.498718f, 576.978333f, 727.582947f },
{ 571.498718f, 576.978333f, 727.582947f },
{ }
}

Definition at line 657 of file boss_hadronox.cpp.

◆ hadronoxStep

const Position hadronoxStep[NUM_STEPS]
static
Initial value:
=
{
{ 515.5848f, 544.2007f, 673.6272f },
{ 562.191f , 514.068f , 696.4448f },
{ 610.3828f, 518.6407f, 695.9385f },
{ 530.42f , 560.003f, 733.0308f }
}

Definition at line 148 of file boss_hadronox.cpp.

◆ initialMoves

const Position initialMoves[NUM_SPAWNS]
static
Initial value:
=
{
{ 485.314606f, 611.418640f, 771.428406f },
{ 575.760437f, 611.516418f, 771.427368f },
{ 588.930725f, 598.233276f, 739.142151f }
}

Definition at line 645 of file boss_hadronox.cpp.

◆ necromancerWaypoints

const Position necromancerWaypoints[]
static
Initial value:
=
{
{ },
{ 507.6937f, 563.3471f, 734.8986f, 4.520403f },
{ 535.1049f, 552.8961f, 732.8441f, 3.996804f },
}

Definition at line 612 of file boss_hadronox.cpp.

◆ NUM_SPAWNS

const uint8 NUM_SPAWNS = 3
static

Definition at line 644 of file boss_hadronox.cpp.

◆ NUM_STEPS

const uint8 NUM_STEPS = 4
static

Definition at line 147 of file boss_hadronox.cpp.