AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
boss_algalon_the_observer.cpp File Reference
#include "AchievementCriteriaScript.h"
#include "CreatureScript.h"
#include "GameObjectAI.h"
#include "GameObjectScript.h"
#include "MapMgr.h"
#include "MoveSplineInit.h"
#include "ObjectMgr.h"
#include "PassiveAI.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "ulduar.h"

Go to the source code of this file.

Classes

class  CosmicSmashDamageEvent
 
class  boss_algalon_the_observer
 
struct  boss_algalon_the_observer::boss_algalon_the_observerAI
 
class  npc_brann_bronzebeard_algalon
 
struct  npc_brann_bronzebeard_algalon::npc_brann_bronzebeard_algalonAI
 
class  npc_collapsing_star
 
struct  npc_collapsing_star::npc_collapsing_starAI
 
class  npc_living_constellation
 
struct  npc_living_constellation::npc_living_constellationAI
 
class  npc_algalon_worm_hole
 
struct  npc_algalon_worm_hole::npc_algalon_worm_holeAI
 
class  go_celestial_planetarium_access
 
struct  go_celestial_planetarium_access::go_celestial_planetarium_accessAI
 
class  spell_algalon_phase_punch_aura
 
class  spell_algalon_collapse_aura
 
class  ActiveConstellationFilter
 
class  spell_algalon_trigger_3_adds
 
class  spell_algalon_cosmic_smash_damage
 
class  spell_algalon_big_bang
 
class  spell_algalon_remove_phase_aura
 
class  spell_algalon_supermassive_fail
 
class  achievement_algalon_he_feeds_on_your_tears
 
class  achievement_algalon_herald_of_the_titans
 

Macros

#define LIVING_CONSTELLATION_COUNT   11
 
#define COLLAPSING_STAR_COUNT   4
 

Enumerations

enum  Spells {
  SPELL_ARRIVAL = 64997 ,
  SPELL_RIDE_THE_LIGHTNING = 64986 ,
  SPELL_SUMMON_AZEROTH = 64994 ,
  SPELL_REORIGINATION = 64996 ,
  SPELL_SUPERMASSIVE_FAIL = 65311 ,
  SPELL_QUANTUM_STRIKE = 64395 ,
  SPELL_PHASE_PUNCH = 64412 ,
  SPELL_BIG_BANG = 64443 ,
  SPELL_ASCEND_TO_THE_HEAVENS = 64487 ,
  SPELL_COSMIC_SMASH = 62301 ,
  SPELL_COSMIC_SMASH_TRIGGERED = 62304 ,
  SPELL_COSMIC_SMASH_VISUAL_STATE = 62300 ,
  SPELL_SELF_STUN = 65256 ,
  SPELL_KILL_CREDIT = 65184 ,
  SPELL_DUAL_WIELD = 42459 ,
  SPELL_TRIGGER_3_ADDS = 62266 ,
  SPELL_ARCANE_BARRAGE = 64599 ,
  SPELL_COLLAPSE = 62018 ,
  SPELL_BLACK_HOLE_SPAWN_VISUAL = 62003 ,
  SPELL_SUMMON_BLACK_HOLE = 62189 ,
  SPELL_BLACK_HOLE_TRIGGER = 62185 ,
  SPELL_CONSTELLATION_PHASE_TRIGGER = 65508 ,
  SPELL_CONSTELLATION_PHASE_EFFECT = 65509 ,
  SPELL_BLACK_HOLE_EXPLOSION = 64122 ,
  SPELL_SUMMON_VOID_ZONE_VISUAL = 64470 ,
  SPELL_VOID_ZONE_VISUAL = 64469 ,
  SPELL_BLACK_HOLE_CREDIT = 65312 ,
  SPELL_BLACK_HOLE_DAMAGE = 62169 ,
  SPELL_WORM_HOLE_TRIGGER = 65251 ,
  SPELL_SUMMON_UNLEASHED_DARK_MATTER = 64450
}
 
enum  Actions {
  ACTION_START_INTRO = 3 ,
  ACTION_FINISH_INTRO = 4 ,
  ACTION_ACTIVATE_STAR = 5 ,
  ACTION_BIG_BANG = 6 ,
  ACTION_ASCEND = 7 ,
  ACTION_OUTRO = 8
}
 
enum  Misc {
  POINT_BRANN_INTRO = 0 ,
  MAX_BRANN_WAYPOINTS_INTRO = 11 ,
  POINT_BRANN_OUTRO = 11 ,
  POINT_BRANN_OUTRO_END = 12 ,
  POINT_ALGALON_LAND = 1 ,
  POINT_ALGALON_OUTRO = 2 ,
  EVENT_ID_SUPERMASSIVE_START = 21697 ,
  DATA_HAS_FED_ON_TEARS = 1 ,
  DATA_HERALD_OF_THE_TITANS = 2
}
 
enum  Events {
  EVENT_DESPAWN_CONSOLE = 1 ,
  EVENT_BRANN_MOVE_INTRO = 2 ,
  EVENT_SUMMON_ALGALON = 3 ,
  EVENT_BRANN_OUTRO_1 = 4 ,
  EVENT_BRANN_OUTRO_2 = 5 ,
  EVENT_INTRO_1 = 6 ,
  EVENT_INTRO_2 = 7 ,
  EVENT_INTRO_3 = 8 ,
  EVENT_INTRO_FINISH = 9 ,
  EVENT_START_COMBAT = 10 ,
  EVENT_INTRO_TIMER_DONE = 11 ,
  EVENT_QUANTUM_STRIKE = 12 ,
  EVENT_PHASE_PUNCH = 13 ,
  EVENT_SUMMON_COLLAPSING_STAR = 14 ,
  EVENT_BIG_BANG = 15 ,
  EVENT_RESUME_UPDATING = 16 ,
  EVENT_ASCEND_TO_THE_HEAVENS = 17 ,
  EVENT_EVADE = 18 ,
  EVENT_COSMIC_SMASH = 19 ,
  EVENT_UNLOCK_YELL = 20 ,
  EVENT_OUTRO_START = 21 ,
  EVENT_OUTRO_1 = 22 ,
  EVENT_OUTRO_2 = 23 ,
  EVENT_OUTRO_3 = 24 ,
  EVENT_OUTRO_4 = 25 ,
  EVENT_OUTRO_5 = 26 ,
  EVENT_OUTRO_6 = 27 ,
  EVENT_OUTRO_7 = 28 ,
  EVENT_OUTRO_8 = 29 ,
  EVENT_OUTRO_9 = 30 ,
  EVENT_OUTRO_10 = 31 ,
  EVENT_OUTRO_11 = 32 ,
  EVENT_ACTIVATE_LIVING_CONSTELLATION = 33 ,
  EVENT_CHECK_HERALD_ITEMS = 34 ,
  EVENT_REMOVE_UNNATTACKABLE = 35 ,
  EVENT_DESPAWN_ALGALON_1 = 36 ,
  EVENT_DESPAWN_ALGALON_2 = 37 ,
  EVENT_DESPAWN_ALGALON_3 = 38 ,
  EVENT_DESPAWN_ALGALON_4 = 39 ,
  EVENT_DESPAWN_ALGALON_5 = 40 ,
  EVENT_ARCANE_BARRAGE = 41
}
 
enum  EncounterPhases {
  PHASE_NORMAL = 0 ,
  PHASE_ROLE_PLAY = 1 ,
  PHASE_BIG_BANG = 2 ,
  PHASE_MASK_NO_UPDATE = (1 << (PHASE_ROLE_PLAY - 1)) | (1 << (PHASE_BIG_BANG - 1)) ,
  PHASE_MASK_NO_CAST_CHECK = 1 << (PHASE_ROLE_PLAY - 1)
}
 
enum  Texts {
  SAY_BRANN_ALGALON_INTRO_1 = 0 ,
  SAY_BRANN_ALGALON_INTRO_2 = 1 ,
  SAY_BRANN_ALGALON_OUTRO = 2 ,
  SAY_ALGALON_INTRO_1 = 0 ,
  SAY_ALGALON_INTRO_2 = 1 ,
  SAY_ALGALON_INTRO_3 = 2 ,
  SAY_ALGALON_START_TIMER = 3 ,
  SAY_ALGALON_AGGRO = 4 ,
  SAY_ALGALON_COLLAPSING_STAR = 5 ,
  EMOTE_ALGALON_COLLAPSING_STAR = 6 ,
  SAY_ALGALON_BIG_BANG = 7 ,
  EMOTE_ALGALON_BIG_BANG = 8 ,
  SAY_ALGALON_ASCEND = 9 ,
  EMOTE_ALGALON_COSMIC_SMASH = 10 ,
  SAY_ALGALON_PHASE_TWO = 11 ,
  SAY_ALGALON_OUTRO_1 = 12 ,
  SAY_ALGALON_OUTRO_2 = 13 ,
  SAY_ALGALON_OUTRO_3 = 14 ,
  SAY_ALGALON_OUTRO_4 = 15 ,
  SAY_ALGALON_OUTRO_5 = 16 ,
  SAY_ALGALON_DESPAWN_1 = 17 ,
  SAY_ALGALON_DESPAWN_2 = 18 ,
  SAY_ALGALON_DESPAWN_3 = 19 ,
  SAY_ALGALON_KILL = 20
}
 

Functions

void AddSC_boss_algalon_the_observer ()
 

Variables

uint32 const PhasePunchAlphaId [5] = {64435, 64434, 64428, 64421, 64417}
 
Position const BrannIntroSpawnPos = {1676.277f, -162.5308f, 427.3326f, 3.235537f}
 
Position const BrannIntroWaypoint [MAX_BRANN_WAYPOINTS_INTRO]
 
Position const ConstellationPos [LIVING_CONSTELLATION_COUNT]
 
Position const CollapsingStarPos [COLLAPSING_STAR_COUNT]
 
Position const AlgalonOutroPos = {1633.64f, -317.78f, 417.3211f, 0.0f}
 
Position const BrannOutroPos [3]
 

Macro Definition Documentation

◆ COLLAPSING_STAR_COUNT

#define COLLAPSING_STAR_COUNT   4

◆ LIVING_CONSTELLATION_COUNT

#define LIVING_CONSTELLATION_COUNT   11

Enumeration Type Documentation

◆ Actions

enum Actions
Enumerator
ACTION_START_INTRO 
ACTION_FINISH_INTRO 
ACTION_ACTIVATE_STAR 
ACTION_BIG_BANG 
ACTION_ASCEND 
ACTION_OUTRO 
78{
79 //ACTION_INIT_ALGALON = 1, defined in ulduar.h
80 //ACTION_DESPAWN_ALGALON = 2, defined in ulduar.h
85 ACTION_ASCEND = 7,
86 ACTION_OUTRO = 8,
87};
@ ACTION_FINISH_INTRO
Definition boss_algalon_the_observer.cpp:82
@ ACTION_OUTRO
Definition boss_algalon_the_observer.cpp:86
@ ACTION_ASCEND
Definition boss_algalon_the_observer.cpp:85
@ ACTION_START_INTRO
Definition boss_algalon_the_observer.cpp:81
@ ACTION_ACTIVATE_STAR
Definition boss_algalon_the_observer.cpp:83
@ ACTION_BIG_BANG
Definition boss_algalon_the_observer.cpp:84

◆ EncounterPhases

Enumerator
PHASE_NORMAL 
PHASE_ROLE_PLAY 
PHASE_BIG_BANG 
PHASE_MASK_NO_UPDATE 
PHASE_MASK_NO_CAST_CHECK 
158{
159 PHASE_NORMAL = 0,
160 PHASE_ROLE_PLAY = 1,
161 PHASE_BIG_BANG = 2,
162
163 PHASE_MASK_NO_UPDATE = (1 << (PHASE_ROLE_PLAY - 1)) | (1 << (PHASE_BIG_BANG - 1)),
165};
@ PHASE_NORMAL
Definition boss_algalon_the_observer.cpp:159
@ PHASE_ROLE_PLAY
Definition boss_algalon_the_observer.cpp:160
@ PHASE_MASK_NO_CAST_CHECK
Definition boss_algalon_the_observer.cpp:164
@ PHASE_MASK_NO_UPDATE
Definition boss_algalon_the_observer.cpp:163
@ PHASE_BIG_BANG
Definition boss_algalon_the_observer.cpp:161

◆ Events

enum Events
Enumerator
EVENT_DESPAWN_CONSOLE 
EVENT_BRANN_MOVE_INTRO 
EVENT_SUMMON_ALGALON 
EVENT_BRANN_OUTRO_1 
EVENT_BRANN_OUTRO_2 
EVENT_INTRO_1 
EVENT_INTRO_2 
EVENT_INTRO_3 
EVENT_INTRO_FINISH 
EVENT_START_COMBAT 
EVENT_INTRO_TIMER_DONE 
EVENT_QUANTUM_STRIKE 
EVENT_PHASE_PUNCH 
EVENT_SUMMON_COLLAPSING_STAR 
EVENT_BIG_BANG 
EVENT_RESUME_UPDATING 
EVENT_ASCEND_TO_THE_HEAVENS 
EVENT_EVADE 
EVENT_COSMIC_SMASH 
EVENT_UNLOCK_YELL 
EVENT_OUTRO_START 
EVENT_OUTRO_1 
EVENT_OUTRO_2 
EVENT_OUTRO_3 
EVENT_OUTRO_4 
EVENT_OUTRO_5 
EVENT_OUTRO_6 
EVENT_OUTRO_7 
EVENT_OUTRO_8 
EVENT_OUTRO_9 
EVENT_OUTRO_10 
EVENT_OUTRO_11 
EVENT_ACTIVATE_LIVING_CONSTELLATION 
EVENT_CHECK_HERALD_ITEMS 
EVENT_REMOVE_UNNATTACKABLE 
EVENT_DESPAWN_ALGALON_1 
EVENT_DESPAWN_ALGALON_2 
EVENT_DESPAWN_ALGALON_3 
EVENT_DESPAWN_ALGALON_4 
EVENT_DESPAWN_ALGALON_5 
EVENT_ARCANE_BARRAGE 
106{
107 // Celestial Planetarium Access
109
110 // Brann Bronzebeard
115
116 // Algalon the Observer
117 EVENT_INTRO_1 = 6,
118 EVENT_INTRO_2 = 7,
119 EVENT_INTRO_3 = 8,
126 EVENT_BIG_BANG = 15,
129 EVENT_EVADE = 18,
133 EVENT_OUTRO_1 = 22,
134 EVENT_OUTRO_2 = 23,
135 EVENT_OUTRO_3 = 24,
136 EVENT_OUTRO_4 = 25,
137 EVENT_OUTRO_5 = 26,
138 EVENT_OUTRO_6 = 27,
139 EVENT_OUTRO_7 = 28,
140 EVENT_OUTRO_8 = 29,
141 EVENT_OUTRO_9 = 30,
142 EVENT_OUTRO_10 = 31,
143 EVENT_OUTRO_11 = 32,
152
153 // Living Constellation
155};
@ EVENT_BRANN_OUTRO_1
Definition boss_algalon_the_observer.cpp:113
@ EVENT_OUTRO_9
Definition boss_algalon_the_observer.cpp:141
@ EVENT_BRANN_OUTRO_2
Definition boss_algalon_the_observer.cpp:114
@ EVENT_REMOVE_UNNATTACKABLE
Definition boss_algalon_the_observer.cpp:146
@ EVENT_OUTRO_2
Definition boss_algalon_the_observer.cpp:134
@ EVENT_INTRO_1
Definition boss_algalon_the_observer.cpp:117
@ EVENT_UNLOCK_YELL
Definition boss_algalon_the_observer.cpp:131
@ EVENT_OUTRO_3
Definition boss_algalon_the_observer.cpp:135
@ EVENT_START_COMBAT
Definition boss_algalon_the_observer.cpp:121
@ EVENT_OUTRO_11
Definition boss_algalon_the_observer.cpp:143
@ EVENT_INTRO_2
Definition boss_algalon_the_observer.cpp:118
@ EVENT_OUTRO_7
Definition boss_algalon_the_observer.cpp:139
@ EVENT_COSMIC_SMASH
Definition boss_algalon_the_observer.cpp:130
@ EVENT_DESPAWN_ALGALON_3
Definition boss_algalon_the_observer.cpp:149
@ EVENT_BIG_BANG
Definition boss_algalon_the_observer.cpp:126
@ EVENT_DESPAWN_ALGALON_5
Definition boss_algalon_the_observer.cpp:151
@ EVENT_DESPAWN_ALGALON_2
Definition boss_algalon_the_observer.cpp:148
@ EVENT_CHECK_HERALD_ITEMS
Definition boss_algalon_the_observer.cpp:145
@ EVENT_OUTRO_5
Definition boss_algalon_the_observer.cpp:137
@ EVENT_OUTRO_8
Definition boss_algalon_the_observer.cpp:140
@ EVENT_INTRO_TIMER_DONE
Definition boss_algalon_the_observer.cpp:122
@ EVENT_OUTRO_START
Definition boss_algalon_the_observer.cpp:132
@ EVENT_INTRO_FINISH
Definition boss_algalon_the_observer.cpp:120
@ EVENT_BRANN_MOVE_INTRO
Definition boss_algalon_the_observer.cpp:111
@ EVENT_OUTRO_6
Definition boss_algalon_the_observer.cpp:138
@ EVENT_DESPAWN_ALGALON_4
Definition boss_algalon_the_observer.cpp:150
@ EVENT_QUANTUM_STRIKE
Definition boss_algalon_the_observer.cpp:123
@ EVENT_ARCANE_BARRAGE
Definition boss_algalon_the_observer.cpp:154
@ EVENT_DESPAWN_ALGALON_1
Definition boss_algalon_the_observer.cpp:147
@ EVENT_SUMMON_ALGALON
Definition boss_algalon_the_observer.cpp:112
@ EVENT_OUTRO_10
Definition boss_algalon_the_observer.cpp:142
@ EVENT_PHASE_PUNCH
Definition boss_algalon_the_observer.cpp:124
@ EVENT_EVADE
Definition boss_algalon_the_observer.cpp:129
@ EVENT_OUTRO_1
Definition boss_algalon_the_observer.cpp:133
@ EVENT_INTRO_3
Definition boss_algalon_the_observer.cpp:119
@ EVENT_ACTIVATE_LIVING_CONSTELLATION
Definition boss_algalon_the_observer.cpp:144
@ EVENT_OUTRO_4
Definition boss_algalon_the_observer.cpp:136
@ EVENT_RESUME_UPDATING
Definition boss_algalon_the_observer.cpp:127
@ EVENT_ASCEND_TO_THE_HEAVENS
Definition boss_algalon_the_observer.cpp:128
@ EVENT_SUMMON_COLLAPSING_STAR
Definition boss_algalon_the_observer.cpp:125
@ EVENT_DESPAWN_CONSOLE
Definition boss_algalon_the_observer.cpp:108

◆ Misc

enum Misc
Enumerator
POINT_BRANN_INTRO 
MAX_BRANN_WAYPOINTS_INTRO 
POINT_BRANN_OUTRO 
POINT_BRANN_OUTRO_END 
POINT_ALGALON_LAND 
POINT_ALGALON_OUTRO 
EVENT_ID_SUPERMASSIVE_START 
DATA_HAS_FED_ON_TEARS 
DATA_HERALD_OF_THE_TITANS 
90{
95
98
100
103};
@ MAX_BRANN_WAYPOINTS_INTRO
Definition boss_algalon_the_observer.cpp:92
@ DATA_HERALD_OF_THE_TITANS
Definition boss_algalon_the_observer.cpp:102
@ POINT_BRANN_OUTRO
Definition boss_algalon_the_observer.cpp:93
@ DATA_HAS_FED_ON_TEARS
Definition boss_algalon_the_observer.cpp:101
@ POINT_ALGALON_LAND
Definition boss_algalon_the_observer.cpp:96
@ EVENT_ID_SUPERMASSIVE_START
Definition boss_algalon_the_observer.cpp:99
@ POINT_BRANN_OUTRO_END
Definition boss_algalon_the_observer.cpp:94
@ POINT_BRANN_INTRO
Definition boss_algalon_the_observer.cpp:91
@ POINT_ALGALON_OUTRO
Definition boss_algalon_the_observer.cpp:97

◆ Spells

enum Spells
Enumerator
SPELL_ARRIVAL 
SPELL_RIDE_THE_LIGHTNING 
SPELL_SUMMON_AZEROTH 
SPELL_REORIGINATION 
SPELL_SUPERMASSIVE_FAIL 
SPELL_QUANTUM_STRIKE 
SPELL_PHASE_PUNCH 
SPELL_BIG_BANG 
SPELL_ASCEND_TO_THE_HEAVENS 
SPELL_COSMIC_SMASH 
SPELL_COSMIC_SMASH_TRIGGERED 
SPELL_COSMIC_SMASH_VISUAL_STATE 
SPELL_SELF_STUN 
SPELL_KILL_CREDIT 
SPELL_DUAL_WIELD 
SPELL_TRIGGER_3_ADDS 
SPELL_ARCANE_BARRAGE 
SPELL_COLLAPSE 
SPELL_BLACK_HOLE_SPAWN_VISUAL 
SPELL_SUMMON_BLACK_HOLE 
SPELL_BLACK_HOLE_TRIGGER 
SPELL_CONSTELLATION_PHASE_TRIGGER 
SPELL_CONSTELLATION_PHASE_EFFECT 
SPELL_BLACK_HOLE_EXPLOSION 
SPELL_SUMMON_VOID_ZONE_VISUAL 
SPELL_VOID_ZONE_VISUAL 
SPELL_BLACK_HOLE_CREDIT 
SPELL_BLACK_HOLE_DAMAGE 
SPELL_WORM_HOLE_TRIGGER 
SPELL_SUMMON_UNLEASHED_DARK_MATTER 
33{
34 // Algalon the Observer
35 SPELL_ARRIVAL = 64997,
38 SPELL_REORIGINATION = 64996,
41 SPELL_PHASE_PUNCH = 64412,
42 SPELL_BIG_BANG = 64443,
44 SPELL_COSMIC_SMASH = 62301,
47 SPELL_SELF_STUN = 65256,
48 SPELL_KILL_CREDIT = 65184,
49 SPELL_DUAL_WIELD = 42459,
50
51 // Algalon Stalker
52 SPELL_TRIGGER_3_ADDS = 62266, // Triggers Living Constellation
53
54 // Living Constellation
56
57 // Collapsing Star
58 SPELL_COLLAPSE = 62018,
61
62 // Black Hole
71
72 // Worm Hole
75};
@ SPELL_PHASE_PUNCH
Definition boss_algalon_the_observer.cpp:41
@ SPELL_CONSTELLATION_PHASE_EFFECT
Definition boss_algalon_the_observer.cpp:65
@ SPELL_VOID_ZONE_VISUAL
Definition boss_algalon_the_observer.cpp:68
@ SPELL_BLACK_HOLE_CREDIT
Definition boss_algalon_the_observer.cpp:69
@ SPELL_SUPERMASSIVE_FAIL
Definition boss_algalon_the_observer.cpp:39
@ SPELL_SUMMON_AZEROTH
Definition boss_algalon_the_observer.cpp:37
@ SPELL_BLACK_HOLE_TRIGGER
Definition boss_algalon_the_observer.cpp:63
@ SPELL_ARCANE_BARRAGE
Definition boss_algalon_the_observer.cpp:55
@ SPELL_QUANTUM_STRIKE
Definition boss_algalon_the_observer.cpp:40
@ SPELL_SUMMON_UNLEASHED_DARK_MATTER
Definition boss_algalon_the_observer.cpp:74
@ SPELL_WORM_HOLE_TRIGGER
Definition boss_algalon_the_observer.cpp:73
@ SPELL_BLACK_HOLE_DAMAGE
Definition boss_algalon_the_observer.cpp:70
@ SPELL_KILL_CREDIT
Definition boss_algalon_the_observer.cpp:48
@ SPELL_RIDE_THE_LIGHTNING
Definition boss_algalon_the_observer.cpp:36
@ SPELL_BLACK_HOLE_EXPLOSION
Definition boss_algalon_the_observer.cpp:66
@ SPELL_DUAL_WIELD
Definition boss_algalon_the_observer.cpp:49
@ SPELL_COSMIC_SMASH
Definition boss_algalon_the_observer.cpp:44
@ SPELL_ARRIVAL
Definition boss_algalon_the_observer.cpp:35
@ SPELL_TRIGGER_3_ADDS
Definition boss_algalon_the_observer.cpp:52
@ SPELL_COSMIC_SMASH_TRIGGERED
Definition boss_algalon_the_observer.cpp:45
@ SPELL_SELF_STUN
Definition boss_algalon_the_observer.cpp:47
@ SPELL_ASCEND_TO_THE_HEAVENS
Definition boss_algalon_the_observer.cpp:43
@ SPELL_CONSTELLATION_PHASE_TRIGGER
Definition boss_algalon_the_observer.cpp:64
@ SPELL_SUMMON_BLACK_HOLE
Definition boss_algalon_the_observer.cpp:60
@ SPELL_BIG_BANG
Definition boss_algalon_the_observer.cpp:42
@ SPELL_COLLAPSE
Definition boss_algalon_the_observer.cpp:58
@ SPELL_REORIGINATION
Definition boss_algalon_the_observer.cpp:38
@ SPELL_SUMMON_VOID_ZONE_VISUAL
Definition boss_algalon_the_observer.cpp:67
@ SPELL_BLACK_HOLE_SPAWN_VISUAL
Definition boss_algalon_the_observer.cpp:59
@ SPELL_COSMIC_SMASH_VISUAL_STATE
Definition boss_algalon_the_observer.cpp:46

◆ Texts

enum Texts
Enumerator
SAY_BRANN_ALGALON_INTRO_1 
SAY_BRANN_ALGALON_INTRO_2 
SAY_BRANN_ALGALON_OUTRO 
SAY_ALGALON_INTRO_1 
SAY_ALGALON_INTRO_2 
SAY_ALGALON_INTRO_3 
SAY_ALGALON_START_TIMER 
SAY_ALGALON_AGGRO 
SAY_ALGALON_COLLAPSING_STAR 
EMOTE_ALGALON_COLLAPSING_STAR 
SAY_ALGALON_BIG_BANG 
EMOTE_ALGALON_BIG_BANG 
SAY_ALGALON_ASCEND 
EMOTE_ALGALON_COSMIC_SMASH 
SAY_ALGALON_PHASE_TWO 
SAY_ALGALON_OUTRO_1 
SAY_ALGALON_OUTRO_2 
SAY_ALGALON_OUTRO_3 
SAY_ALGALON_OUTRO_4 
SAY_ALGALON_OUTRO_5 
SAY_ALGALON_DESPAWN_1 
SAY_ALGALON_DESPAWN_2 
SAY_ALGALON_DESPAWN_3 
SAY_ALGALON_KILL 
168{
172
193 SAY_ALGALON_KILL = 20,
194};
@ SAY_BRANN_ALGALON_INTRO_1
Definition boss_algalon_the_observer.cpp:169
@ SAY_ALGALON_OUTRO_2
Definition boss_algalon_the_observer.cpp:186
@ SAY_ALGALON_INTRO_2
Definition boss_algalon_the_observer.cpp:174
@ EMOTE_ALGALON_COSMIC_SMASH
Definition boss_algalon_the_observer.cpp:183
@ SAY_ALGALON_AGGRO
Definition boss_algalon_the_observer.cpp:177
@ SAY_ALGALON_OUTRO_3
Definition boss_algalon_the_observer.cpp:187
@ SAY_ALGALON_DESPAWN_1
Definition boss_algalon_the_observer.cpp:190
@ SAY_ALGALON_INTRO_3
Definition boss_algalon_the_observer.cpp:175
@ SAY_ALGALON_COLLAPSING_STAR
Definition boss_algalon_the_observer.cpp:178
@ SAY_ALGALON_INTRO_1
Definition boss_algalon_the_observer.cpp:173
@ SAY_ALGALON_PHASE_TWO
Definition boss_algalon_the_observer.cpp:184
@ EMOTE_ALGALON_COLLAPSING_STAR
Definition boss_algalon_the_observer.cpp:179
@ SAY_ALGALON_OUTRO_5
Definition boss_algalon_the_observer.cpp:189
@ SAY_ALGALON_BIG_BANG
Definition boss_algalon_the_observer.cpp:180
@ SAY_ALGALON_ASCEND
Definition boss_algalon_the_observer.cpp:182
@ SAY_ALGALON_DESPAWN_3
Definition boss_algalon_the_observer.cpp:192
@ SAY_ALGALON_DESPAWN_2
Definition boss_algalon_the_observer.cpp:191
@ SAY_BRANN_ALGALON_INTRO_2
Definition boss_algalon_the_observer.cpp:170
@ SAY_ALGALON_START_TIMER
Definition boss_algalon_the_observer.cpp:176
@ SAY_ALGALON_OUTRO_4
Definition boss_algalon_the_observer.cpp:188
@ SAY_BRANN_ALGALON_OUTRO
Definition boss_algalon_the_observer.cpp:171
@ SAY_ALGALON_KILL
Definition boss_algalon_the_observer.cpp:193
@ SAY_ALGALON_OUTRO_1
Definition boss_algalon_the_observer.cpp:185
@ EMOTE_ALGALON_BIG_BANG
Definition boss_algalon_the_observer.cpp:181

Function Documentation

◆ AddSC_boss_algalon_the_observer()

void AddSC_boss_algalon_the_observer ( )
1395{
1396 // NPCs
1399 new npc_collapsing_star();
1402
1403 // GOs
1405
1406 // Spells
1414
1415 // Achievements
1418}
#define RegisterSpellScript(spell_script)
Definition SpellScriptLoader.h:88
Definition boss_algalon_the_observer.cpp:1373
Definition boss_algalon_the_observer.cpp:1384
Definition boss_algalon_the_observer.cpp:264
Definition boss_algalon_the_observer.cpp:1108
Definition boss_algalon_the_observer.cpp:1060
Definition boss_algalon_the_observer.cpp:834
Definition boss_algalon_the_observer.cpp:932
Definition boss_algalon_the_observer.cpp:968
Definition boss_algalon_the_observer.cpp:1301
Definition boss_algalon_the_observer.cpp:1228
Definition boss_algalon_the_observer.cpp:1279
Definition boss_algalon_the_observer.cpp:1196
Definition boss_algalon_the_observer.cpp:1333
Definition boss_algalon_the_observer.cpp:1355
Definition boss_algalon_the_observer.cpp:1253

References RegisterSpellScript.

Referenced by AddNorthrendScripts().

Variable Documentation

◆ AlgalonOutroPos

Position const AlgalonOutroPos = {1633.64f, -317.78f, 417.3211f, 0.0f}
238{1633.64f, -317.78f, 417.3211f, 0.0f};

Referenced by boss_algalon_the_observer::boss_algalon_the_observerAI::UpdateAI().

◆ BrannIntroSpawnPos

Position const BrannIntroSpawnPos = {1676.277f, -162.5308f, 427.3326f, 3.235537f}
198{1676.277f, -162.5308f, 427.3326f, 3.235537f};

Referenced by go_celestial_planetarium_access::go_celestial_planetarium_accessAI::GossipHello().

◆ BrannIntroWaypoint

Position const BrannIntroWaypoint[MAX_BRANN_WAYPOINTS_INTRO]
Initial value:
=
{
{1642.482f, -164.0812f, 427.2602f, 0.0f},
{1635.000f, -169.5145f, 427.2523f, 0.0f},
{1632.814f, -173.9334f, 427.2621f, 0.0f},
{1632.676f, -190.5927f, 427.2631f, 0.0f},
{1631.497f, -214.2221f, 418.1152f, 0.0f},
{1636.455f, -263.6647f, 417.3213f, 0.0f},
{1629.586f, -267.9792f, 417.3219f, 0.0f},
{1631.497f, -214.2221f, 418.1152f, 0.0f},
{1632.676f, -190.5927f, 425.8831f, 0.0f},
{1632.814f, -173.9334f, 427.2621f, 0.0f},
{1635.000f, -169.5145f, 427.2523f, 0.0f},
}
200{
201 {1642.482f, -164.0812f, 427.2602f, 0.0f},
202 {1635.000f, -169.5145f, 427.2523f, 0.0f},
203 {1632.814f, -173.9334f, 427.2621f, 0.0f},
204 {1632.676f, -190.5927f, 427.2631f, 0.0f},
205 {1631.497f, -214.2221f, 418.1152f, 0.0f},
206 {1636.455f, -263.6647f, 417.3213f, 0.0f},
207 {1629.586f, -267.9792f, 417.3219f, 0.0f},
208 {1631.497f, -214.2221f, 418.1152f, 0.0f},
209 {1632.676f, -190.5927f, 425.8831f, 0.0f},
210 {1632.814f, -173.9334f, 427.2621f, 0.0f},
211 {1635.000f, -169.5145f, 427.2523f, 0.0f},
212};

Referenced by npc_brann_bronzebeard_algalon::npc_brann_bronzebeard_algalonAI::UpdateAI().

◆ BrannOutroPos

Position const BrannOutroPos[3]
Initial value:
=
{
{1632.023f, -243.7434f, 417.9118f, 0.0f},
{1631.986f, -297.7831f, 417.3210f, 0.0f},
{1633.832f, -216.2948f, 417.0463f, 0.0f},
}
240{
241 {1632.023f, -243.7434f, 417.9118f, 0.0f},
242 {1631.986f, -297.7831f, 417.3210f, 0.0f},
243 {1633.832f, -216.2948f, 417.0463f, 0.0f},
244};

Referenced by npc_brann_bronzebeard_algalon::npc_brann_bronzebeard_algalonAI::DoAction(), boss_algalon_the_observer::boss_algalon_the_observerAI::UpdateAI(), and npc_brann_bronzebeard_algalon::npc_brann_bronzebeard_algalonAI::UpdateAI().

◆ CollapsingStarPos

Position const CollapsingStarPos[COLLAPSING_STAR_COUNT]
Initial value:
=
{
{1649.438f, -319.8127f, 418.3941f, 1.082104f},
{1647.005f, -288.6790f, 417.3955f, 3.490659f},
{1622.451f, -321.1563f, 417.6188f, 4.677482f},
{1615.060f, -291.6816f, 417.7796f, 3.490659f},
}
232{
233 {1649.438f, -319.8127f, 418.3941f, 1.082104f},
234 {1647.005f, -288.6790f, 417.3955f, 3.490659f},
235 {1622.451f, -321.1563f, 417.6188f, 4.677482f},
236 {1615.060f, -291.6816f, 417.7796f, 3.490659f},
237};

Referenced by boss_algalon_the_observer::boss_algalon_the_observerAI::DamageTaken(), and boss_algalon_the_observer::boss_algalon_the_observerAI::UpdateAI().

◆ ConstellationPos

Position const ConstellationPos[LIVING_CONSTELLATION_COUNT]
Initial value:
=
{
{1625.208f, -267.2771f, 446.4296f, 5.044002f},
{1593.389f, -299.4325f, 432.4636f, 6.073746f},
{1668.317f, -324.7676f, 457.9394f, 3.211406f},
{1685.613f, -300.1219f, 443.2366f, 3.385939f},
{1592.242f, -325.5323f, 446.9508f, 0.226893f},
{1658.279f, -262.5490f, 441.9073f, 4.188790f},
{1635.821f, -363.3442f, 424.3459f, 1.466077f},
{1591.706f, -263.8201f, 441.4153f, 5.253441f},
{1672.188f, -357.2484f, 436.7337f, 2.338741f},
{1678.677f, -276.3280f, 427.7531f, 3.979351f},
{1615.800f, -348.0065f, 442.9586f, 1.134464f},
}
216{
217 {1625.208f, -267.2771f, 446.4296f, 5.044002f},
218 {1593.389f, -299.4325f, 432.4636f, 6.073746f},
219 {1668.317f, -324.7676f, 457.9394f, 3.211406f},
220 {1685.613f, -300.1219f, 443.2366f, 3.385939f},
221 {1592.242f, -325.5323f, 446.9508f, 0.226893f},
222 {1658.279f, -262.5490f, 441.9073f, 4.188790f},
223 {1635.821f, -363.3442f, 424.3459f, 1.466077f},
224 {1591.706f, -263.8201f, 441.4153f, 5.253441f},
225 {1672.188f, -357.2484f, 436.7337f, 2.338741f},
226 {1678.677f, -276.3280f, 427.7531f, 3.979351f},
227 {1615.800f, -348.0065f, 442.9586f, 1.134464f},
228};

Referenced by boss_algalon_the_observer::boss_algalon_the_observerAI::UpdateAI().

◆ PhasePunchAlphaId

uint32 const PhasePunchAlphaId[5] = {64435, 64434, 64428, 64421, 64417}