TrinityCore
Loading...
Searching...
No Matches
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
47
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
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:154
uint32 const EncounterCount
AI * GetBloodFurnaceAI(T *obj)
BFGameObjectIds
@ GO_PRISON_CELL_DOOR_5
@ GO_PRISON_CELL_DOOR_8
@ GO_PRISON_DOOR_05
@ GO_PRISON_CELL_DOOR_1
@ GO_PRISON_CELL_DOOR_2
@ GO_PRISON_DOOR_03
@ GO_SUMMON_DOOR
@ GO_PRISON_CELL_DOOR_3
@ GO_PRISON_CELL_DOOR_7
@ GO_PRISON_CELL_DOOR_4
@ GO_PRISON_CELL_DOOR_6
@ GO_PRISON_DOOR_01
@ GO_PRISON_DOOR_04
@ GO_PRISON_DOOR_02
@ GO_BROGGOK_LEVER
BFCreatureIds
@ NPC_PRISONER1
@ NPC_BROGGOK
@ NPC_INCOMBAT_TRIGGER
@ NPC_KELIDAN_THE_BREAKER
@ NPC_PRISONER2
@ NPC_THE_MAKER
@ NPC_BROGGOK_POISON_CLOUD
#define BFScriptName
BFDataTypes
@ DATA_BROGGOK_LEVER
@ DATA_THE_MAKER
@ DATA_PRISON_CELL2
@ DATA_PRISON_CELL1
@ DATA_PRISON_CELL3
@ DATA_PRISON_CELL7
@ DATA_PRISON_CELL5
@ DATA_BROGGOK
@ DATA_KELIDAN_THE_BREAKER
@ DATA_PRISON_CELL6
@ DATA_PRISON_CELL8
@ DATA_PRISON_CELL4
@ DATA_DOOR_4
BFActionIds
@ ACTION_PREPARE_BROGGOK
@ ACTION_ACTIVATE_BROGGOK
@ ACTION_RESET_BROGGOK