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

Go to the source code of this file.

Classes

class  boss_janalai
 
struct  boss_janalai::boss_janalaiAI
 
class  npc_janalai_firebomb
 
struct  npc_janalai_firebomb::npc_janalai_firebombAI
 
class  npc_janalai_hatcher
 
struct  npc_janalai_hatcher::npc_janalai_hatcherAI
 
class  npc_janalai_hatchling
 
struct  npc_janalai_hatchling::npc_janalai_hatchlingAI
 
class  npc_janalai_egg
 
struct  npc_janalai_egg::npc_janalai_eggAI
 

Enumerations

enum  Yells {
  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_STRANGERS = 7 ,
  SAY_EVENT_FRIENDS = 8
}
 
enum  Spells {
  SPELL_FLAME_BREATH = 43140 , SPELL_FIRE_WALL = 43113 , SPELL_ENRAGE = 44779 , SPELL_SUMMON_PLAYERS = 43097 ,
  SPELL_TELE_TO_CENTER = 43098 , SPELL_HATCH_ALL = 43144 , SPELL_BERSERK = 45078 , SPELL_FIRE_BOMB_CHANNEL = 42621 ,
  SPELL_FIRE_BOMB_THROW = 42628 , SPELL_FIRE_BOMB_DUMMY = 42629 , SPELL_FIRE_BOMB_DAMAGE = 42630 , SPELL_HATCH_EGG = 42471 ,
  SPELL_SUMMON_HATCHLING = 42493 , SPELL_FLAMEBUFFET = 43299
}
 
enum  Creatures { NPC_AMANI_HATCHER = 23818 , NPC_HATCHLING = 23598 , NPC_EGG = 23817 , NPC_FIRE_BOMB = 23920 }
 

Functions

void AddSC_boss_janalai ()
 

Variables

const int area_dx = 44
 
const int area_dy = 51
 
float JanalainPos [1][3]
 
float FireWallCoords [4][4]
 
float hatcherway [2][5][3]
 

Enumeration Type Documentation

◆ Creatures

enum Creatures
Enumerator
NPC_AMANI_HATCHER 
NPC_HATCHLING 
NPC_EGG 
NPC_FIRE_BOMB 

Definition at line 74 of file boss_janalai.cpp.

◆ Spells

enum Spells
Enumerator
SPELL_FLAME_BREATH 
SPELL_FIRE_WALL 
SPELL_ENRAGE 
SPELL_SUMMON_PLAYERS 
SPELL_TELE_TO_CENTER 
SPELL_HATCH_ALL 
SPELL_BERSERK 
SPELL_FIRE_BOMB_CHANNEL 
SPELL_FIRE_BOMB_THROW 
SPELL_FIRE_BOMB_DUMMY 
SPELL_FIRE_BOMB_DAMAGE 
SPELL_HATCH_EGG 
SPELL_SUMMON_HATCHLING 
SPELL_FLAMEBUFFET 

Definition at line 49 of file boss_janalai.cpp.

◆ Yells

enum Yells
Enumerator
SAY_AGGRO 
SAY_FIRE_BOMBS 
SAY_SUMMON_HATCHER 
SAY_ALL_EGGS 
SAY_BERSERK 
SAY_SLAY 
SAY_DEATH 
SAY_EVENT_STRANGERS 
SAY_EVENT_FRIENDS 

Definition at line 36 of file boss_janalai.cpp.

Function Documentation

◆ AddSC_boss_janalai()

void AddSC_boss_janalai ( )

Definition at line 675 of file boss_janalai.cpp.

+ Here is the caller graph for this function:

Variable Documentation

◆ area_dx

const int area_dx = 44

Definition at line 82 of file boss_janalai.cpp.

◆ area_dy

const int area_dy = 51

Definition at line 83 of file boss_janalai.cpp.

◆ FireWallCoords

float FireWallCoords[4][4]
Initial value:
=
{
{-10.13f, 1149.27f, 19, 3.1415f},
{-33.93f, 1123.90f, 19, 0.5f*3.1415f},
{-54.80f, 1150.08f, 19, 0},
{-33.93f, 1175.68f, 19, 1.5f*3.1415f}
}

Definition at line 90 of file boss_janalai.cpp.

◆ hatcherway

float hatcherway[2][5][3]
Initial value:
=
{
{
{-87.46f, 1170.09f, 6},
{-74.41f, 1154.75f, 6},
{-52.74f, 1153.32f, 19},
{-33.37f, 1172.46f, 19},
{-33.09f, 1203.87f, 19}
},
{
{-86.57f, 1132.85f, 6},
{-73.94f, 1146.00f, 6},
{-52.29f, 1146.51f, 19},
{-33.57f, 1125.72f, 19},
{-34.29f, 1095.22f, 19}
}
}

Definition at line 98 of file boss_janalai.cpp.

◆ JanalainPos

float JanalainPos[1][3]
Initial value:
=
{
{-33.93f, 1149.27f, 19}
}

Definition at line 85 of file boss_janalai.cpp.