AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
brann_bronzebeard.cpp File Reference
#include "CreatureScript.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptedEscortAI.h"
#include "ScriptedGossip.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "halls_of_stone.h"

Go to the source code of this file.

Classes

struct  Yells
 
class  brann_bronzebeard
 
struct  brann_bronzebeard::brann_bronzebeardAI
 
class  dark_rune_protectors
 
struct  dark_rune_protectors::dark_rune_protectorsAI
 
class  dark_rune_stormcaller
 
struct  dark_rune_stormcaller::dark_rune_stormcallerAI
 
class  iron_golem_custodian
 
struct  iron_golem_custodian::iron_golem_custodianAI
 
class  spell_hos_dark_matter
 
class  spell_hos_dark_matter_size
 

Macros

#define GOSSIP_ITEM_1   "Brann, it would be our honor!"
 
#define GOSSIP_ITEM_2   "Let's move Brann, enough of the history lessons!"
 
#define GOSSIP_ITEM_3   "There will be plenty of time for this later Brann, we need to get moving!"
 
#define GOSSIP_ITEM_4   "We're with you Brann! Open it!"
 
#define TEXT_ID_START   13100
 
#define TEXT_ID_TRIBUNAL_START   13101
 
#define TEXT_ID_TRIBUNAL_END   14176
 
#define TEXT_ID_SJONNIR_DOOR   13883
 
#define TEXT_ID_SJONNIR_END   13308
 

Enumerations

enum  NPCs {
  NPC_DARK_RUNE_PROTECTOR = 27983 ,
  NPC_DARK_RUNE_STORMCALLER = 27984 ,
  NPC_IRON_GOLEM_CUSTODIAN = 27985 ,
  NPC_DARK_MATTER = 28235 ,
  NPC_DARK_MATTER_TARGET = 28237 ,
  NPC_SEARING_GAZE_TRIGGER = 28265
}
 
enum  Misc {
  SPELL_GLARE_OF_THE_TRIBUNAL = 50988 ,
  SPELL_GLARE_OF_THE_TRIBUNAL_H = 59870 ,
  SPELL_DARK_MATTER_VISUAL = 51000 ,
  SPELL_DARK_MATTER_VISUAL_CHANNEL = 51001 ,
  SPELL_DARK_MATTER = 51012 ,
  SPELL_DARK_MATTER_H = 59868 ,
  SPELL_SEARING_GAZE = 51136 ,
  SPELL_SEARING_GAZE_H = 59867 ,
  SPELL_DRP_CHARGE = 22120 ,
  SPELL_DRP_CLEAVE = 42724 ,
  SPELL_DRS_LIGHTING_BOLT = 12167 ,
  SPELL_DRS_LIGHTING_BOLT_H = 59863 ,
  SPELL_DRS_SHADOW_WORD_PAIN = 15654 ,
  SPELL_DRS_SHADOW_WORD_PAIN_H = 59864 ,
  SPELL_IGC_CRUSH_ARMOR = 33661 ,
  SPELL_IGC_GROUND_SMASH = 12734 ,
  SPELL_IGC_GROUND_SMASH_H = 59865 ,
  QUEST_HALLS_OF_STONE = 13207
}
 
enum  events {
  EVENT_ABEDNEUM_VISUAL = 1 ,
  EVENT_KADDRAK_VISUAL = 2 ,
  EVENT_MARNAK_VISUAL = 3 ,
  EVENT_ABEDNEUM_HEAD = 4 ,
  EVENT_KADDRAK_HEAD = 5 ,
  EVENT_MARNAK_HEAD = 6 ,
  EVENT_KADDRAK_SWITCH_EYE = 7 ,
  EVENT_SUMMON_MONSTERS = 8 ,
  EVENT_SUMMON_STORMCALLER = 9 ,
  EVENT_SUMMON_CUSTODIAN = 10 ,
  EVENT_DARK_MATTER_START = 11 ,
  EVENT_DARK_MATTER_END = 12 ,
  EVENT_DRP_CHARGE = 13 ,
  EVENT_DRP_CLEAVE = 14 ,
  EVENT_DRS_LIGHTNING_BOLD = 15 ,
  EVENT_DRS_SHADOW_WORD_PAIN = 16 ,
  EVENT_IGC_CRUSH = 17 ,
  EVENT_IGC_GROUND_SMASH = 18 ,
  EVENT_TRIBUNAL_END = 19 ,
  EVENT_BREEN_WAITING = 20 ,
  EVENT_TALK_FACE_CHANGE = 21 ,
  EVENT_SKY_ROOM_FLOOR_CHANGE = 22 ,
  EVENT_GO_TO_SJONNIR = 23 ,
  EVENT_DOOR_OPEN = 24 ,
  EVENT_RESUME_ESCORT = 25 ,
  EVENT_SJONNIR_END_BRANN_YELL = 26 ,
  EVENT_SJONNIR_END_BRANN_LAST_YELL = 27
}
 

Functions

void AddSC_brann_bronzebeard ()
 

Variables

static Yells Conversation []
 

Macro Definition Documentation

◆ GOSSIP_ITEM_1

#define GOSSIP_ITEM_1   "Brann, it would be our honor!"

◆ GOSSIP_ITEM_2

#define GOSSIP_ITEM_2   "Let's move Brann, enough of the history lessons!"

◆ GOSSIP_ITEM_3

#define GOSSIP_ITEM_3   "There will be plenty of time for this later Brann, we need to get moving!"

◆ GOSSIP_ITEM_4

#define GOSSIP_ITEM_4   "We're with you Brann! Open it!"

◆ TEXT_ID_SJONNIR_DOOR

#define TEXT_ID_SJONNIR_DOOR   13883

◆ TEXT_ID_SJONNIR_END

#define TEXT_ID_SJONNIR_END   13308

◆ TEXT_ID_START

#define TEXT_ID_START   13100

◆ TEXT_ID_TRIBUNAL_END

#define TEXT_ID_TRIBUNAL_END   14176

◆ TEXT_ID_TRIBUNAL_START

#define TEXT_ID_TRIBUNAL_START   13101

Enumeration Type Documentation

◆ events

enum events
Enumerator
EVENT_ABEDNEUM_VISUAL 
EVENT_KADDRAK_VISUAL 
EVENT_MARNAK_VISUAL 
EVENT_ABEDNEUM_HEAD 
EVENT_KADDRAK_HEAD 
EVENT_MARNAK_HEAD 
EVENT_KADDRAK_SWITCH_EYE 
EVENT_SUMMON_MONSTERS 
EVENT_SUMMON_STORMCALLER 
EVENT_SUMMON_CUSTODIAN 
EVENT_DARK_MATTER_START 
EVENT_DARK_MATTER_END 
EVENT_DRP_CHARGE 
EVENT_DRP_CLEAVE 
EVENT_DRS_LIGHTNING_BOLD 
EVENT_DRS_SHADOW_WORD_PAIN 
EVENT_IGC_CRUSH 
EVENT_IGC_GROUND_SMASH 
EVENT_TRIBUNAL_END 
EVENT_BREEN_WAITING 
EVENT_TALK_FACE_CHANGE 
EVENT_SKY_ROOM_FLOOR_CHANGE 
EVENT_GO_TO_SJONNIR 
EVENT_DOOR_OPEN 
EVENT_RESUME_ESCORT 
EVENT_SJONNIR_END_BRANN_YELL 
EVENT_SJONNIR_END_BRANN_LAST_YELL 
79{
80 // BRANN AND TRIBUNAL
93
94 // DARK RUNE PROTECTOR
97
98 // DARK RUNE STORMCALLER
101
102 // IRON GOLEM CUSTODIAN
103 EVENT_IGC_CRUSH = 17,
105
110
111 //BRANN AND SJONNIR
113 EVENT_DOOR_OPEN = 24,
117};
@ EVENT_DRP_CLEAVE
Definition brann_bronzebeard.cpp:96
@ EVENT_MARNAK_VISUAL
Definition brann_bronzebeard.cpp:83
@ EVENT_ABEDNEUM_VISUAL
Definition brann_bronzebeard.cpp:81
@ EVENT_ABEDNEUM_HEAD
Definition brann_bronzebeard.cpp:84
@ EVENT_SUMMON_STORMCALLER
Definition brann_bronzebeard.cpp:89
@ EVENT_BREEN_WAITING
Definition brann_bronzebeard.cpp:107
@ EVENT_DARK_MATTER_START
Definition brann_bronzebeard.cpp:91
@ EVENT_SKY_ROOM_FLOOR_CHANGE
Definition brann_bronzebeard.cpp:109
@ EVENT_TALK_FACE_CHANGE
Definition brann_bronzebeard.cpp:108
@ EVENT_TRIBUNAL_END
Definition brann_bronzebeard.cpp:106
@ EVENT_SUMMON_MONSTERS
Definition brann_bronzebeard.cpp:88
@ EVENT_IGC_GROUND_SMASH
Definition brann_bronzebeard.cpp:104
@ EVENT_KADDRAK_SWITCH_EYE
Definition brann_bronzebeard.cpp:87
@ EVENT_GO_TO_SJONNIR
Definition brann_bronzebeard.cpp:112
@ EVENT_SJONNIR_END_BRANN_YELL
Definition brann_bronzebeard.cpp:115
@ EVENT_DARK_MATTER_END
Definition brann_bronzebeard.cpp:92
@ EVENT_RESUME_ESCORT
Definition brann_bronzebeard.cpp:114
@ EVENT_DOOR_OPEN
Definition brann_bronzebeard.cpp:113
@ EVENT_DRS_LIGHTNING_BOLD
Definition brann_bronzebeard.cpp:99
@ EVENT_DRS_SHADOW_WORD_PAIN
Definition brann_bronzebeard.cpp:100
@ EVENT_KADDRAK_VISUAL
Definition brann_bronzebeard.cpp:82
@ EVENT_IGC_CRUSH
Definition brann_bronzebeard.cpp:103
@ EVENT_DRP_CHARGE
Definition brann_bronzebeard.cpp:95
@ EVENT_MARNAK_HEAD
Definition brann_bronzebeard.cpp:86
@ EVENT_KADDRAK_HEAD
Definition brann_bronzebeard.cpp:85
@ EVENT_SUMMON_CUSTODIAN
Definition brann_bronzebeard.cpp:90
@ EVENT_SJONNIR_END_BRANN_LAST_YELL
Definition brann_bronzebeard.cpp:116

◆ Misc

enum Misc
Enumerator
SPELL_GLARE_OF_THE_TRIBUNAL 
SPELL_GLARE_OF_THE_TRIBUNAL_H 
SPELL_DARK_MATTER_VISUAL 
SPELL_DARK_MATTER_VISUAL_CHANNEL 
SPELL_DARK_MATTER 
SPELL_DARK_MATTER_H 
SPELL_SEARING_GAZE 
SPELL_SEARING_GAZE_H 
SPELL_DRP_CHARGE 
SPELL_DRP_CLEAVE 
SPELL_DRS_LIGHTING_BOLT 
SPELL_DRS_LIGHTING_BOLT_H 
SPELL_DRS_SHADOW_WORD_PAIN 
SPELL_DRS_SHADOW_WORD_PAIN_H 
SPELL_IGC_CRUSH_ARMOR 
SPELL_IGC_GROUND_SMASH 
SPELL_IGC_GROUND_SMASH_H 
QUEST_HALLS_OF_STONE 
48{
49 // BRANN EVENT
54 SPELL_DARK_MATTER = 51012,
55 SPELL_DARK_MATTER_H = 59868,
56 SPELL_SEARING_GAZE = 51136,
58
59 // DARK RUNE PROTECTOR
60 SPELL_DRP_CHARGE = 22120,
61 SPELL_DRP_CLEAVE = 42724,
62
63 // DARK RUNE STORMCALLER
68
69 // IRON GOLEM CUSTODIAN
73
74 // QUESTS
76};
@ SPELL_SEARING_GAZE
Definition brann_bronzebeard.cpp:56
@ SPELL_DRP_CHARGE
Definition brann_bronzebeard.cpp:60
@ QUEST_HALLS_OF_STONE
Definition brann_bronzebeard.cpp:75
@ SPELL_DARK_MATTER
Definition brann_bronzebeard.cpp:54
@ SPELL_DRS_LIGHTING_BOLT_H
Definition brann_bronzebeard.cpp:65
@ SPELL_DRS_SHADOW_WORD_PAIN_H
Definition brann_bronzebeard.cpp:67
@ SPELL_DRS_SHADOW_WORD_PAIN
Definition brann_bronzebeard.cpp:66
@ SPELL_DRP_CLEAVE
Definition brann_bronzebeard.cpp:61
@ SPELL_DARK_MATTER_VISUAL_CHANNEL
Definition brann_bronzebeard.cpp:53
@ SPELL_DRS_LIGHTING_BOLT
Definition brann_bronzebeard.cpp:64
@ SPELL_DARK_MATTER_H
Definition brann_bronzebeard.cpp:55
@ SPELL_IGC_GROUND_SMASH
Definition brann_bronzebeard.cpp:71
@ SPELL_GLARE_OF_THE_TRIBUNAL
Definition brann_bronzebeard.cpp:50
@ SPELL_SEARING_GAZE_H
Definition brann_bronzebeard.cpp:57
@ SPELL_IGC_CRUSH_ARMOR
Definition brann_bronzebeard.cpp:70
@ SPELL_IGC_GROUND_SMASH_H
Definition brann_bronzebeard.cpp:72
@ SPELL_DARK_MATTER_VISUAL
Definition brann_bronzebeard.cpp:52
@ SPELL_GLARE_OF_THE_TRIBUNAL_H
Definition brann_bronzebeard.cpp:51

◆ NPCs

enum NPCs
Enumerator
NPC_DARK_RUNE_PROTECTOR 
NPC_DARK_RUNE_STORMCALLER 
NPC_IRON_GOLEM_CUSTODIAN 
NPC_DARK_MATTER 
NPC_DARK_MATTER_TARGET 
NPC_SEARING_GAZE_TRIGGER 
38{
42 NPC_DARK_MATTER = 28235,
45};
@ NPC_DARK_RUNE_STORMCALLER
Definition brann_bronzebeard.cpp:40
@ NPC_SEARING_GAZE_TRIGGER
Definition brann_bronzebeard.cpp:44
@ NPC_DARK_MATTER_TARGET
Definition brann_bronzebeard.cpp:43
@ NPC_DARK_MATTER
Definition brann_bronzebeard.cpp:42
@ NPC_IRON_GOLEM_CUSTODIAN
Definition brann_bronzebeard.cpp:41
@ NPC_DARK_RUNE_PROTECTOR
Definition brann_bronzebeard.cpp:39

Function Documentation

◆ AddSC_brann_bronzebeard()

void AddSC_brann_bronzebeard ( )
1174{
1175 new brann_bronzebeard();
1181}
#define RegisterSpellScript(spell_script)
Definition SpellScriptLoader.h:88
Definition brann_bronzebeard.cpp:170
Definition brann_bronzebeard.cpp:969
Definition brann_bronzebeard.cpp:1027
Definition brann_bronzebeard.cpp:1083
Definition brann_bronzebeard.cpp:1158
Definition brann_bronzebeard.cpp:1137

References brann_bronzebeard::brann_bronzebeard(), and RegisterSpellScript.

Referenced by AddNorthrendScripts().

Variable Documentation

◆ Conversation

Yells Conversation[]
static
127{
128 {14248, "Now keep an eye out! I'll have this licked in two shakes of a--", NPC_BRANN, 8000},
129 {13765, "Warning: life form pattern not recognized. Archival processing terminated. Continued interference will result in targeted response.", NPC_ABEDNEUM, 13000},
130 {14249, "Oh, that doesn't sound good. We might have a complication or two...", NPC_BRANN, 24000},
131 {13756, "Security breach in progress. Analysis of historical archives transferred to lower-priority queue. Countermeasures engaged.", NPC_KADDRAK, 30500},
132 {14250, "Ah, you want to play hardball, eh? That's just my game!", NPC_BRANN, 42000},
133 {14251, "Couple more minutes and I'll--", NPC_BRANN, 102000},
134 {13761, "Threat index threshold exceeded. Celestial archive aborted. Security level heightened.", NPC_MARNAK, 105000},
135 {14252, "Heightened? What's the good news?", NPC_BRANN, 113000},
136 {14253, "So that was the problem? Now I'm makin' progress...", NPC_BRANN, 201000},
137 {13767, "Critical threat index. Void analysis diverted. Initiating sanitization protocol.", NPC_ABEDNEUM, 207500 },
138 {14254, "Hang on! Nobody's gonna' be sanitized as long as I have a say in it!", NPC_BRANN, 214000},
139 {14255, "Ha! The old magic fingers finally won through! Now let's get down to--", NPC_BRANN, 305000},
140 {13768, "Alert: security fail-safes deactivated. Beginning memory purge and... ", NPC_ABEDNEUM, 310000},
141 //The fight is completed at this point.d
142 {14256, "Purge? No no no no no.. where did I-- Aha, this should do the trick...", NPC_BRANN, 316000},
143 {13769, "System online. Life form pattern recognized. Welcome, Branbronzan. Query?", NPC_ABEDNEUM, 322000},
144 {14263, "Query? What do you think I'm here for, tea and biscuits? Spill the beans already!", NPC_BRANN, 330000},
145 {14264, "Tell me how the dwarves came to be, and start at the beginning!", NPC_BRANN, 336000},
146 {13770, "Accessing prehistoric data... retrieved. In the beginning the earthen were created to--", NPC_ABEDNEUM, 341000},
147 {14265, "Right, right... I know the earthen were made from stone to shape the deep regions o' the world. But what about the anomalies? Matrix non-stabilizin' and what-not?", NPC_BRANN, 348000},
148 {13771, "Accessing... In the early stages of it's development cycle, Azeroth suffered infection by parasitic necrophotic symbiotes.", NPC_ABEDNEUM, 360000},
149 {14266, "Necrowhatinthe-- Speak bloody Common, will ye?", NPC_BRANN, 372000},
150 {13772, "Designation: Old Gods. Old Gods rendered all systems, including earthen, defenseless in order to facilitate assimilation. This matrix destabilization has been termed the Curse of Flesh. Effects of destabilization increased over time.", NPC_ABEDNEUM, 377000},
151 {14267, "Old Gods, huh? So they zapped the earthen with this Curse of Flesh... and then what?", NPC_BRANN, 400000},
152 {13757, "Accessing... Creators arrived to extirpate symbiotic infection. Assessment revealed that Old God infestation had grown malignant. Excising parasites would result in loss of host--", NPC_KADDRAK, 407500},
153 {14268, "If they killed the Old Gods, Azeroth would've been destroyed...", NPC_BRANN, 424000},
154 {13758, "Correct. Creators neutralized parasitic threat and contained it within the host. Forge of Wills and other systems were instituted to create new earthen. Safeguards were implemented, and protectors were appointed.", NPC_KADDRAK, 431000},
155 {14269, "What protectors?", NPC_BRANN, 450000},
156 {13759, "Designations: Aesir and Vanir. Or in the common nomenclature, storm and earth giants. Sentinel Loken designated supreme. Dragon Aspects appointed to monitor evolution on Azeroth.", NPC_KADDRAK, 453000},
157 {14270, "Aesir and Vanir... Okay, so the Forge o' Wills started makin' new earthen... but what happened to the old ones?", NPC_BRANN, 472000},
158 {13762, "Additional background is relevant to your query: following global combat between Aesir and Vanir--", NPC_MARNAK, 483000},
159 {14271, "Hold everything! The Aesir and Vanir went to war? Why?", NPC_BRANN, 489000},
160 {13763, "Unknown. Data suggests that impetus for global combat originated with prime designate Loken, who neutralized all remaining Aesir and Vanir, affecting termination of conflict. Prime designate Loken then initiated stasis of several seed races, including earthen, giants and vrykul, at designated holding facilities.", NPC_MARNAK, 495000},
161 {14272, "This Loken sounds like a nasty character. Glad we don't have to worry about the likes o' him anymore. So... if I'm understandin' ye right, the original earthen eventually woke up from this stasis, and by that time the destabili-whatever had turned 'em into proper dwarves. Or at least... dwarf ancestors.", NPC_BRANN, 519000},
162 {13764, "Essentially that is correct.", NPC_MARNAK, 543000},
163 {14273, "Well, now... that's a lot to digest. I'm gonna need some time to take all this in. Thank ye.", NPC_BRANN, 546000},
164 {13773, "Acknowledged, Branbronzan. Session terminated.", NPC_ABEDNEUM, 554000},
165 //Go to Sjonnir's door
166 {0, "I think it's time to see what's behind the door near the entrance. I'm going to sneak over there, nice and quiet. Meet me at the door and I'll get us in.", NPC_BRANN, 561000},
167};
@ NPC_KADDRAK
Definition halls_of_stone.h:76
@ NPC_BRANN
Definition halls_of_stone.h:80
@ NPC_MARNAK
Definition halls_of_stone.h:77
@ NPC_ABEDNEUM
Definition halls_of_stone.h:78

Referenced by brann_bronzebeard::brann_bronzebeardAI::UpdateEscortAI().