TrinityCore
eye_of_eternity.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_EYE_OF_ETERNITY_H
19#define DEF_EYE_OF_ETERNITY_H
20
21#include "CreatureAIImpl.h"
22
23#define EoEScriptName "instance_eye_of_eternity"
24#define DataHeader "EOE"
25
27{
30
34};
35
37{
45};
46
48{
49 NPC_MALYGOS = 28859,
60 NPC_SURGE_OF_POWER = 30334
61};
62
64{
73};
74
76{
78};
79
81{
82 SPELL_VORTEX_4 = 55853, // damage | used to enter to the vehicle
83 SPELL_VORTEX_5 = 56263, // damage | used to enter to the vehicle
86 SPELL_IRIS_OPENED = 61012, // visual when starting encounter
88};
89
90template <class AI, class T>
91inline AI* GetEyeOfEternityAI(T* obj)
92{
93 return GetInstanceAI<AI>(obj, EoEScriptName);
94}
95
96#define RegisterEyeOfEternityCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetEyeOfEternityAI)
97
98#endif
EOEInstanceData
@ DATA_VORTEX_HANDLING
@ DATA_RESPAWN_IRIS
@ MAX_ENCOUNTER
@ DATA_POWER_SPARKS_HANDLING
@ DATA_MALYGOS_EVENT
EOEInstanceGameObjects
@ GO_FOCUSING_IRIS_25
@ GO_NEXUS_RAID_PLATFORM
@ GO_HEART_OF_MAGIC_10
@ GO_HEART_OF_MAGIC_25
@ GO_ALEXSTRASZA_S_GIFT_10
@ GO_FOCUSING_IRIS_10
@ GO_EXIT_PORTAL
@ GO_ALEXSTRASZA_S_GIFT_25
EOEInstanceEvents
@ EVENT_FOCUSING_IRIS
EOEInstanceNpcs
@ NPC_MALYGOS
@ NPC_PORTAL_TRIGGER
@ NPC_POWER_SPARK
@ NPC_ALEXSTRASZAS_GIFT
@ NPC_HOVER_DISK_CASTER
@ NPC_ARCANE_OVERLOAD
@ NPC_VORTEX_TRIGGER
@ NPC_ALEXSTRASZA
@ NPC_ALEXSTRASZA_BUNNY
@ NPC_HOVER_DISK_MELEE
@ NPC_SURGE_OF_POWER
@ NPC_WYRMREST_SKYTALON
EOEInstanceSpells
@ SPELL_RIDE_RED_DRAGON_TRIGGERED
@ SPELL_PORTAL_OPENED
@ SPELL_VORTEX_5
@ SPELL_IRIS_OPENED
@ SPELL_VORTEX_4
@ SPELL_SUMMOM_RED_DRAGON_BUDDY
EOEInstanceData64
@ DATA_HEART_OF_MAGIC_GUID
@ DATA_TRIGGER
@ DATA_MALYGOS
@ DATA_ALEXSTRASZA_BUNNY_GUID
@ DATA_FOCUSING_IRIS_GUID
@ DATA_PLATFORM
@ DATA_GIFT_BOX_BUNNY_GUID
#define EoEScriptName
AI * GetEyeOfEternityAI(T *obj)