Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
boss_algalon_the_observer.cpp File Reference
#include "ObjectMgr.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "SpellScript.h"
#include "PassiveAI.h"
#include "GameObjectAI.h"
#include "MapManager.h"
#include "MoveSplineInit.h"
#include "ulduar.h"
#include "Player.h"
Include dependency graph for boss_algalon_the_observer.cpp:

Go to the source code of this file.

Classes

class  achievement_he_feeds_on_your_tears
class  ActivateLivingConstellation
class  ActiveConstellationFilter
class  boss_algalon_the_observer
struct  boss_algalon_the_observer::boss_algalon_the_observerAI
class  CosmicSmashDamageEvent
class  go_celestial_planetarium_access
struct  go_celestial_planetarium_access::go_celestial_planetarium_accessAI
class  NotVictimFilter
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  spell_algalon_arcane_barrage
class  spell_algalon_arcane_barrage::spell_algalon_arcane_barrage_SpellScript
class  spell_algalon_big_bang
class  spell_algalon_big_bang::spell_algalon_big_bang_SpellScript
class  spell_algalon_collapse
class  spell_algalon_collapse::spell_algalon_collapse_AuraScript
class  spell_algalon_cosmic_smash
class  spell_algalon_cosmic_smash::spell_algalon_cosmic_smash_SpellScript
class  spell_algalon_cosmic_smash_damage
class  spell_algalon_cosmic_smash_damage::spell_algalon_cosmic_smash_damage_SpellScript
class  spell_algalon_phase_punch
class  spell_algalon_phase_punch::spell_algalon_phase_punch_AuraScript
class  spell_algalon_remove_phase
class  spell_algalon_remove_phase::spell_algalon_remove_phase_AuraScript
class  spell_algalon_supermassive_fail
class  spell_algalon_supermassive_fail::spell_algalon_supermassive_fail_SpellScript
class  spell_algalon_trigger_3_adds
class  spell_algalon_trigger_3_adds::spell_algalon_trigger_3_adds_SpellScript
class  SummonUnleashedDarkMatter

Macros

#define COLLAPSING_STAR_COUNT   4
#define LIVING_CONSTELLATION_COUNT   11

Enumerations

enum  AchievmentInfo { EVENT_ID_SUPERMASSIVE_START = 21697 , DATA_HAS_FED_ON_TEARS = 30043005 }
enum  Actions {
  ACTION_START_INTRO = 0 , ACTION_FINISH_INTRO = 1 , ACTION_ACTIVATE_STAR = 2 , ACTION_BIG_BANG = 3 ,
  ACTION_ASCEND = 4 , ACTION_OUTRO = 5
}
enum  EncounterPhases { PHASE_NORMAL = 0 , PHASE_ROLE_PLAY = 1 , PHASE_BIG_BANG = 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_OUTRO_12 = 33 , EVENT_OUTRO_13 = 34 , EVENT_OUTRO_14 = 35 , EVENT_DESPAWN_ALGALON_1 = 36 ,
  EVENT_DESPAWN_ALGALON_2 = 37 , EVENT_DESPAWN_ALGALON_3 = 38 , EVENT_ARCANE_BARRAGE = 39
}
enum  Points {
  POINT_BRANN_INTRO = 0 , MAX_BRANN_WAYPOINTS_INTRO = 10 , POINT_BRANN_OUTRO = 10 , POINT_BRANN_OUTRO_END = 11 ,
  POINT_ALGALON_LAND = 1 , POINT_ALGALON_OUTRO = 2
}
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_TELEPORT = 62940 , 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_WORM_HOLE_TRIGGER = 65251 ,
  SPELL_SUMMON_UNLEASHED_DARK_MATTER = 64450
}
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

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

Macro Definition Documentation

◆ COLLAPSING_STAR_COUNT

◆ LIVING_CONSTELLATION_COUNT

#define LIVING_CONSTELLATION_COUNT   11

Enumeration Type Documentation

◆ AchievmentInfo

Enumerator
EVENT_ID_SUPERMASSIVE_START 
DATA_HAS_FED_ON_TEARS 

Definition at line 170 of file boss_algalon_the_observer.cpp.

◆ Actions

enum Actions
Enumerator
ACTION_START_INTRO 
ACTION_FINISH_INTRO 
ACTION_ACTIVATE_STAR 
ACTION_BIG_BANG 
ACTION_ASCEND 
ACTION_OUTRO 

Definition at line 142 of file boss_algalon_the_observer.cpp.

◆ EncounterPhases

Enumerator
PHASE_NORMAL 
PHASE_ROLE_PLAY 
PHASE_BIG_BANG 

Definition at line 163 of file boss_algalon_the_observer.cpp.

◆ 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_OUTRO_12 
EVENT_OUTRO_13 
EVENT_OUTRO_14 
EVENT_DESPAWN_ALGALON_1 
EVENT_DESPAWN_ALGALON_2 
EVENT_DESPAWN_ALGALON_3 
EVENT_ARCANE_BARRAGE 

Definition at line 92 of file boss_algalon_the_observer.cpp.

◆ Points

enum Points
Enumerator
POINT_BRANN_INTRO 
MAX_BRANN_WAYPOINTS_INTRO 
POINT_BRANN_OUTRO 
POINT_BRANN_OUTRO_END 
POINT_ALGALON_LAND 
POINT_ALGALON_OUTRO 

Definition at line 152 of file boss_algalon_the_observer.cpp.

◆ 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_TELEPORT 
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_WORM_HOLE_TRIGGER 
SPELL_SUMMON_UNLEASHED_DARK_MATTER 

Definition at line 46 of file boss_algalon_the_observer.cpp.

◆ 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 

Definition at line 17 of file boss_algalon_the_observer.cpp.

Function Documentation

◆ AddSC_boss_algalon_the_observer()

void AddSC_boss_algalon_the_observer ( )

Definition at line 1343 of file boss_algalon_the_observer.cpp.

Referenced by AddNorthrendScripts().

Variable Documentation

◆ AlgalonLandPos

Position const AlgalonLandPos = {1632.668f, -302.7656f, 417.3211f, 1.530165f}

◆ AlgalonOutroPos

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

◆ AlgalonSummonPos

Position const AlgalonSummonPos = {1632.531f, -304.8516f, 450.1123f, 1.530165f}

◆ BrannIntroSpawnPos

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

◆ 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, 425.8831f, 0.0f},
{1631.497f, -214.2221f, 418.1152f, 0.0f},
{1624.717f, -224.6876f, 418.1152f, 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},
}

Definition at line 178 of file boss_algalon_the_observer.cpp.

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},
}

Definition at line 219 of file boss_algalon_the_observer.cpp.

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},
}

Definition at line 211 of file boss_algalon_the_observer.cpp.

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},
{1658.279f, -262.5490f, 441.9073f, 4.188790f},
{1678.677f, -276.3280f, 427.7531f, 3.979351f},
{1593.389f, -299.4325f, 432.4636f, 6.073746f},
{1685.613f, -300.1219f, 443.2366f, 3.385939f},
{1591.706f, -263.8201f, 441.4153f, 5.253441f},
{1668.317f, -324.7676f, 457.9394f, 3.211406f},
{1592.242f, -325.5323f, 446.9508f, 0.226893f},
{1635.821f, -363.3442f, 424.3459f, 1.466077f},
{1672.188f, -357.2484f, 436.7337f, 2.338741f},
{1615.800f, -348.0065f, 442.9586f, 1.134464f},
}

Definition at line 195 of file boss_algalon_the_observer.cpp.

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

◆ PhasePunchAlphaId