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

Go to the source code of this file.

Classes

class  HideNpcEvent
 
class  boss_anubarak_trial
 
struct  boss_anubarak_trial::boss_anubarak_trialAI
 
class  npc_swarm_scarab
 
struct  npc_swarm_scarab::npc_swarm_scarabAI
 
class  npc_frost_sphere
 
struct  npc_frost_sphere::npc_frost_sphereAI
 
class  npc_nerubian_burrower
 
struct  npc_nerubian_burrower::npc_nerubian_burrowerAI
 
class  npc_anubarak_spike
 
struct  npc_anubarak_spike::npc_anubarak_spikeAI
 
class  spell_pursuing_spikes_aura
 
class  spell_gen_leeching_swarm_aura
 
class  spell_gen_leeching_swarm_dmg
 

Enumerations

enum  AnubTexts {
  SAY_INTRO = 0 ,
  SAY_AGGRO = 1 ,
  EMOTE_SUBMERGE = 2 ,
  EMOTE_BURROWER = 3 ,
  SAY_EMERGE = 4 ,
  SAY_LEECHING_SWARM = 5 ,
  EMOTE_LEECHING_SWARM = 6 ,
  SAY_KILL_PLAYER = 7 ,
  SAY_DEATH = 8 ,
  EMOTE_SPIKE = 0
}
 
enum  AnubNPCs {
  NPC_FROST_SPHERE = 34606 ,
  NPC_BURROW = 34862 ,
  NPC_BURROWER = 34607 ,
  NPC_SCARAB = 34605 ,
  NPC_SPIKE = 34660
}
 
enum  AnubSpells {
  SPELL_SUBMERGE = 65981 ,
  SPELL_EMERGE = 65982 ,
  SPELL_BERSERK = 26662 ,
  SPELL_CLEAR_ALL_DEBUFFS = 34098 ,
  SPELL_FREEZING_SLASH = 66012 ,
  SPELL_PENETRATING_COLD = 66013 ,
  SPELL_SUMMON_SCARAB = 66339 ,
  SPELL_SUMMON_BURROWER = 66332 ,
  SPELL_LEECHING_SWARM = 66118 ,
  SPELL_MARK = 67574 ,
  SPELL_SUMMON_SPIKE = 66169 ,
  SPELL_SPIKE_SPEED1 = 65920 ,
  SPELL_SPIKE_TRAIL = 65921 ,
  SPELL_SPIKE_SPEED2 = 65922 ,
  SPELL_SPIKE_SPEED3 = 65923 ,
  SPELL_SPIKE_FAIL = 66181 ,
  SPELL_SPIKE_TELE = 66170 ,
  SPELL_IMPALE = 65919 ,
  SPELL_DETERMINATION = 66092 ,
  SPELL_ACID_MANDIBLE = 65774 ,
  SPELL_CHURNING_GROUND = 66969 ,
  SPELL_FROST_SPHERE = 67539 ,
  SPELL_PERMAFROST = 66193 ,
  SPELL_PERMAFROST_VISUAL = 65882 ,
  SPELL_SPIDER_FRENZY = 66128 ,
  SPELL_EXPOSE_WEAKNESS = 67720 ,
  SPELL_SHADOW_STRIKE = 66134 ,
  SPELL_SUBMERGE_EFFECT = 53421 ,
  SPELL_EMERGE_EFFECT = 66947
}
 
enum  AnubEvents {
  EVENT_RESPAWN_SPHERE = 1 ,
  EVENT_ENRAGE ,
  EVENT_SPELL_FREEZING_SLASH ,
  EVENT_SPELL_PENETRATING_COLD ,
  EVENT_SUMMON_NERUBIAN ,
  EVENT_SUBMERGE ,
  EVENT_EMERGE ,
  EVENT_EMERGE_2 ,
  EVENT_SPELL_SUMMON_SPIKE ,
  EVENT_SPELL_SHADOW_STRIKE ,
  EVENT_SUMMON_SCARAB
}
 
enum  eLeechingSwarmSpells {
  SPELL_LEECHING_SWARM_DMG = 66240 ,
  SPELL_LEECHING_SWARM_HEAL = 66125
}
 

Functions

void AddSC_boss_anubarak_trial ()
 

Variables

const Position AnubLocs []
 

Enumeration Type Documentation

◆ AnubEvents

enum AnubEvents
Enumerator
EVENT_RESPAWN_SPHERE 
EVENT_ENRAGE 
EVENT_SPELL_FREEZING_SLASH 
EVENT_SPELL_PENETRATING_COLD 
EVENT_SUMMON_NERUBIAN 
EVENT_SUBMERGE 
EVENT_EMERGE 
EVENT_EMERGE_2 
EVENT_SPELL_SUMMON_SPIKE 
EVENT_SPELL_SHADOW_STRIKE 
EVENT_SUMMON_SCARAB 
132{
144};
@ EVENT_RESPAWN_SPHERE
Definition: boss_anubarak_trial.cpp:133
@ EVENT_EMERGE_2
Definition: boss_anubarak_trial.cpp:140
@ EVENT_EMERGE
Definition: boss_anubarak_trial.cpp:139
@ EVENT_SPELL_PENETRATING_COLD
Definition: boss_anubarak_trial.cpp:136
@ EVENT_ENRAGE
Definition: boss_anubarak_trial.cpp:134
@ EVENT_SUMMON_NERUBIAN
Definition: boss_anubarak_trial.cpp:137
@ EVENT_SPELL_FREEZING_SLASH
Definition: boss_anubarak_trial.cpp:135
@ EVENT_SUMMON_SCARAB
Definition: boss_anubarak_trial.cpp:143
@ EVENT_SPELL_SUMMON_SPIKE
Definition: boss_anubarak_trial.cpp:141
@ EVENT_SUBMERGE
Definition: boss_anubarak_trial.cpp:138
@ EVENT_SPELL_SHADOW_STRIKE
Definition: boss_anubarak_trial.cpp:142

◆ AnubNPCs

enum AnubNPCs
Enumerator
NPC_FROST_SPHERE 
NPC_BURROW 
NPC_BURROWER 
NPC_SCARAB 
NPC_SPIKE 
43{
44 NPC_FROST_SPHERE = 34606,
45 NPC_BURROW = 34862,
46 NPC_BURROWER = 34607,
47 NPC_SCARAB = 34605,
48 NPC_SPIKE = 34660,
49};
@ NPC_FROST_SPHERE
Definition: boss_anubarak_trial.cpp:44
@ NPC_BURROW
Definition: boss_anubarak_trial.cpp:45
@ NPC_SPIKE
Definition: boss_anubarak_trial.cpp:48
@ NPC_SCARAB
Definition: boss_anubarak_trial.cpp:47
@ NPC_BURROWER
Definition: boss_anubarak_trial.cpp:46

◆ AnubSpells

enum AnubSpells
Enumerator
SPELL_SUBMERGE 
SPELL_EMERGE 
SPELL_BERSERK 
SPELL_CLEAR_ALL_DEBUFFS 
SPELL_FREEZING_SLASH 
SPELL_PENETRATING_COLD 
SPELL_SUMMON_SCARAB 
SPELL_SUMMON_BURROWER 
SPELL_LEECHING_SWARM 
SPELL_MARK 
SPELL_SUMMON_SPIKE 
SPELL_SPIKE_SPEED1 
SPELL_SPIKE_TRAIL 
SPELL_SPIKE_SPEED2 
SPELL_SPIKE_SPEED3 
SPELL_SPIKE_FAIL 
SPELL_SPIKE_TELE 
SPELL_IMPALE 
SPELL_DETERMINATION 
SPELL_ACID_MANDIBLE 
SPELL_CHURNING_GROUND 
SPELL_FROST_SPHERE 
SPELL_PERMAFROST 
SPELL_PERMAFROST_VISUAL 
SPELL_SPIDER_FRENZY 
SPELL_EXPOSE_WEAKNESS 
SPELL_SHADOW_STRIKE 
SPELL_SUBMERGE_EFFECT 
SPELL_EMERGE_EFFECT 
87{
88 // Anub'arak
89 SPELL_SUBMERGE = 65981,
90 SPELL_EMERGE = 65982,
91 SPELL_BERSERK = 26662,
93
96 SPELL_SUMMON_SCARAB = 66339,
99
100 // Anub'arak Pursue
101 SPELL_MARK = 67574,
102 SPELL_SUMMON_SPIKE = 66169,
103 SPELL_SPIKE_SPEED1 = 65920,
104 SPELL_SPIKE_TRAIL = 65921,
105 SPELL_SPIKE_SPEED2 = 65922,
106 SPELL_SPIKE_SPEED3 = 65923,
107 SPELL_SPIKE_FAIL = 66181,
108 SPELL_SPIKE_TELE = 66170,
109 SPELL_IMPALE = 65919,
110
111 // Scarab
112 SPELL_DETERMINATION = 66092,
113 SPELL_ACID_MANDIBLE = 65774,
114
115 // Burrow
116 SPELL_CHURNING_GROUND = 66969,
117
118 // Frost Sphere
119 SPELL_FROST_SPHERE = 67539,
120 SPELL_PERMAFROST = 66193,
122
123 // Burrower
124 SPELL_SPIDER_FRENZY = 66128,
125 SPELL_EXPOSE_WEAKNESS = 67720,
126 SPELL_SHADOW_STRIKE = 66134,
127 SPELL_SUBMERGE_EFFECT = 53421,
128 SPELL_EMERGE_EFFECT = 66947,
129};
@ SPELL_CLEAR_ALL_DEBUFFS
Definition: boss_anubarak_trial.cpp:92
@ SPELL_LEECHING_SWARM
Definition: boss_anubarak_trial.cpp:98
@ SPELL_FROST_SPHERE
Definition: boss_anubarak_trial.cpp:119
@ SPELL_EXPOSE_WEAKNESS
Definition: boss_anubarak_trial.cpp:125
@ SPELL_SUMMON_BURROWER
Definition: boss_anubarak_trial.cpp:97
@ SPELL_DETERMINATION
Definition: boss_anubarak_trial.cpp:112
@ SPELL_EMERGE
Definition: boss_anubarak_trial.cpp:90
@ SPELL_CHURNING_GROUND
Definition: boss_anubarak_trial.cpp:116
@ SPELL_SPIKE_TRAIL
Definition: boss_anubarak_trial.cpp:104
@ SPELL_EMERGE_EFFECT
Definition: boss_anubarak_trial.cpp:128
@ SPELL_MARK
Definition: boss_anubarak_trial.cpp:101
@ SPELL_SPIKE_SPEED2
Definition: boss_anubarak_trial.cpp:105
@ SPELL_SHADOW_STRIKE
Definition: boss_anubarak_trial.cpp:126
@ SPELL_SPIKE_TELE
Definition: boss_anubarak_trial.cpp:108
@ SPELL_SUBMERGE_EFFECT
Definition: boss_anubarak_trial.cpp:127
@ SPELL_SPIDER_FRENZY
Definition: boss_anubarak_trial.cpp:124
@ SPELL_SPIKE_FAIL
Definition: boss_anubarak_trial.cpp:107
@ SPELL_FREEZING_SLASH
Definition: boss_anubarak_trial.cpp:94
@ SPELL_PENETRATING_COLD
Definition: boss_anubarak_trial.cpp:95
@ SPELL_SUMMON_SCARAB
Definition: boss_anubarak_trial.cpp:96
@ SPELL_PERMAFROST_VISUAL
Definition: boss_anubarak_trial.cpp:121
@ SPELL_SUMMON_SPIKE
Definition: boss_anubarak_trial.cpp:102
@ SPELL_PERMAFROST
Definition: boss_anubarak_trial.cpp:120
@ SPELL_BERSERK
Definition: boss_anubarak_trial.cpp:91
@ SPELL_SPIKE_SPEED3
Definition: boss_anubarak_trial.cpp:106
@ SPELL_SUBMERGE
Definition: boss_anubarak_trial.cpp:89
@ SPELL_IMPALE
Definition: boss_anubarak_trial.cpp:109
@ SPELL_SPIKE_SPEED1
Definition: boss_anubarak_trial.cpp:103
@ SPELL_ACID_MANDIBLE
Definition: boss_anubarak_trial.cpp:113

◆ AnubTexts

enum AnubTexts
Enumerator
SAY_INTRO 
SAY_AGGRO 
EMOTE_SUBMERGE 
EMOTE_BURROWER 
SAY_EMERGE 
SAY_LEECHING_SWARM 
EMOTE_LEECHING_SWARM 
SAY_KILL_PLAYER 
SAY_DEATH 
EMOTE_SPIKE 
28{
29 SAY_INTRO = 0,
30 SAY_AGGRO = 1,
33 SAY_EMERGE = 4,
37 SAY_DEATH = 8,
38
39 EMOTE_SPIKE = 0,
40};
@ SAY_EMERGE
Definition: boss_anubarak_trial.cpp:33
@ SAY_DEATH
Definition: boss_anubarak_trial.cpp:37
@ EMOTE_BURROWER
Definition: boss_anubarak_trial.cpp:32
@ EMOTE_SUBMERGE
Definition: boss_anubarak_trial.cpp:31
@ SAY_AGGRO
Definition: boss_anubarak_trial.cpp:30
@ EMOTE_LEECHING_SWARM
Definition: boss_anubarak_trial.cpp:35
@ SAY_KILL_PLAYER
Definition: boss_anubarak_trial.cpp:36
@ EMOTE_SPIKE
Definition: boss_anubarak_trial.cpp:39
@ SAY_INTRO
Definition: boss_anubarak_trial.cpp:29
@ SAY_LEECHING_SWARM
Definition: boss_anubarak_trial.cpp:34

◆ eLeechingSwarmSpells

Enumerator
SPELL_LEECHING_SWARM_DMG 
SPELL_LEECHING_SWARM_HEAL 
866{
869};
@ SPELL_LEECHING_SWARM_HEAL
Definition: boss_anubarak_trial.cpp:868
@ SPELL_LEECHING_SWARM_DMG
Definition: boss_anubarak_trial.cpp:867

Function Documentation

◆ AddSC_boss_anubarak_trial()

void AddSC_boss_anubarak_trial ( )
925{
927 new npc_swarm_scarab();
928 new npc_frost_sphere();
930 new npc_anubarak_spike();
934}
#define RegisterSpellScript(spell_script)
Definition: SpellScriptLoader.h:88
Definition: boss_anubarak_trial.cpp:147
Definition: boss_anubarak_trial.cpp:427
Definition: boss_anubarak_trial.cpp:516
Definition: boss_anubarak_trial.cpp:605
Definition: boss_anubarak_trial.cpp:724
Definition: boss_anubarak_trial.cpp:833
Definition: boss_anubarak_trial.cpp:872
Definition: boss_anubarak_trial.cpp:900

References RegisterSpellScript.

Referenced by AddNorthrendScripts().

Variable Documentation

◆ AnubLocs

const Position AnubLocs[]
Initial value:
=
{
{722.65f, 135.41f, 142.16f, M_PI},
{694.886353f, 102.484665f, 142.119614f, 0},
{731.987244f, 83.3824690f, 142.119614f, 0},
{694.500671f, 185.363968f, 142.117905f, 0},
{740.184509f, 193.443390f, 142.117584f, 0},
{ 786.6439f, 108.2498f, 155.6701f, 0 },
{ 806.8429f, 150.5902f, 155.6701f, 0 },
{ 759.1386f, 163.9654f, 155.6701f, 0 },
{ 744.3701f, 119.5211f, 155.6701f, 0 },
{ 710.0211f, 120.8152f, 155.6701f, 0 },
{ 706.6383f, 161.5266f, 155.6701f, 0 },
}

Referenced by boss_anubarak_trial::boss_anubarak_trialAI::JustEngagedWith(), boss_anubarak_trial::boss_anubarak_trialAI::Reset(), and boss_anubarak_trial::boss_anubarak_trialAI::UpdateAI().