TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
zone_dragonblight.cpp File Reference
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "SpellScript.h"
#include "SpellAuraEffects.h"
#include "ScriptedEscortAI.h"
#include "Vehicle.h"
#include "CombatAI.h"
#include "Player.h"
+ Include dependency graph for zone_dragonblight.cpp:

Classes

class  npc_commander_eligor_dawnbringer
 
struct  npc_commander_eligor_dawnbringer::npc_commander_eligor_dawnbringerAI
 
class  spell_q12096_q12092_dummy
 
class  spell_q12096_q12092_dummy::spell_q12096_q12092_dummy_SpellScript
 
class  spell_q12096_q12092_bark
 
class  spell_q12096_q12092_bark::spell_q12096_q12092_bark_SpellScript
 
class  npc_wyrmrest_defender
 
struct  npc_wyrmrest_defender::npc_wyrmrest_defenderAI
 
class  npc_torturer_lecraft
 
struct  npc_torturer_lecraft::npc_torturer_lecraftAI
 

Macros

#define GOSSIP_ITEM_1   "We need to get into the fight. Are you ready?"
 

Enumerations

enum  CommanderEligorDawnbringer {
  MODEL_IMAGE_OF_KELTHUZAD = 24787, MODEL_IMAGE_OF_SAPPHIRON = 24788, MODEL_IMAGE_OF_RAZUVIOUS = 24799, MODEL_IMAGE_OF_GOTHIK = 24804,
  MODEL_IMAGE_OF_THANE = 24802, MODEL_IMAGE_OF_BLAUMEUX = 24794, MODEL_IMAGE_OF_ZELIEK = 24800, MODEL_IMAGE_OF_PATCHWERK = 24798,
  MODEL_IMAGE_OF_GROBBULUS = 24792, MODEL_IMAGE_OF_THADDIUS = 24801, MODEL_IMAGE_OF_GLUTH = 24803, MODEL_IMAGE_OF_ANUBREKHAN = 24789,
  MODEL_IMAGE_OF_FAERLINA = 24790, MODEL_IMAGE_OF_MAEXXNA = 24796, MODEL_IMAGE_OF_NOTH = 24797, MODEL_IMAGE_OF_HEIGAN = 24793,
  MODEL_IMAGE_OF_LOATHEB = 24795, NPC_IMAGE_OF_KELTHUZAD = 27766, NPC_IMAGE_OF_SAPPHIRON = 27767, NPC_IMAGE_OF_RAZUVIOUS = 27768,
  NPC_IMAGE_OF_GOTHIK = 27769, NPC_IMAGE_OF_THANE = 27770, NPC_IMAGE_OF_BLAUMEUX = 27771, NPC_IMAGE_OF_ZELIEK = 27772,
  NPC_IMAGE_OF_PATCHWERK = 27773, NPC_IMAGE_OF_GROBBULUS = 27774, NPC_IMAGE_OF_THADDIUS = 27775, NPC_IMAGE_OF_GLUTH = 27782,
  NPC_IMAGE_OF_ANUBREKHAN = 27776, NPC_IMAGE_OF_FAERLINA = 27777, NPC_IMAGE_OF_MAEXXNA = 27778, NPC_IMAGE_OF_NOTH = 27779,
  NPC_IMAGE_OF_HEIGAN = 27780, NPC_IMAGE_OF_LOATHEB = 27781, NPC_INFANTRYMAN = 27160, NPC_SENTINAL = 27162,
  NPC_BATTLE_MAGE = 27164, SAY_PINNACLE = 0, SAY_DEATH_KNIGHT_WING = 1, SAY_ABOMINATION_WING = 2,
  SAY_SPIDER_WING = 3, SAY_PLAGUE_WING = 4, SAY_TALK_COMPLETE = 5, SAY_SAPPHIRON = 6,
  SAY_KELTHUZAD_1 = 7, SAY_KELTHUZAD_2 = 8, SAY_KELTHUZAD_3 = 9, SAY_RAZUVIOUS = 10,
  SAY_GOTHIK = 11, SAY_DEATH_KNIGHTS_1 = 12, SAY_DEATH_KNIGHTS_2 = 13, SAY_DEATH_KNIGHTS_3 = 14,
  SAY_DEATH_KNIGHTS_4 = 15, SAY_PATCHWERK = 16, SAY_GROBBULUS = 17, SAY_GLUTH = 18,
  SAY_THADDIUS = 19, SAY_ANUBREKHAN = 20, SAY_FAERLINA = 21, SAY_MAEXXNA = 22,
  SAY_NOTH = 23, SAY_HEIGAN_1 = 24, SAY_HEIGAN_2 = 25, SAY_LOATHEB = 26,
  SPELL_HEROIC_IMAGE_CHANNEL = 49519, EVENT_START_RANDOM = 1, EVENT_MOVE_TO_POINT = 2, EVENT_TALK_COMPLETE = 3,
  EVENT_GET_TARGETS = 4, EVENT_KELTHUZAD_2 = 5, EVENT_KELTHUZAD_3 = 6, EVENT_DEATH_KNIGHTS_2 = 7,
  EVENT_DEATH_KNIGHTS_3 = 8, EVENT_DEATH_KNIGHTS_4 = 9, EVENT_HEIGAN_2 = 10
}
 
enum  AlexstraszaWrGate { QUEST_RETURN_TO_AG_A = 12499, QUEST_RETURN_TO_AG_H = 12500, MOVIE_ID_GATES = 14 }
 
enum  StrengthenAncientsMisc {
  SAY_WALKER_FRIENDLY = 0, SAY_WALKER_ENEMY = 1, SAY_LOTHALOR = 0, SPELL_CREATE_ITEM_BARK = 47550,
  SPELL_CONFUSED = 47044, NPC_LOTHALOR = 26321, FACTION_WALKER_ENEMY = 14
}
 
enum  WyrmDefenderEnum {
  QUEST_DEFENDING_WYRMREST_TEMPLE = 12372, GOSSIP_TEXTID_DEF1 = 12899, GOSSIP_TEXTID_DEF2 = 12900, SPELL_CHARACTER_SCRIPT = 49213,
  SPELL_DEFENDER_ON_LOW_HEALTH_EMOTE = 52421, SPELL_RENEW = 49263, SPELL_WYRMREST_DEFENDER_MOUNT = 49256, WHISPER_MOUNTED = 0,
  BOSS_EMOTE_ON_LOW_HEALTH = 2
}
 
enum  TorturerLeCraft {
  SPELL_HEMORRHAGE = 30478, SPELL_KIDNEY_SHOT = 30621, SPELL_HIGH_EXECUTORS_BRANDING_IRON = 48603, NPC_TORTURER_LECRAFT = 27394,
  EVENT_HEMORRHAGE = 1, EVENT_KIDNEY_SHOT = 2, SAY_AGGRO = 0
}
 

Functions

void AddSC_dragonblight ()
 

Variables

uint32 const AudienceMobs [3] = { NPC_INFANTRYMAN, NPC_SENTINAL, NPC_BATTLE_MAGE }
 
Position const PosTalkLocations [6]
 

Macro Definition Documentation

#define GOSSIP_ITEM_1   "We need to get into the fight. Are you ready?"

Enumeration Type Documentation

Enumerator
QUEST_RETURN_TO_AG_A 
QUEST_RETURN_TO_AG_H 
MOVIE_ID_GATES 
359 {
360  // Quest
361  QUEST_RETURN_TO_AG_A = 12499,
362  QUEST_RETURN_TO_AG_H = 12500,
363 
364  // Movie
365  MOVIE_ID_GATES = 14
366 };
Definition: zone_dragonblight.cpp:365
Definition: zone_dragonblight.cpp:362
Definition: zone_dragonblight.cpp:361
Enumerator
MODEL_IMAGE_OF_KELTHUZAD 
MODEL_IMAGE_OF_SAPPHIRON 
MODEL_IMAGE_OF_RAZUVIOUS 
MODEL_IMAGE_OF_GOTHIK 
MODEL_IMAGE_OF_THANE 
MODEL_IMAGE_OF_BLAUMEUX 
MODEL_IMAGE_OF_ZELIEK 
MODEL_IMAGE_OF_PATCHWERK 
MODEL_IMAGE_OF_GROBBULUS 
MODEL_IMAGE_OF_THADDIUS 
MODEL_IMAGE_OF_GLUTH 
MODEL_IMAGE_OF_ANUBREKHAN 
MODEL_IMAGE_OF_FAERLINA 
MODEL_IMAGE_OF_MAEXXNA 
MODEL_IMAGE_OF_NOTH 
MODEL_IMAGE_OF_HEIGAN 
MODEL_IMAGE_OF_LOATHEB 
NPC_IMAGE_OF_KELTHUZAD 
NPC_IMAGE_OF_SAPPHIRON 
NPC_IMAGE_OF_RAZUVIOUS 
NPC_IMAGE_OF_GOTHIK 
NPC_IMAGE_OF_THANE 
NPC_IMAGE_OF_BLAUMEUX 
NPC_IMAGE_OF_ZELIEK 
NPC_IMAGE_OF_PATCHWERK 
NPC_IMAGE_OF_GROBBULUS 
NPC_IMAGE_OF_THADDIUS 
NPC_IMAGE_OF_GLUTH 
NPC_IMAGE_OF_ANUBREKHAN 
NPC_IMAGE_OF_FAERLINA 
NPC_IMAGE_OF_MAEXXNA 
NPC_IMAGE_OF_NOTH 
NPC_IMAGE_OF_HEIGAN 
NPC_IMAGE_OF_LOATHEB 
NPC_INFANTRYMAN 
NPC_SENTINAL 
NPC_BATTLE_MAGE 
SAY_PINNACLE 
SAY_DEATH_KNIGHT_WING 
SAY_ABOMINATION_WING 
SAY_SPIDER_WING 
SAY_PLAGUE_WING 
SAY_TALK_COMPLETE 
SAY_SAPPHIRON 
SAY_KELTHUZAD_1 
SAY_KELTHUZAD_2 
SAY_KELTHUZAD_3 
SAY_RAZUVIOUS 
SAY_GOTHIK 
SAY_DEATH_KNIGHTS_1 
SAY_DEATH_KNIGHTS_2 
SAY_DEATH_KNIGHTS_3 
SAY_DEATH_KNIGHTS_4 
SAY_PATCHWERK 
SAY_GROBBULUS 
SAY_GLUTH 
SAY_THADDIUS 
SAY_ANUBREKHAN 
SAY_FAERLINA 
SAY_MAEXXNA 
SAY_NOTH 
SAY_HEIGAN_1 
SAY_HEIGAN_2 
SAY_LOATHEB 
SPELL_HEROIC_IMAGE_CHANNEL 
EVENT_START_RANDOM 
EVENT_MOVE_TO_POINT 
EVENT_TALK_COMPLETE 
EVENT_GET_TARGETS 
EVENT_KELTHUZAD_2 
EVENT_KELTHUZAD_3 
EVENT_DEATH_KNIGHTS_2 
EVENT_DEATH_KNIGHTS_3 
EVENT_DEATH_KNIGHTS_4 
EVENT_HEIGAN_2 
44 {
45  MODEL_IMAGE_OF_KELTHUZAD = 24787, // Image of Kel'Thuzad
46  MODEL_IMAGE_OF_SAPPHIRON = 24788, // Image of Sapphiron
47  MODEL_IMAGE_OF_RAZUVIOUS = 24799, // Image of Razuvious
48  MODEL_IMAGE_OF_GOTHIK = 24804, // Image of Gothik
49  MODEL_IMAGE_OF_THANE = 24802, // Image of Thane Korth'azz
50  MODEL_IMAGE_OF_BLAUMEUX = 24794, // Image of Lady Blaumeux
51  MODEL_IMAGE_OF_ZELIEK = 24800, // Image of Sir Zeliek
52  MODEL_IMAGE_OF_PATCHWERK = 24798, // Image of Patchwerk
53  MODEL_IMAGE_OF_GROBBULUS = 24792, // Image of Grobbulus
54  MODEL_IMAGE_OF_THADDIUS = 24801, // Image of Thaddius
55  MODEL_IMAGE_OF_GLUTH = 24803, // Image of Gluth
56  MODEL_IMAGE_OF_ANUBREKHAN = 24789, // Image of Anub'rekhan
57  MODEL_IMAGE_OF_FAERLINA = 24790, // Image of Faerlina
58  MODEL_IMAGE_OF_MAEXXNA = 24796, // Image of Maexxna
59  MODEL_IMAGE_OF_NOTH = 24797, // Image of Noth
60  MODEL_IMAGE_OF_HEIGAN = 24793, // Image of Heigan
61  MODEL_IMAGE_OF_LOATHEB = 24795, // Image of Loatheb
62 
63  NPC_IMAGE_OF_KELTHUZAD = 27766, // Image of Kel'Thuzad
64  NPC_IMAGE_OF_SAPPHIRON = 27767, // Image of Sapphiron
65  NPC_IMAGE_OF_RAZUVIOUS = 27768, // Image of Razuvious
66  NPC_IMAGE_OF_GOTHIK = 27769, // Image of Gothik
67  NPC_IMAGE_OF_THANE = 27770, // Image of Thane Korth'azz
68  NPC_IMAGE_OF_BLAUMEUX = 27771, // Image of Lady Blaumeux
69  NPC_IMAGE_OF_ZELIEK = 27772, // Image of Sir Zeliek
70  NPC_IMAGE_OF_PATCHWERK = 27773, // Image of Patchwerk
71  NPC_IMAGE_OF_GROBBULUS = 27774, // Image of Grobbulus
72  NPC_IMAGE_OF_THADDIUS = 27775, // Image of Thaddius
73  NPC_IMAGE_OF_GLUTH = 27782, // Image of Gluth
74  NPC_IMAGE_OF_ANUBREKHAN = 27776, // Image of Anub'rekhan
75  NPC_IMAGE_OF_FAERLINA = 27777, // Image of Faerlina
76  NPC_IMAGE_OF_MAEXXNA = 27778, // Image of Maexxna
77  NPC_IMAGE_OF_NOTH = 27779, // Image of Noth
78  NPC_IMAGE_OF_HEIGAN = 27780, // Image of Heigan
79  NPC_IMAGE_OF_LOATHEB = 27781, // Image of Loatheb
80 
81  NPC_INFANTRYMAN = 27160, // Add in case I randomize the spawning
82  NPC_SENTINAL = 27162,
83  NPC_BATTLE_MAGE = 27164,
84 
85  // Five platforms to choose from
86  SAY_PINNACLE = 0,
89  SAY_SPIDER_WING = 3,
90  SAY_PLAGUE_WING = 4,
91  // Used in all talks
93  // Pinnacle of Naxxramas
94  SAY_SAPPHIRON = 6,
95  SAY_KELTHUZAD_1 = 7,
96  SAY_KELTHUZAD_2 = 8,
97  SAY_KELTHUZAD_3 = 9,
98  // Death knight wing of Naxxramas
99  SAY_RAZUVIOUS = 10,
100  SAY_GOTHIK = 11,
101  SAY_DEATH_KNIGHTS_1 = 12,
102  SAY_DEATH_KNIGHTS_2 = 13,
103  SAY_DEATH_KNIGHTS_3 = 14,
104  SAY_DEATH_KNIGHTS_4 = 15,
105  // Blighted abomination wing of Naxxramas
106  SAY_PATCHWERK = 16,
107  SAY_GROBBULUS = 17,
108  SAY_GLUTH = 18,
109  SAY_THADDIUS = 19,
110  // Accursed spider wing of Naxxramas
111  SAY_ANUBREKHAN = 20,
112  SAY_FAERLINA = 21,
113  SAY_MAEXXNA = 22,
114  // Dread plague wing of Naxxramas
115  SAY_NOTH = 23,
116  SAY_HEIGAN_1 = 24,
117  SAY_HEIGAN_2 = 25,
118  SAY_LOATHEB = 26,
119 
121 
122  EVENT_START_RANDOM = 1,
125  EVENT_GET_TARGETS = 4,
126  EVENT_KELTHUZAD_2 = 5,
127  EVENT_KELTHUZAD_3 = 6,
131  EVENT_HEIGAN_2 = 10
132 };
Definition: zone_dragonblight.cpp:83
Definition: zone_dragonblight.cpp:73
Definition: zone_dragonblight.cpp:50
Definition: zone_dragonblight.cpp:124
Definition: zone_dragonblight.cpp:53
Definition: zone_dragonblight.cpp:76
Definition: zone_dragonblight.cpp:46
Definition: zone_dragonblight.cpp:72
Definition: zone_dragonblight.cpp:106
Definition: zone_dragonblight.cpp:126
Definition: zone_dragonblight.cpp:48
Definition: zone_dragonblight.cpp:67
Definition: zone_dragonblight.cpp:69
Definition: zone_dragonblight.cpp:109
Definition: zone_dragonblight.cpp:123
Definition: zone_dragonblight.cpp:112
Definition: zone_dragonblight.cpp:75
Definition: zone_dragonblight.cpp:74
Definition: zone_dragonblight.cpp:54
Definition: zone_dragonblight.cpp:102
Definition: zone_dragonblight.cpp:129
Definition: zone_dragonblight.cpp:86
Definition: zone_dragonblight.cpp:125
Definition: zone_dragonblight.cpp:117
Definition: zone_dragonblight.cpp:90
Definition: zone_dragonblight.cpp:70
Definition: zone_dragonblight.cpp:81
Definition: zone_dragonblight.cpp:104
Definition: zone_dragonblight.cpp:99
Definition: zone_dragonblight.cpp:131
Definition: zone_dragonblight.cpp:101
Definition: zone_dragonblight.cpp:64
Definition: zone_dragonblight.cpp:56
Definition: zone_dragonblight.cpp:96
Definition: zone_dragonblight.cpp:95
Definition: zone_dragonblight.cpp:78
Definition: zone_dragonblight.cpp:71
Definition: zone_dragonblight.cpp:88
Definition: zone_dragonblight.cpp:59
Definition: zone_dragonblight.cpp:51
Definition: zone_dragonblight.cpp:100
Definition: zone_dragonblight.cpp:111
Definition: zone_dragonblight.cpp:120
Definition: zone_dragonblight.cpp:63
Definition: zone_dragonblight.cpp:61
Definition: zone_dragonblight.cpp:68
Definition: zone_dragonblight.cpp:89
Definition: zone_dragonblight.cpp:66
Definition: zone_dragonblight.cpp:60
Definition: zone_dragonblight.cpp:77
Definition: zone_dragonblight.cpp:49
Definition: zone_dragonblight.cpp:55
Definition: zone_dragonblight.cpp:47
Definition: zone_dragonblight.cpp:92
Definition: zone_dragonblight.cpp:128
Definition: zone_dragonblight.cpp:65
Definition: zone_dragonblight.cpp:45
Definition: zone_dragonblight.cpp:57
Definition: zone_dragonblight.cpp:52
Definition: zone_dragonblight.cpp:115
Definition: zone_dragonblight.cpp:130
Definition: zone_dragonblight.cpp:82
Definition: zone_dragonblight.cpp:58
Definition: zone_dragonblight.cpp:113
Definition: zone_dragonblight.cpp:108
Definition: zone_dragonblight.cpp:107
Definition: zone_dragonblight.cpp:94
Definition: zone_dragonblight.cpp:87
Definition: zone_dragonblight.cpp:127
Definition: zone_dragonblight.cpp:116
Definition: zone_dragonblight.cpp:79
Definition: zone_dragonblight.cpp:118
Definition: zone_dragonblight.cpp:122
Definition: zone_dragonblight.cpp:97
Definition: zone_dragonblight.cpp:103
Enumerator
SAY_WALKER_FRIENDLY 
SAY_WALKER_ENEMY 
SAY_LOTHALOR 
SPELL_CREATE_ITEM_BARK 
SPELL_CONFUSED 
NPC_LOTHALOR 
FACTION_WALKER_ENEMY 
373 {
375  SAY_WALKER_ENEMY = 1,
376  SAY_LOTHALOR = 0,
377 
378  SPELL_CREATE_ITEM_BARK = 47550,
379  SPELL_CONFUSED = 47044,
380 
381  NPC_LOTHALOR = 26321,
382 
384 };
Definition: zone_dragonblight.cpp:379
Definition: zone_dragonblight.cpp:381
Definition: zone_dragonblight.cpp:375
Definition: zone_dragonblight.cpp:378
Definition: zone_dragonblight.cpp:376
Definition: zone_dragonblight.cpp:374
Definition: zone_dragonblight.cpp:383
Enumerator
SPELL_HEMORRHAGE 
SPELL_KIDNEY_SHOT 
SPELL_HIGH_EXECUTORS_BRANDING_IRON 
NPC_TORTURER_LECRAFT 
EVENT_HEMORRHAGE 
EVENT_KIDNEY_SHOT 
SAY_AGGRO 
605 {
606  SPELL_HEMORRHAGE = 30478,
607  SPELL_KIDNEY_SHOT = 30621,
609  NPC_TORTURER_LECRAFT = 27394,
610  EVENT_HEMORRHAGE = 1,
611  EVENT_KIDNEY_SHOT = 2,
612  SAY_AGGRO = 0
613 };
Definition: zone_dragonblight.cpp:607
Definition: zone_dragonblight.cpp:609
Definition: zone_dragonblight.cpp:606
Definition: zone_dragonblight.cpp:608
Definition: zone_dragonblight.cpp:610
Definition: zone_dragonblight.cpp:612
Definition: zone_dragonblight.cpp:611
Enumerator
QUEST_DEFENDING_WYRMREST_TEMPLE 
GOSSIP_TEXTID_DEF1 
GOSSIP_TEXTID_DEF2 
SPELL_CHARACTER_SCRIPT 
SPELL_DEFENDER_ON_LOW_HEALTH_EMOTE 
SPELL_RENEW 
SPELL_WYRMREST_DEFENDER_MOUNT 
WHISPER_MOUNTED 
BOSS_EMOTE_ON_LOW_HEALTH 
470 {
471  // Quest data
473  GOSSIP_TEXTID_DEF1 = 12899,
474 
475  // Gossip data
476  GOSSIP_TEXTID_DEF2 = 12900,
477 
478  // Spells data
479  SPELL_CHARACTER_SCRIPT = 49213,
480  SPELL_DEFENDER_ON_LOW_HEALTH_EMOTE = 52421, // ID - 52421 Wyrmrest Defender: On Low Health Boss Emote to Controller - Random /self/
481  SPELL_RENEW = 49263, // cast to heal drakes
483 
484  // Texts data
485  WHISPER_MOUNTED = 0,
487 };
Definition: zone_dragonblight.cpp:482
Definition: zone_dragonblight.cpp:473
Definition: zone_dragonblight.cpp:472
Definition: zone_dragonblight.cpp:476
Definition: zone_dragonblight.cpp:481
Definition: zone_dragonblight.cpp:480
Definition: zone_dragonblight.cpp:486
Definition: zone_dragonblight.cpp:479
Definition: zone_dragonblight.cpp:485

Function Documentation

void AddSC_dragonblight ( )
704 {
708  new npc_wyrmrest_defender();
709  new npc_torturer_lecraft();
710 }
Definition: zone_dragonblight.cpp:491
Definition: zone_dragonblight.cpp:146
Definition: zone_dragonblight.cpp:615
Definition: zone_dragonblight.cpp:386
Definition: zone_dragonblight.cpp:433

+ Here is the caller graph for this function:

Variable Documentation

Position const PosTalkLocations[6]
Initial value:
=
{
{ 3805.453f, -682.9075f, 222.2917f, 2.793398f },
{ 3807.508f, -691.0882f, 221.9688f, 2.094395f },
{ 3797.228f, -690.3555f, 222.5019f, 1.134464f },
{ 3804.038f, -672.3098f, 222.5019f, 4.578917f },
{ 3815.097f, -680.2596f, 221.9777f, 2.86234f },
{ 3798.05f, -680.611f, 222.9825f, 6.038839f },
}