TrinityCore
forge_of_souls.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 FORGE_OF_SOULS_H_
19#define FORGE_OF_SOULS_H_
20
21#include "CreatureAIImpl.h"
22
23#define FoSScriptName "instance_forge_of_souls"
24#define DataHeader "FOS"
25
27
29{
30 // Encounter states and GUIDs
33
34 // Additional Data
36};
37
39{
40 NPC_BRONJAHM = 36497,
41 NPC_DEVOURER = 36502,
43
48 NPC_KALIRA = 37583,
49 NPC_ELANDRA = 37774,
50 NPC_LORALEN = 37779,
51 NPC_KORELN = 37582,
58};
59
61{
63};
64
65template <class AI, class T>
66inline AI* GetForgeOfSoulsAI(T* obj)
67{
68 return GetInstanceAI<AI>(obj, FoSScriptName);
69}
70
71#define RegisterForgeOfSoulsCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetForgeOfSoulsAI)
72
73#endif // FORGE_OF_SOULS_H_
uint32_t uint32
Definition: Define.h:142
uint32 const EncounterCount
FOSWorldStates
@ WORLD_STATE_THREE_FACED_FAILED
#define FoSScriptName
FOSData
@ DATA_TEAM_IN_INSTANCE
@ DATA_DEVOURER_OF_SOULS
@ DATA_BRONJAHM
FOSCreatures
@ NPC_JAINA_PART1
@ NPC_DEVOURER
@ NPC_CHAMPION_1_ALLIANCE
@ NPC_JAINA_PART2
@ NPC_KALIRA
@ NPC_CRUCIBLE_OF_SOULS
@ NPC_KORELN
@ NPC_CHAMPION_1_HORDE
@ NPC_CHAMPION_2_ALLIANCE
@ NPC_BRONJAHM
@ NPC_SYLVANAS_PART2
@ NPC_LORALEN
@ NPC_CORRUPTED_SOUL_FRAGMENT
@ NPC_ELANDRA
@ NPC_CHAMPION_3_HORDE
@ NPC_CHAMPION_2_HORDE
@ NPC_SYLVANAS_PART1
AI * GetForgeOfSoulsAI(T *obj)