AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
boss_alar.cpp File Reference
#include "CreatureScript.h"
#include "MoveSplineInit.h"
#include "ScriptedCreature.h"
#include "SpellScriptLoader.h"
#include "WaypointMgr.h"
#include "the_eye.h"
#include <cmath>
#include "Player.h"
#include "SpellScript.h"

Go to the source code of this file.

Classes

struct  boss_alar
 
class  CastQuill
 
class  spell_alar_flame_quills
 
class  spell_alar_ember_blast
 
class  spell_alar_dive_bomb
 

Enumerations

enum  Spells {
  SPELL_BERSERK = 45078 ,
  SPELL_FLAME_QUILLS = 34229 ,
  SPELL_QUILL_MISSILE_1 = 34269 ,
  SPELL_QUILL_MISSILE_2 = 34314 ,
  SPELL_CLEAR_ALL_DEBUFFS = 34098 ,
  SPELL_FLAME_BUFFET = 34121 ,
  SPELL_EMBER_BLAST = 34341 ,
  SPELL_REBIRTH_PHASE2 = 34342 ,
  SPELL_MELT_ARMOR = 35410 ,
  SPELL_CHARGE = 35412 ,
  SPELL_REBIRTH_DIVE = 35369 ,
  SPELL_DIVE_BOMB_VISUAL = 35367 ,
  SPELL_DIVE_BOMB = 35181 ,
  SPELL_MODEL_VISIBILITY = 24401
}
 
enum  Misc {
  DISPLAYID_INVISIBLE = 23377 ,
  NPC_EMBER_OF_ALAR = 19551 ,
  NPC_FLAME_PATCH = 20602 ,
  POINT_PLATFORM = 0 ,
  POINT_QUILL = 6 ,
  POINT_MIDDLE = 7 ,
  POINT_DIVE = 8 ,
  EVENT_RELOCATE_MIDDLE = 1 ,
  EVENT_REBIRTH = 2 ,
  EVENT_MOVE_TO_PHASE_2 = 3 ,
  EVENT_FINISH_DIVE = 4 ,
  EVENT_INVISIBLE = 5
}
 
enum  GroupAlar { GROUP_FLAME_BUFFET = 1 }
 
enum  qruseoftheAshtongue {
  SPELL_ASHTONGUE_RUSE = 42090 ,
  QUEST_RUSE_OF_THE_ASHTONGUE = 10946
}
 

Functions

void AddSC_boss_alar ()
 

Variables

const Position alarPoints [9]
 
const float INNER_CIRCLE_RADIUS = 60.0f
 

Enumeration Type Documentation

◆ GroupAlar

enum GroupAlar
Enumerator
GROUP_FLAME_BUFFET 
82{
84};
@ GROUP_FLAME_BUFFET
Definition boss_alar.cpp:83

◆ Misc

enum Misc
Enumerator
DISPLAYID_INVISIBLE 
NPC_EMBER_OF_ALAR 
NPC_FLAME_PATCH 
POINT_PLATFORM 
POINT_QUILL 
POINT_MIDDLE 
POINT_DIVE 
EVENT_RELOCATE_MIDDLE 
EVENT_REBIRTH 
EVENT_MOVE_TO_PHASE_2 
EVENT_FINISH_DIVE 
EVENT_INVISIBLE 
63{
64 DISPLAYID_INVISIBLE = 23377,
65 NPC_EMBER_OF_ALAR = 19551,
66 NPC_FLAME_PATCH = 20602,
67
69 POINT_QUILL = 6,
70 POINT_MIDDLE = 7,
71 POINT_DIVE = 8,
72
74 EVENT_REBIRTH = 2,
75
79};
@ EVENT_INVISIBLE
Definition boss_alar.cpp:78
@ DISPLAYID_INVISIBLE
Definition boss_alar.cpp:64
@ EVENT_FINISH_DIVE
Definition boss_alar.cpp:77
@ POINT_PLATFORM
Definition boss_alar.cpp:68
@ NPC_EMBER_OF_ALAR
Definition boss_alar.cpp:65
@ POINT_QUILL
Definition boss_alar.cpp:69
@ EVENT_REBIRTH
Definition boss_alar.cpp:74
@ POINT_MIDDLE
Definition boss_alar.cpp:70
@ EVENT_RELOCATE_MIDDLE
Definition boss_alar.cpp:73
@ EVENT_MOVE_TO_PHASE_2
Definition boss_alar.cpp:76
@ NPC_FLAME_PATCH
Definition boss_alar.cpp:66
@ POINT_DIVE
Definition boss_alar.cpp:71

◆ qruseoftheAshtongue

Enumerator
SPELL_ASHTONGUE_RUSE 
QUEST_RUSE_OF_THE_ASHTONGUE 
88{
91};
@ QUEST_RUSE_OF_THE_ASHTONGUE
Definition boss_alar.cpp:90
@ SPELL_ASHTONGUE_RUSE
Definition boss_alar.cpp:89

◆ Spells

enum Spells
Enumerator
SPELL_BERSERK 
SPELL_FLAME_QUILLS 
SPELL_QUILL_MISSILE_1 
SPELL_QUILL_MISSILE_2 
SPELL_CLEAR_ALL_DEBUFFS 
SPELL_FLAME_BUFFET 
SPELL_EMBER_BLAST 
SPELL_REBIRTH_PHASE2 
SPELL_MELT_ARMOR 
SPELL_CHARGE 
SPELL_REBIRTH_DIVE 
SPELL_DIVE_BOMB_VISUAL 
SPELL_DIVE_BOMB 
SPELL_MODEL_VISIBILITY 
30{
31 SPELL_BERSERK = 45078,
32 SPELL_FLAME_QUILLS = 34229,
33 SPELL_QUILL_MISSILE_1 = 34269, // 21
34 SPELL_QUILL_MISSILE_2 = 34314, // 3
36 SPELL_FLAME_BUFFET = 34121,
37 SPELL_EMBER_BLAST = 34341,
39 SPELL_MELT_ARMOR = 35410,
40 SPELL_CHARGE = 35412,
41 SPELL_REBIRTH_DIVE = 35369,
43 SPELL_DIVE_BOMB = 35181,
44
45 SPELL_MODEL_VISIBILITY = 24401 // Might not be accurate
46};
@ SPELL_CLEAR_ALL_DEBUFFS
Definition boss_alar.cpp:35
@ SPELL_DIVE_BOMB
Definition boss_alar.cpp:43
@ SPELL_CHARGE
Definition boss_alar.cpp:40
@ SPELL_QUILL_MISSILE_1
Definition boss_alar.cpp:33
@ SPELL_MODEL_VISIBILITY
Definition boss_alar.cpp:45
@ SPELL_FLAME_QUILLS
Definition boss_alar.cpp:32
@ SPELL_REBIRTH_PHASE2
Definition boss_alar.cpp:38
@ SPELL_BERSERK
Definition boss_alar.cpp:31
@ SPELL_DIVE_BOMB_VISUAL
Definition boss_alar.cpp:42
@ SPELL_MELT_ARMOR
Definition boss_alar.cpp:39
@ SPELL_FLAME_BUFFET
Definition boss_alar.cpp:36
@ SPELL_EMBER_BLAST
Definition boss_alar.cpp:37
@ SPELL_QUILL_MISSILE_2
Definition boss_alar.cpp:34
@ SPELL_REBIRTH_DIVE
Definition boss_alar.cpp:41

Function Documentation

◆ AddSC_boss_alar()

void AddSC_boss_alar ( )
502{
507}
#define RegisterSpellScript(spell_script)
Definition SpellScriptLoader.h:88
Definition boss_alar.cpp:486
Definition boss_alar.cpp:468
Definition boss_alar.cpp:446
Definition boss_alar.cpp:96
#define RegisterTheEyeAI(ai_name)
Definition the_eye.h:69

References RegisterSpellScript, and RegisterTheEyeAI.

Referenced by AddOutlandScripts().

Variable Documentation

◆ alarPoints

const Position alarPoints[9]
Initial value:
=
{
{335.638f, 59.4879f, 17.9319f, 4.60f},
{388.751007f, 31.731199f, 20.263599f, 1.61f},
{388.790985f, -33.105900f, 20.263599f, 0.52f},
{332.722992f, -61.159f, 17.979099f, 5.71f},
{258.959015f, -38.687099f, 20.262899f, 5.21f},
{259.2277997, 35.879002f, 20.263f, 4.81f},
{332.0f, 0.01f, 43.0f, 0.0f},
{331.0f, 0.01f, -2.38f, 0.0f},
{332.0f, 0.01f, 43.0f, 0.0f}
}
50{
51 {335.638f, 59.4879f, 17.9319f, 4.60f}, //first platform
52 {388.751007f, 31.731199f, 20.263599f, 1.61f},
53 {388.790985f, -33.105900f, 20.263599f, 0.52f},
54 {332.722992f, -61.159f, 17.979099f, 5.71f},
55 {258.959015f, -38.687099f, 20.262899f, 5.21f}, //pre-nerf only
56 {259.2277997, 35.879002f, 20.263f, 4.81f}, //pre-nerf only
57 {332.0f, 0.01f, 43.0f, 0.0f}, //quill
58 {331.0f, 0.01f, -2.38f, 0.0f}, //middle (p2)
59 {332.0f, 0.01f, 43.0f, 0.0f} // dive
60};

Referenced by boss_alar::DamageTaken(), boss_alar::DeterminePhoenixPosition(), boss_alar::JustEngagedWith(), and boss_alar::ScheduleAbilities().

◆ INNER_CIRCLE_RADIUS

const float INNER_CIRCLE_RADIUS = 60.0f