TrinityCore
Loading...
Searching...
No Matches
boss_cthun.cpp File Reference
#include "ScriptMgr.h"
#include "InstanceScript.h"
#include "Map.h"
#include "MapReference.h"
#include "ObjectAccessor.h"
#include "ScriptedCreature.h"
#include "temple_of_ahnqiraj.h"
#include "TemporarySummon.h"
+ Include dependency graph for boss_cthun.cpp:

Go to the source code of this file.

Classes

class  boss_eye_of_cthun
 
struct  boss_eye_of_cthun::eye_of_cthunAI
 
class  boss_cthun
 
struct  boss_cthun::cthunAI
 
class  npc_eye_tentacle
 
struct  npc_eye_tentacle::eye_tentacleAI
 
class  npc_claw_tentacle
 
struct  npc_claw_tentacle::claw_tentacleAI
 
class  npc_giant_claw_tentacle
 
struct  npc_giant_claw_tentacle::giant_claw_tentacleAI
 
class  npc_giant_eye_tentacle
 
struct  npc_giant_eye_tentacle::giant_eye_tentacleAI
 
class  npc_giant_flesh_tentacle
 
struct  npc_giant_flesh_tentacle::flesh_tentacleAI
 

Macros

#define STOMACH_X   -8562.0f
 
#define STOMACH_Y   2037.0f
 
#define STOMACH_Z   -70.0f
 
#define STOMACH_O   5.05f
 

Enumerations

enum  Phases {
  PHASE_NOT_STARTED = 0 , PHASE_EYE_GREEN_BEAM = 1 , PHASE_EYE_RED_BEAM = 2 , PHASE_CTHUN_TRANSITION = 3 ,
  PHASE_CTHUN_STOMACH = 4 , PHASE_CTHUN_WEAK = 5 , PHASE_CTHUN_DONE = 6
}
 
enum  Spells {
  SPELL_FREEZE_ANIM = 16245 , SPELL_GREEN_BEAM = 26134 , SPELL_DARK_GLARE = 26029 , SPELL_RED_COLORATION = 22518 ,
  SPELL_MIND_FLAY = 26143 , SPELL_GROUND_RUPTURE = 26139 , SPELL_HAMSTRING = 26141 , SPELL_TRANSFORM = 26232 ,
  SPELL_PURPLE_COLORATION = 22581 , SPELL_MASSIVE_GROUND_RUPTURE = 26100 , SPELL_THRASH = 3391 , SPELL_MOUTH_TENTACLE = 26332 ,
  SPELL_EXIT_STOMACH_KNOCKBACK = 25383 , SPELL_DIGESTIVE_ACID = 26476
}
 
enum  Actions { ACTION_FLESH_TENTACLE_KILLED = 1 }
 
enum  Yells { EMOTE_WEAKENED = 0 , RANDOM_SOUND_WHISPER = 8663 }
 

Functions

void AddSC_boss_cthun ()
 

Variables

const Position FleshTentaclePos [2]
 
const Position KickPos = { -8545.0f, 1984.0f, -96.0f, 0.0f}
 

Macro Definition Documentation

◆ STOMACH_O

#define STOMACH_O   5.05f

Definition at line 140 of file boss_cthun.cpp.

◆ STOMACH_X

#define STOMACH_X   -8562.0f

Definition at line 137 of file boss_cthun.cpp.

◆ STOMACH_Y

#define STOMACH_Y   2037.0f

Definition at line 138 of file boss_cthun.cpp.

◆ STOMACH_Z

#define STOMACH_Z   -70.0f

Definition at line 139 of file boss_cthun.cpp.

Enumeration Type Documentation

◆ Actions

enum Actions
Enumerator
ACTION_FLESH_TENTACLE_KILLED 

Definition at line 120 of file boss_cthun.cpp.

◆ Phases

enum Phases
Enumerator
PHASE_NOT_STARTED 
PHASE_EYE_GREEN_BEAM 
PHASE_EYE_RED_BEAM 
PHASE_CTHUN_TRANSITION 
PHASE_CTHUN_STOMACH 
PHASE_CTHUN_WEAK 
PHASE_CTHUN_DONE 

Definition at line 64 of file boss_cthun.cpp.

◆ Spells

enum Spells
Enumerator
SPELL_FREEZE_ANIM 
SPELL_GREEN_BEAM 
SPELL_DARK_GLARE 
SPELL_RED_COLORATION 
SPELL_MIND_FLAY 
SPELL_GROUND_RUPTURE 
SPELL_HAMSTRING 
SPELL_TRANSFORM 
SPELL_PURPLE_COLORATION 
SPELL_MASSIVE_GROUND_RUPTURE 
SPELL_THRASH 
SPELL_MOUTH_TENTACLE 
SPELL_EXIT_STOMACH_KNOCKBACK 
SPELL_DIGESTIVE_ACID 

Definition at line 80 of file boss_cthun.cpp.

◆ Yells

enum Yells
Enumerator
EMOTE_WEAKENED 
RANDOM_SOUND_WHISPER 

Definition at line 125 of file boss_cthun.cpp.

Function Documentation

◆ AddSC_boss_cthun()

void AddSC_boss_cthun ( )

Definition at line 1295 of file boss_cthun.cpp.

+ Here is the caller graph for this function:

Variable Documentation

◆ FleshTentaclePos

const Position FleshTentaclePos[2]
Initial value:
=
{
{ -8571.0f, 1990.0f, -98.0f, 1.22f},
{ -8525.0f, 1994.0f, -98.0f, 2.12f},
}

Definition at line 143 of file boss_cthun.cpp.

◆ KickPos

const Position KickPos = { -8545.0f, 1984.0f, -96.0f, 0.0f}

Definition at line 150 of file boss_cthun.cpp.