TrinityCore
boss_prince_taldaram.cpp File Reference
#include "ahnkahet.h"
#include "GameObject.h"
#include "GameObjectAI.h"
#include "InstanceScript.h"
#include "Map.h"
#include "MotionMaster.h"
#include "ObjectAccessor.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptMgr.h"
#include "SpellScript.h"
+ Include dependency graph for boss_prince_taldaram.cpp:

Classes

struct  boss_prince_taldaram
 
struct  npc_prince_taldaram_flame_sphere
 
struct  go_prince_taldaram_sphere
 
class  spell_prince_taldaram_conjure_flame_sphere
 
class  spell_prince_taldaram_flame_sphere_summon
 

Enumerations

enum  PrinceTaldaramSpells {
  SPELL_BLOODTHIRST = 55968, SPELL_CONJURE_FLAME_SPHERE = 55931, SPELL_FLAME_SPHERE_SUMMON_1 = 55895, SPELL_FLAME_SPHERE_SUMMON_2 = 59511,
  SPELL_FLAME_SPHERE_SUMMON_3 = 59512, SPELL_FLAME_SPHERE_SPAWN_EFFECT = 55891, SPELL_FLAME_SPHERE_VISUAL = 55928, SPELL_FLAME_SPHERE_PERIODIC = 55926,
  SPELL_FLAME_SPHERE_DEATH_EFFECT = 55947, SPELL_EMBRACE_OF_THE_VAMPYR = 55959, SPELL_VANISH = 55964, SPELL_SHADOWSTEP = 55966,
  NPC_FLAME_SPHERE_1 = 30106, NPC_FLAME_SPHERE_2 = 31686, NPC_FLAME_SPHERE_3 = 31687, SPELL_BEAM_VISUAL = 60342,
  SPELL_HOVER_FALL = 60425
}
 
enum  PrinceTaldaramMisc { DATA_EMBRACE_DMG = 20000, H_DATA_EMBRACE_DMG = 40000, SUMMON_GROUP_CONTROLLERS = 1 }
 
enum  PrinceTaldaramYells {
  SAY_1 = 0, SAY_WARNING = 1, SAY_AGGRO = 2, SAY_SLAY = 3,
  SAY_DEATH = 4, SAY_FEED = 5, SAY_VANISH = 6
}
 
enum  PrinceTaldaramEvents {
  EVENT_CONJURE_FLAME_SPHERES = 1, EVENT_BLOODTHIRST, EVENT_VANISH, EVENT_START_FEEDING,
  EVENT_DONE_FEEDING, EVENT_START_MOVE, EVENT_DESPAWN
}
 

Functions

void AddSC_boss_taldaram ()
 

Variables

float constexpr PrinceTaldaramSphereDistance = 25.f
 
float constexpr PrinceTaldaramSphereAngleOffset = float(M_PI) / 2.f
 
float constexpr PrinceTaldaramGroundPositionZ = 11.30809f
 

Enumeration Type Documentation

◆ PrinceTaldaramEvents

Enumerator
EVENT_CONJURE_FLAME_SPHERES 
EVENT_BLOODTHIRST 
EVENT_VANISH 
EVENT_START_FEEDING 
EVENT_DONE_FEEDING 
EVENT_START_MOVE 
EVENT_DESPAWN 
72 {
78 
79  // Flame Sphere
82 };
Definition: boss_prince_taldaram.cpp:77
Definition: boss_prince_taldaram.cpp:80
Definition: boss_prince_taldaram.cpp:75
Definition: boss_prince_taldaram.cpp:81
Definition: boss_prince_taldaram.cpp:76
Definition: boss_prince_taldaram.cpp:73
Definition: boss_prince_taldaram.cpp:74

◆ PrinceTaldaramMisc

Enumerator
DATA_EMBRACE_DMG 
H_DATA_EMBRACE_DMG 
SUMMON_GROUP_CONTROLLERS 
54 {
55  DATA_EMBRACE_DMG = 20000,
56  H_DATA_EMBRACE_DMG = 40000,
58 };
Definition: boss_prince_taldaram.cpp:56
Definition: boss_prince_taldaram.cpp:57
Definition: boss_prince_taldaram.cpp:55

◆ PrinceTaldaramSpells

Enumerator
SPELL_BLOODTHIRST 
SPELL_CONJURE_FLAME_SPHERE 
SPELL_FLAME_SPHERE_SUMMON_1 
SPELL_FLAME_SPHERE_SUMMON_2 
SPELL_FLAME_SPHERE_SUMMON_3 
SPELL_FLAME_SPHERE_SPAWN_EFFECT 
SPELL_FLAME_SPHERE_VISUAL 
SPELL_FLAME_SPHERE_PERIODIC 
SPELL_FLAME_SPHERE_DEATH_EFFECT 
SPELL_EMBRACE_OF_THE_VAMPYR 
SPELL_VANISH 
SPELL_SHADOWSTEP 
NPC_FLAME_SPHERE_1 
NPC_FLAME_SPHERE_2 
NPC_FLAME_SPHERE_3 
SPELL_BEAM_VISUAL 
SPELL_HOVER_FALL 
31 {
32  SPELL_BLOODTHIRST = 55968, // Trigger Spell + add aura
34  SPELL_FLAME_SPHERE_SUMMON_1 = 55895, // 1x 30106
35  SPELL_FLAME_SPHERE_SUMMON_2 = 59511, // 1x 31686
36  SPELL_FLAME_SPHERE_SUMMON_3 = 59512, // 1x 31687
42  SPELL_VANISH = 55964,
43  SPELL_SHADOWSTEP = 55966,
44 
45  NPC_FLAME_SPHERE_1 = 30106,
46  NPC_FLAME_SPHERE_2 = 31686,
47  NPC_FLAME_SPHERE_3 = 31687,
48 
49  SPELL_BEAM_VISUAL = 60342,
50  SPELL_HOVER_FALL = 60425
51 };
Definition: boss_prince_taldaram.cpp:32
Definition: boss_prince_taldaram.cpp:35
Definition: boss_prince_taldaram.cpp:43
Definition: boss_prince_taldaram.cpp:49
Definition: boss_prince_taldaram.cpp:36
Definition: boss_prince_taldaram.cpp:39
Definition: boss_prince_taldaram.cpp:42
Definition: boss_prince_taldaram.cpp:34
Definition: boss_prince_taldaram.cpp:41
Definition: boss_prince_taldaram.cpp:40
Definition: boss_prince_taldaram.cpp:47
Definition: boss_prince_taldaram.cpp:50
Definition: boss_prince_taldaram.cpp:37
Definition: boss_prince_taldaram.cpp:46
Definition: boss_prince_taldaram.cpp:45
Definition: boss_prince_taldaram.cpp:38
Definition: boss_prince_taldaram.cpp:33

◆ PrinceTaldaramYells

Enumerator
SAY_1 
SAY_WARNING 
SAY_AGGRO 
SAY_SLAY 
SAY_DEATH 
SAY_FEED 
SAY_VANISH 
61 {
62  SAY_1 = 0,
63  SAY_WARNING = 1,
64  SAY_AGGRO = 2,
65  SAY_SLAY = 3,
66  SAY_DEATH = 4,
67  SAY_FEED = 5,
68  SAY_VANISH = 6
69 };
Definition: boss_prince_taldaram.cpp:63
Definition: boss_prince_taldaram.cpp:65
Definition: boss_prince_taldaram.cpp:67
Definition: boss_prince_taldaram.cpp:66
Definition: boss_prince_taldaram.cpp:64
Definition: boss_prince_taldaram.cpp:62
Definition: boss_prince_taldaram.cpp:68

Function Documentation

◆ AddSC_boss_taldaram()

void AddSC_boss_taldaram ( )
456 {
462 }
Definition: boss_prince_taldaram.cpp:439
#define RegisterAhnKahetGameObjectAI(ai_name)
Definition: ahnkahet.h:88
#define RegisterAhnKahetCreatureAI(ai_name)
Definition: ahnkahet.h:87
Definition: boss_prince_taldaram.cpp:295
Definition: boss_prince_taldaram.cpp:411
#define RegisterSpellScript(spell_script)
Definition: ScriptMgr.h:1341
Definition: boss_prince_taldaram.cpp:378
Definition: boss_prince_taldaram.cpp:88
+ Here is the caller graph for this function:

Variable Documentation

◆ PrinceTaldaramGroundPositionZ

float constexpr PrinceTaldaramGroundPositionZ = 11.30809f

◆ PrinceTaldaramSphereAngleOffset

float constexpr PrinceTaldaramSphereAngleOffset = float(M_PI) / 2.f

◆ PrinceTaldaramSphereDistance

float constexpr PrinceTaldaramSphereDistance = 25.f