TrinityCore
Loading...
Searching...
No Matches
boss_janalai.cpp File Reference
#include "ScriptMgr.h"
#include "Containers.h"
#include "InstanceScript.h"
#include "Map.h"
#include "MotionMaster.h"
#include "ScriptedCreature.h"
#include "SpellAuraEffects.h"
#include "SpellScript.h"
#include "SpellInfo.h"
#include "zulaman.h"
+ Include dependency graph for boss_janalai.cpp:

Go to the source code of this file.

Classes

struct  boss_janalai
 
struct  npc_fire_bomb_zulaman
 
struct  npc_amanishi_hatcher
 
struct  npc_dragonhawk_egg
 
struct  npc_amani_dragonhawk_hatchling
 
class  spell_janalai_summon_all_players
 
class  spell_janalai_flame_breath_aura
 
class  spell_janalai_flame_breath
 
class  spell_janalai_fire_bomb
 
class  spell_janalai_hatch_eggs
 

Enumerations

enum  JanalaiTexts {
  SAY_AGGRO = 0 , SAY_FIRE_BOMBS = 1 , SAY_SUMMON_HATCHER = 2 , SAY_ALL_EGGS = 3 ,
  SAY_BERSERK = 4 , SAY_SLAY = 5 , SAY_DEATH = 6 , SAY_EVENT = 7 ,
  EMOTE_FRENZY = 8
}
 
enum  JanalaiSpells {
  SPELL_FLAME_BREATH = 43140 , SPELL_FLAME_BREATH_GROUND = 97497 , SPELL_SUMMON_HATCHER_1 = 43962 , SPELL_SUMMON_HATCHER_2 = 45340 ,
  SPELL_HATCH_ALL_EGGS = 43144 , SPELL_FRENZY = 44779 , SPELL_BERSERK = 45078 , SPELL_TELEPORT_TO_CENTER = 43098 ,
  SPELL_SUMMON_ALL_PLAYERS = 43096 , SPELL_FIRE_BOMB_INITIAL = 42621 , SPELL_FIRE_WALL = 43113 , SPELL_FIRE_BOMB_MISSILE = 42628 ,
  SPELL_FIRE_BOMB_VISUAL = 42629 , SPELL_FIRE_BOMB_DAMAGE = 42630 , SPELL_FIRE_BOMB_DUMMY = 42631 , SPELL_HATCH_EGGS = 42471 ,
  SPELL_SUMMON_HATCHLING = 42493 , SPELL_FLAME_BUFFET = 43299 , SPELL_SUMMON_ALL_PLAYERS_2 = 43097 , SPELL_SUMMON_FIRE_BOMB_05 = 42622 ,
  SPELL_SUMMON_FIRE_BOMB_10 = 42623 , SPELL_SUMMON_FIRE_BOMB_15 = 42624 , SPELL_SUMMON_FIRE_BOMB_20 = 42625 , SPELL_SUMMON_FIRE_BOMB_25 = 42626 ,
  SPELL_SUMMON_FIRE_BOMB_30 = 42627
}
 
enum  JanalaiEvents {
  EVENT_FLAME_BREATH = 1 , EVENT_SUMMON_HATCHERS , EVENT_HATCH_ALL_EGGS , EVENT_FRENZY ,
  EVENT_BERSERK , EVENT_FIRE_BOMBS , EVENT_FIRE_BOMBS_2 , EVENT_FIRE_BOMBS_3 ,
  EVENT_FIRE_BOMBS_4
}
 
enum  JanalaiMisc {
  NPC_AMANISHI_HATCHER_R = 23818 , NPC_AMANISHI_HATCHER_L = 24504 , NPC_DRAGONHAWK_EGG = 23817 , NPC_FIRE_BOMB = 23920 ,
  ACTION_EXPLODE_BOMB = 0 , SPAWN_GROUP_EGGS = 376 , POINT_UPSTAIRS = 0 , POINT_HATCH_EGGS = 1 ,
  POINT_BACKUP = 2
}
 

Functions

void AddSC_boss_janalai ()
 

Variables

static constexpr std::array< uint32, 6 > SummonFireBombSpells
 
static constexpr std::string_view EggsStringIdR = "JanalaiEggsR"
 
static constexpr std::string_view EggsStringIdL = "JanalaiEggsL"
 
static constexpr Position UpstairsPointR = { -55.058910f, 1147.5952f, 18.705223f, 0.0f }
 
static constexpr Position UpstairsPointL = { -55.047302f, 1153.5929f, 18.705204f, 0.0f }
 
static constexpr Position HatchEggsPointR = { -34.438860f, 1104.4828f, 18.711473f, 0.0f }
 
static constexpr Position HatchEggsPointL = { -34.767784f, 1192.8434f, 18.711363f, 0.0f }
 

Enumeration Type Documentation

◆ JanalaiEvents

Enumerator
EVENT_FLAME_BREATH 
EVENT_SUMMON_HATCHERS 
EVENT_HATCH_ALL_EGGS 
EVENT_FRENZY 
EVENT_BERSERK 
EVENT_FIRE_BOMBS 
EVENT_FIRE_BOMBS_2 
EVENT_FIRE_BOMBS_3 
EVENT_FIRE_BOMBS_4 

Definition at line 91 of file boss_janalai.cpp.

◆ JanalaiMisc

Enumerator
NPC_AMANISHI_HATCHER_R 
NPC_AMANISHI_HATCHER_L 
NPC_DRAGONHAWK_EGG 
NPC_FIRE_BOMB 
ACTION_EXPLODE_BOMB 
SPAWN_GROUP_EGGS 
POINT_UPSTAIRS 
POINT_HATCH_EGGS 
POINT_BACKUP 

Definition at line 107 of file boss_janalai.cpp.

◆ JanalaiSpells

Enumerator
SPELL_FLAME_BREATH 
SPELL_FLAME_BREATH_GROUND 
SPELL_SUMMON_HATCHER_1 
SPELL_SUMMON_HATCHER_2 
SPELL_HATCH_ALL_EGGS 
SPELL_FRENZY 
SPELL_BERSERK 
SPELL_TELEPORT_TO_CENTER 
SPELL_SUMMON_ALL_PLAYERS 
SPELL_FIRE_BOMB_INITIAL 
SPELL_FIRE_WALL 
SPELL_FIRE_BOMB_MISSILE 
SPELL_FIRE_BOMB_VISUAL 
SPELL_FIRE_BOMB_DAMAGE 
SPELL_FIRE_BOMB_DUMMY 
SPELL_HATCH_EGGS 
SPELL_SUMMON_HATCHLING 
SPELL_FLAME_BUFFET 
SPELL_SUMMON_ALL_PLAYERS_2 
SPELL_SUMMON_FIRE_BOMB_05 
SPELL_SUMMON_FIRE_BOMB_10 
SPELL_SUMMON_FIRE_BOMB_15 
SPELL_SUMMON_FIRE_BOMB_20 
SPELL_SUMMON_FIRE_BOMB_25 
SPELL_SUMMON_FIRE_BOMB_30 

Definition at line 49 of file boss_janalai.cpp.

◆ JanalaiTexts

Enumerator
SAY_AGGRO 
SAY_FIRE_BOMBS 
SAY_SUMMON_HATCHER 
SAY_ALL_EGGS 
SAY_BERSERK 
SAY_SLAY 
SAY_DEATH 
SAY_EVENT 
EMOTE_FRENZY 

Definition at line 36 of file boss_janalai.cpp.

Function Documentation

◆ AddSC_boss_janalai()

void AddSC_boss_janalai ( )

Variable Documentation

◆ EggsStringIdL

constexpr std::string_view EggsStringIdL = "JanalaiEggsL"
staticconstexpr

Definition at line 131 of file boss_janalai.cpp.

Referenced by npc_amanishi_hatcher::InitializeAI().

◆ EggsStringIdR

constexpr std::string_view EggsStringIdR = "JanalaiEggsR"
staticconstexpr

Definition at line 130 of file boss_janalai.cpp.

Referenced by npc_amanishi_hatcher::InitializeAI().

◆ HatchEggsPointL

constexpr Position HatchEggsPointL = { -34.767784f, 1192.8434f, 18.711363f, 0.0f }
staticconstexpr

Definition at line 136 of file boss_janalai.cpp.

Referenced by npc_amanishi_hatcher::InitializeAI().

◆ HatchEggsPointR

constexpr Position HatchEggsPointR = { -34.438860f, 1104.4828f, 18.711473f, 0.0f }
staticconstexpr

Definition at line 135 of file boss_janalai.cpp.

Referenced by npc_amanishi_hatcher::InitializeAI().

◆ SummonFireBombSpells

constexpr std::array<uint32, 6> SummonFireBombSpells
staticconstexpr

◆ UpstairsPointL

constexpr Position UpstairsPointL = { -55.047302f, 1153.5929f, 18.705204f, 0.0f }
staticconstexpr

Definition at line 134 of file boss_janalai.cpp.

Referenced by npc_amanishi_hatcher::InitializeAI().

◆ UpstairsPointR

constexpr Position UpstairsPointR = { -55.058910f, 1147.5952f, 18.705223f, 0.0f }
staticconstexpr

Definition at line 133 of file boss_janalai.cpp.

Referenced by npc_amanishi_hatcher::InitializeAI().