TrinityCore
Loading...
Searching...
No Matches
the_black_morass.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_THEBLACKMORASS_H
19#define DEF_THEBLACKMORASS_H
20
21#include "CreatureAIImpl.h"
22
23#define TBMScriptName "instance_the_black_morass"
24#define DataHeader "TBM"
25
26uint32 constexpr EncounterCount = 3;
27
41
48
59
85
87{
91 ACTION_SHIELD_0 = 1560803,
92 ACTION_EPILOGUE = 1560804
93};
94
103
104template <class AI, class T>
105inline AI* GetBlackMorassAI(T* obj)
106{
107 return GetInstanceAI<AI>(obj, TBMScriptName);
108}
109
110#define RegisterBlackMorassCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetBlackMorassAI)
111
112#endif
uint32_t uint32
Definition Define.h:154
TBMWorldStateIds
@ WORLD_STATE_BM_SHIELD
@ WORLD_STATE_BM_RIFT
@ WORLD_STATE_BM
TBMActionIds
@ ACTION_SHIELD_25
@ ACTION_EPILOGUE
@ ACTION_SHIELD_0
@ ACTION_SHIELD_75
@ ACTION_SHIELD_50
TBMCreatureIds
@ NPC_AEONUS
@ NPC_INFINITE_EXECUTIONER
@ NPC_TIME_KEEPER
@ NPC_INFINITE_VANQUISHER_ALT
@ NPC_INFINITE_WHELP
@ NPC_INFINITE_VANQUISHER
@ NPC_INFINITE_TIMEREAVER
@ NPC_INFINITE_CRONOMANCER
@ NPC_TIME_RIFT
@ NPC_SAAT
@ NPC_RIFT_LORD_ALT
@ NPC_INFINITE_CHRONO_LORD
@ NPC_RIFT_KEEPER
@ NPC_INFINITE_ASSASIN_ALT
@ NPC_MEDIVH
@ NPC_INFINITE_ASSASIN
@ NPC_RIFT_LORD
@ NPC_INFINITE_CRONOMANCER_ALT
@ NPC_TEMPORUS
@ NPC_RIFT_KEEPER_ALT
@ NPC_CRONO_LORD_DEJA
@ NPC_INFINITE_EXECUTIONER_ALT
TBMDataTypes
@ DATA_MEDIVH
@ DATA_TEMPORUS
@ DATA_RIFT
@ DATA_SAAT
@ DATA_EVENT
@ DATA_RIFT_COUNT
@ DATA_SHIELD_PCT
@ DATA_DEJA
@ DATA_AEONUS
#define TBMScriptName
AI * GetBlackMorassAI(T *obj)
TBMSpellIds
@ SPELL_THE_MASTERS_TOUCH_COMPLETE
@ SPELL_SUMMON_TIME_RIFT_EFFECT_1
@ SPELL_SUMMON_TIME_RIFT_EFFECT_2
@ SPELL_SUMMON_TIME_RIFT_EFFECT_4
@ SPELL_THE_BLACK_MORASS_COMPLETE
@ SPELL_SUMMON_TIME_RIFT_EFFECT_3
TBMEventIds
@ EVENT_SUMMON_TIME_RIFT_3
@ EVENT_SUMMON_TIME_RIFT_1
@ EVENT_SUMMON_TIME_RIFT_2
@ EVENT_SUMMON_PORTAL
@ EVENT_SUMMON_TIME_RIFT_4
uint32 constexpr EncounterCount