TrinityCore
blackrock_spire.h
Go to the documentation of this file.
1/*
2 * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#ifndef DEF_BLACKROCK_SPIRE_H
19#define DEF_BLACKROCK_SPIRE_H
20
21#include "CreatureAIImpl.h"
22
24
25#define BRSScriptName "instance_blackrock_spire"
26#define DataHeader "BRSv1"
27
29{
45 // Extra
56};
57
59{
67 NPC_HALYCON = 10220,
71 NPC_GYTH = 10339,
80};
81
83{
90};
91
93{
94 GO_WHELP_SPAWNER = 175622, // trap spawned by go id 175124
95 // Doors
96 GO_EMBERSEER_IN = 175244, // First door to Pyroguard Emberseer
97 GO_DOORS = 175705, // Second door to Pyroguard Emberseer
98 GO_EMBERSEER_OUT = 175153, // Door after Pyroguard Emberseer event
104 // Runes in dragonspire hall
112 // Runes in emberseers room
120 // For Gyth event
125
126template <class AI, class T>
127inline AI* GetBlackrockSpireAI(T* obj)
128{
129 return GetInstanceAI<AI>(obj, BRSScriptName);
130}
131
132#define RegisterBlackrockSpireCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetBlackrockSpireAI)
133
134#endif
uint32_t uint32
Definition: Define.h:142
BRSAdditionalData
@ SPELL_SUMMON_ROOKERY_WHELP
@ AREATRIGGER
@ AREATRIGGER_DRAGONSPIRE_HALL
@ AREATRIGGER_BLACKROCK_STADIUM
@ EVENT_PYROGUARD_EMBERSEER
@ EVENT_UROK_DOOMHOWL
uint32 const EncounterCount
BRSGameObjectsIds
@ GO_HALL_RUNE_4
@ GO_HALL_RUNE_6
@ GO_GYTH_ENTRY_DOOR
@ GO_HALL_RUNE_1
@ GO_EMBERSEER_RUNE_3
@ GO_PORTCULLIS_TOBOSSROOMS
@ GO_EMBERSEER_RUNE_7
@ GO_EMBERSEER_IN
@ GO_EMBERSEER_RUNE_4
@ GO_EMBERSEER_OUT
@ GO_HALL_RUNE_7
@ GO_EMBERSEER_RUNE_2
@ GO_GYTH_EXIT_DOOR
@ GO_HALL_RUNE_3
@ GO_DRAKKISATH_DOOR_2
@ GO_GYTH_COMBAT_DOOR
@ GO_DOORS
@ GO_PORTCULLIS_ACTIVE
@ GO_EMBERSEER_RUNE_1
@ GO_HALL_RUNE_5
@ GO_DRAKKISATH_DOOR_1
@ GO_EMBERSEER_RUNE_5
@ GO_WHELP_SPAWNER
@ GO_HALL_RUNE_2
@ GO_DR_PORTCULLIS
@ GO_EMBERSEER_RUNE_6
BRSCreaturesIds
@ NPC_MOTHER_SMOLDERWEB
@ NPC_BLACKHAND_INCARCERATOR
@ NPC_GENERAL_DRAKKISATH
@ NPC_BLACKHAND_SUMMONER
@ NPC_HALYCON
@ NPC_SHADOW_HUNTER_VOSHGAJIN
@ NPC_SCARSHIELD_INFILTRATOR
@ NPC_WARCHIEF_REND_BLACKHAND
@ NPC_OVERLORD_WYRMTHALAK
@ NPC_QUARTERMASTER_ZIGRIS
@ NPC_UROK_DOOMHOWL
@ NPC_HIGHLORD_OMOKK
@ NPC_GIZRUL_THE_SLAVENER
@ NPC_BLACKHAND_VETERAN
@ NPC_THE_BEAST
@ NPC_GYTH
@ NPC_PYROGAURD_EMBERSEER
@ NPC_BLACKHAND_DREADWEAVER
@ NPC_LORD_VICTOR_NEFARIUS
@ NPC_WARMASTER_VOONE
BRSDataTypes
@ DATA_THE_BEAST
@ DATA_HALL_RUNE_3
@ DATA_HALL_RUNE_1
@ DATA_HIGHLORD_OMOKK
@ DATA_HALYCON
@ DATA_BLACKHAND_INCARCERATOR
@ DATA_PYROGAURD_EMBERSEER
@ DATA_WARMASTER_VOONE
@ DATA_QUARTERMASTER_ZIGRIS
@ DATA_HALL_RUNE_2
@ DATA_DRAGONSPIRE_ROOM
@ DATA_GYTH
@ DATA_HALL_RUNE_7
@ DATA_SCARSHIELD_INFILTRATOR
@ DATA_GIZRUL_THE_SLAVENER
@ DATA_WARCHIEF_REND_BLACKHAND
@ DATA_GENERAL_DRAKKISATH
@ DATA_SHADOW_HUNTER_VOSHGAJIN
@ DATA_HALL_RUNE_6
@ DATA_LORD_VALTHALAK
@ DATA_HALL_RUNE_5
@ DATA_OVERLORD_WYRMTHALAK
@ DATA_UROK_DOOMHOWL
@ DATA_MOTHER_SMOLDERWEB
@ DATA_HALL_RUNE_4
#define BRSScriptName
AI * GetBlackrockSpireAI(T *obj)