TrinityCore
blood_furnace.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 BLOOD_FURNACE_H_
19#define BLOOD_FURNACE_H_
20
21#include "CreatureAIImpl.h"
22
23#define BFScriptName "instance_blood_furnace"
24#define DataHeader "BF"
25
27
29{
30 // Encounter States/Boss GUIDs
34
35 // Additional Data
46};
47
49{
51 NPC_BROGGOK = 17380,
57};
58
60{
61 GO_PRISON_DOOR_01 = 181766, // Final Exit Door
62 GO_PRISON_DOOR_02 = 181811, // The Maker Front Door
63 GO_PRISON_DOOR_03 = 181812, // The Maker Rear Door
64 GO_PRISON_DOOR_04 = 181819, // Broggok Rear Door
65 GO_PRISON_DOOR_05 = 181822, // Broggok Front Door
66 GO_SUMMON_DOOR = 181823, // Kelidan Exit Door
67
68 GO_PRISON_CELL_DOOR_1 = 181813, // The Maker Prison Cell front right
69 GO_PRISON_CELL_DOOR_2 = 181814, // The Maker Prison Cell back right
70 GO_PRISON_CELL_DOOR_3 = 181816, // The Maker Prison Cell front left
71 GO_PRISON_CELL_DOOR_4 = 181815, // The Maker Prison Cell back left
72 GO_PRISON_CELL_DOOR_5 = 181821, // Broggok Prison Cell front right
73 GO_PRISON_CELL_DOOR_6 = 181818, // Broggok Prison Cell back right
74 GO_PRISON_CELL_DOOR_7 = 181820, // Broggok Prison Cell front left
75 GO_PRISON_CELL_DOOR_8 = 181817, // Broggok Prison Cell back left
76
77 GO_BROGGOK_LEVER = 181982
78};
79
81{
85};
86
87template <class AI, class T>
88inline AI* GetBloodFurnaceAI(T* obj)
89{
90 return GetInstanceAI<AI>(obj, BFScriptName);
91}
92
93#define RegisterBloodFurnaceCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetBloodFurnaceAI)
94
95#endif // BLOOD_FURNACE_H_
uint32_t uint32
Definition: Define.h:142
uint32 const EncounterCount
Definition: blood_furnace.h:26
AI * GetBloodFurnaceAI(T *obj)
Definition: blood_furnace.h:88
BFGameObjectIds
Definition: blood_furnace.h:60
@ GO_PRISON_CELL_DOOR_5
Definition: blood_furnace.h:72
@ GO_PRISON_CELL_DOOR_8
Definition: blood_furnace.h:75
@ GO_PRISON_DOOR_05
Definition: blood_furnace.h:65
@ GO_PRISON_CELL_DOOR_1
Definition: blood_furnace.h:68
@ GO_PRISON_CELL_DOOR_2
Definition: blood_furnace.h:69
@ GO_PRISON_DOOR_03
Definition: blood_furnace.h:63
@ GO_SUMMON_DOOR
Definition: blood_furnace.h:66
@ GO_PRISON_CELL_DOOR_3
Definition: blood_furnace.h:70
@ GO_PRISON_CELL_DOOR_7
Definition: blood_furnace.h:74
@ GO_PRISON_CELL_DOOR_4
Definition: blood_furnace.h:71
@ GO_PRISON_CELL_DOOR_6
Definition: blood_furnace.h:73
@ GO_PRISON_DOOR_01
Definition: blood_furnace.h:61
@ GO_PRISON_DOOR_04
Definition: blood_furnace.h:64
@ GO_PRISON_DOOR_02
Definition: blood_furnace.h:62
@ GO_BROGGOK_LEVER
Definition: blood_furnace.h:77
BFCreatureIds
Definition: blood_furnace.h:49
@ NPC_PRISONER1
Definition: blood_furnace.h:53
@ NPC_BROGGOK
Definition: blood_furnace.h:51
@ NPC_INCOMBAT_TRIGGER
Definition: blood_furnace.h:56
@ NPC_KELIDAN_THE_BREAKER
Definition: blood_furnace.h:52
@ NPC_PRISONER2
Definition: blood_furnace.h:54
@ NPC_THE_MAKER
Definition: blood_furnace.h:50
@ NPC_BROGGOK_POISON_CLOUD
Definition: blood_furnace.h:55
#define BFScriptName
Definition: blood_furnace.h:23
BFDataTypes
Definition: blood_furnace.h:29
@ DATA_BROGGOK_LEVER
Definition: blood_furnace.h:45
@ DATA_THE_MAKER
Definition: blood_furnace.h:31
@ DATA_PRISON_CELL2
Definition: blood_furnace.h:38
@ DATA_PRISON_CELL1
Definition: blood_furnace.h:37
@ DATA_PRISON_CELL3
Definition: blood_furnace.h:39
@ DATA_PRISON_CELL7
Definition: blood_furnace.h:43
@ DATA_PRISON_CELL5
Definition: blood_furnace.h:41
@ DATA_BROGGOK
Definition: blood_furnace.h:32
@ DATA_KELIDAN_THE_BREAKER
Definition: blood_furnace.h:33
@ DATA_PRISON_CELL6
Definition: blood_furnace.h:42
@ DATA_PRISON_CELL8
Definition: blood_furnace.h:44
@ DATA_PRISON_CELL4
Definition: blood_furnace.h:40
@ DATA_DOOR_4
Definition: blood_furnace.h:36
BFActionIds
Definition: blood_furnace.h:81
@ ACTION_PREPARE_BROGGOK
Definition: blood_furnace.h:84
@ ACTION_ACTIVATE_BROGGOK
Definition: blood_furnace.h:82
@ ACTION_RESET_BROGGOK
Definition: blood_furnace.h:83