TrinityCore
Loading...
Searching...
No Matches
ruby_sanctum.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 RUBY_SANCTUM_H_
19#define RUBY_SANCTUM_H_
20
21#include "CreatureAIImpl.h"
22
23#define RSScriptName "instance_ruby_sanctum"
24#define DataHeader "RS"
25
27
55
63
65{
66 // Baltharus the Warborn
70
71 // General Zarithrian
75
76 // Saviana Ragefire
78
79 // Halion
80 NPC_HALION = 39863,
99 NPC_COMBAT_STALKER = 40151, // Seen in sniffs but not used, so no wonder.
100
101 // Xerestrasza
102 NPC_XERESTRASZA = 40429
104
106{
107 GO_HALION_PORTAL_1 = 202794, // Unknown spell 75074, should be somehow be linked to 74807
108 GO_HALION_PORTAL_2 = 202795, // Also spell 75074
109 GO_HALION_PORTAL_EXIT = 202796, // Leave Twilight Realm (74812)
117 GO_BURNING_TREE_4 = 203037
119
126
128{
129 SPELL_BERSERK = 26662
131
132template <class AI, class T>
133inline AI* GetRubySanctumAI(T* obj)
134{
135 return GetInstanceAI<AI>(obj, RSScriptName);
136}
137
138#define RegisterRubySanctumCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetRubySanctumAI)
139
140#endif // RUBY_SANCTUM_H_
uint32_t uint32
Definition Define.h:154
uint32 const EncounterCount
RSInstanceSpell
@ SPELL_BERSERK
RSDataTypes
@ DATA_HALION_CONTROLLER
@ DATA_TWILIGHT_FLAME_RING
@ DATA_CRYSTAL_CHANNEL_TARGET
@ DATA_BALTHARUS_SHARED_HEALTH
@ DATA_BURNING_TREE_1
@ DATA_GENERAL_ZARITHRIAN
@ DATA_BURNING_TREE_2
@ DATA_SAVIANA_RAGEFIRE
@ DATA_BURNING_TREE_3
@ DATA_FLAME_WALLS
@ DATA_BALTHARUS_CLONE
@ DATA_ZARITHRIAN_SPAWN_STALKER_2
@ DATA_BURNING_TREE_4
@ DATA_ZARITHRIAN_SPAWN_STALKER_1
@ DATA_XERESTRASZA
@ DATA_ORB_CARRIER
@ DATA_TWILIGHT_HALION
@ DATA_FLAME_RING
@ DATA_HALION
@ DATA_ORB_ROTATION_FOCUS
@ DATA_BALTHARUS_THE_WARBORN
#define RSScriptName
RSWorldStates
@ WORLDSTATE_CORPOREALITY_TOGGLE
@ WORLDSTATE_CORPOREALITY_MATERIAL
@ WORLDSTATE_CORPOREALITY_TWILIGHT
RSGameObjectsIds
@ GO_HALION_PORTAL_1
@ GO_FIRE_FIELD
@ GO_BURNING_TREE_2
@ GO_TWILIGHT_FLAME_RING
@ GO_FLAME_RING
@ GO_HALION_PORTAL_EXIT
@ GO_BURNING_TREE_1
@ GO_BURNING_TREE_3
@ GO_HALION_PORTAL_2
@ GO_BURNING_TREE_4
@ GO_FLAME_WALLS
RSCreaturesIds
@ NPC_HALION_CONTROLLER
@ NPC_METEOR_STRIKE_EAST
@ NPC_SAVIANA_RAGEFIRE
@ NPC_SHADOW_ORB_N
@ NPC_BALTHARUS_THE_WARBORN_CLONE
@ NPC_METEOR_STRIKE_NORTH
@ NPC_ORB_CARRIER
@ NPC_HALION
@ NPC_BALTHARUS_THE_WARBORN
@ NPC_BALTHARUS_TARGET
@ NPC_ORB_ROTATION_FOCUS
@ NPC_METEOR_STRIKE_SOUTH
@ NPC_METEOR_STRIKE_WEST
@ NPC_TWILIGHT_HALION
@ NPC_LIVING_INFERNO
@ NPC_SHADOW_ORB_S
@ NPC_SHADOW_ORB_E
@ NPC_COMBAT_STALKER
@ NPC_CONSUMPTION
@ NPC_SHADOW_ORB_W
@ NPC_ONYX_FLAMECALLER
@ NPC_METEOR_STRIKE_FLAME
@ NPC_XERESTRASZA
@ NPC_GENERAL_ZARITHRIAN
@ NPC_LIVING_EMBER
@ NPC_METEOR_STRIKE_MARK
@ NPC_COMBUSTION
@ NPC_ZARITHRIAN_SPAWN_STALKER
RSSharedActions
@ ACTION_INTRO_HALION_2
@ ACTION_INTRO_HALION
@ ACTION_INTRO_BALTHARUS
@ ACTION_BALTHARUS_DEATH
AI * GetRubySanctumAI(T *obj)