Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
boss_gothik.cpp File Reference
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "SpellScript.h"
#include "GridNotifiers.h"
#include "CombatAI.h"
#include "naxxramas.h"
Include dependency graph for boss_gothik.cpp:

Go to the source code of this file.

Classes

class  boss_gothik
struct  boss_gothik::boss_gothikAI
struct  NotOnSameSide
class  npc_gothik_minion
struct  npc_gothik_minion::npc_gothik_minionAI
class  spell_gothik_shadow_bolt_volley
class  spell_gothik_shadow_bolt_volley::spell_gothik_shadow_bolt_volley_SpellScript
struct  Waves

Macros

#define IN_LIVE_SIDE(who)
#define POS_X_NORTH   2750.49f
#define POS_X_SOUTH   2633.84f
#define POS_Y_EAST   -3434.0f
#define POS_Y_GATE   -3360.78f
#define POS_Y_WEST   -3285.0f

Enumerations

enum  Creatures {
  NPC_LIVE_TRAINEE = 16124 , NPC_LIVE_KNIGHT = 16125 , NPC_LIVE_RIDER = 16126 , NPC_DEAD_TRAINEE = 16127 ,
  NPC_DEAD_KNIGHT = 16148 , NPC_DEAD_RIDER = 16150 , NPC_DEAD_HORSE = 16149
}
enum  Events {
  EVENT_NONE , EVENT_SUMMON , EVENT_HARVEST , EVENT_BOLT ,
  EVENT_TELEPORT
}
enum  Pos { POS_LIVE = 6 , POS_DEAD = 5 }
enum  Spells {
  SPELL_HARVEST_SOUL = 28679 , SPELL_SHADOW_BOLT = 29317 , H_SPELL_SHADOW_BOLT = 56405 , SPELL_INFORM_LIVE_TRAINEE = 27892 ,
  SPELL_INFORM_LIVE_KNIGHT = 27928 , SPELL_INFORM_LIVE_RIDER = 27935 , SPELL_INFORM_DEAD_TRAINEE = 27915 , SPELL_INFORM_DEAD_KNIGHT = 27931 ,
  SPELL_INFORM_DEAD_RIDER = 27937 , SPELL_SHADOW_MARK = 27825
}
enum  Yells { SAY_SPEECH = 0 , SAY_KILL = 1 , SAY_DEATH = 2 , SAY_TELEPORT = 3 }

Functions

void AddSC_boss_gothik ()

Variables

float const PosGroundDeadSide [4] = {2693.5f, -3334.6f, 267.68f, 4.67f}
float const PosGroundLiveSide [4] = {2691.2f, -3387.0f, 267.68f, 1.52f}
float const PosPlatform [4] = {2640.5f, -3360.6f, 285.26f, 0.0f}
const Position PosSummonDead [POS_DEAD]
const Position PosSummonLive [POS_LIVE]
const Waves waves []

Macro Definition Documentation

◆ IN_LIVE_SIDE

◆ POS_X_NORTH

#define POS_X_NORTH   2750.49f

Definition at line 91 of file boss_gothik.cpp.

Referenced by boss_gothik::boss_gothikAI::CheckGroupSplitted().

◆ POS_X_SOUTH

#define POS_X_SOUTH   2633.84f

Definition at line 92 of file boss_gothik.cpp.

Referenced by boss_gothik::boss_gothikAI::CheckGroupSplitted().

◆ POS_Y_EAST

#define POS_Y_EAST   -3434.0f

Definition at line 90 of file boss_gothik.cpp.

Referenced by boss_gothik::boss_gothikAI::CheckGroupSplitted().

◆ POS_Y_GATE

#define POS_Y_GATE   -3360.78f

Definition at line 88 of file boss_gothik.cpp.

Referenced by boss_gothik::boss_gothikAI::CheckGroupSplitted().

◆ POS_Y_WEST

#define POS_Y_WEST   -3285.0f

Definition at line 89 of file boss_gothik.cpp.

Referenced by boss_gothik::boss_gothikAI::CheckGroupSplitted().

Enumeration Type Documentation

◆ Creatures

enum Creatures
Enumerator
NPC_LIVE_TRAINEE 
NPC_LIVE_KNIGHT 
NPC_LIVE_RIDER 
NPC_DEAD_TRAINEE 
NPC_DEAD_KNIGHT 
NPC_DEAD_RIDER 
NPC_DEAD_HORSE 

Definition at line 37 of file boss_gothik.cpp.

◆ Events

enum Events
Enumerator
EVENT_NONE 
EVENT_SUMMON 
EVENT_HARVEST 
EVENT_BOLT 
EVENT_TELEPORT 

Definition at line 96 of file boss_gothik.cpp.

◆ Pos

enum Pos
Enumerator
POS_LIVE 
POS_DEAD 

Definition at line 104 of file boss_gothik.cpp.

◆ Spells

enum Spells
Enumerator
SPELL_HARVEST_SOUL 
SPELL_SHADOW_BOLT 
H_SPELL_SHADOW_BOLT 
SPELL_INFORM_LIVE_TRAINEE 
SPELL_INFORM_LIVE_KNIGHT 
SPELL_INFORM_LIVE_RIDER 
SPELL_INFORM_DEAD_TRAINEE 
SPELL_INFORM_DEAD_KNIGHT 
SPELL_INFORM_DEAD_RIDER 
SPELL_SHADOW_MARK 

Definition at line 22 of file boss_gothik.cpp.

◆ Yells

enum Yells
Enumerator
SAY_SPEECH 
SAY_KILL 
SAY_DEATH 
SAY_TELEPORT 

Definition at line 13 of file boss_gothik.cpp.

Function Documentation

◆ AddSC_boss_gothik()

void AddSC_boss_gothik ( )

Definition at line 609 of file boss_gothik.cpp.

Referenced by AddNorthrendScripts().

Variable Documentation

◆ PosGroundDeadSide

float const PosGroundDeadSide[4] = {2693.5f, -3334.6f, 267.68f, 4.67f}

Definition at line 130 of file boss_gothik.cpp.

Referenced by boss_gothik::boss_gothikAI::UpdateAI().

◆ PosGroundLiveSide

float const PosGroundLiveSide[4] = {2691.2f, -3387.0f, 267.68f, 1.52f}

Definition at line 129 of file boss_gothik.cpp.

Referenced by boss_gothik::boss_gothikAI::UpdateAI().

◆ PosPlatform

float const PosPlatform[4] = {2640.5f, -3360.6f, 285.26f, 0.0f}

Definition at line 131 of file boss_gothik.cpp.

Referenced by boss_gothik::boss_gothikAI::EnterCombat().

◆ PosSummonDead

const Position PosSummonDead[POS_DEAD]
Initial value:
=
{
{2725.1f, -3310.0f, 268.85f, 3.4f},
{2699.3f, -3322.8f, 268.60f, 3.3f},
{2733.1f, -3348.5f, 268.84f, 3.1f},
{2682.8f, -3304.2f, 268.85f, 3.9f},
{2664.8f, -3340.7f, 268.23f, 3.7f},
}

Definition at line 120 of file boss_gothik.cpp.

Referenced by boss_gothik::boss_gothikAI::EnterCombat().

◆ PosSummonLive

const Position PosSummonLive[POS_LIVE]
Initial value:
=
{
{2669.7f, -3428.76f, 268.56f, 1.6f},
{2692.1f, -3428.76f, 268.56f, 1.6f},
{2714.4f, -3428.76f, 268.56f, 1.6f},
{2669.7f, -3431.67f, 268.56f, 1.6f},
{2692.1f, -3431.67f, 268.56f, 1.6f},
{2714.4f, -3431.67f, 268.56f, 1.6f},
}

Definition at line 110 of file boss_gothik.cpp.

Referenced by boss_gothik::boss_gothikAI::EnterCombat().

◆ waves

const Waves waves[]

Definition at line 52 of file boss_gothik.cpp.

Referenced by boss_gothik::boss_gothikAI::UpdateAI().