AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
obsidian_sanctum.h File Reference
#include "CreatureAIImpl.h"

Go to the source code of this file.

Macros

#define DataHeader   "OS"
 
#define ObsidianSanctumScriptName   "instance_obsidian_sanctum"
 

Enumerations

enum  Data : uint32 {
  TYPE_GELIHAST = 0 ,
  TYPE_FIRE1 = 1 ,
  TYPE_FIRE2 = 2 ,
  TYPE_FIRE3 = 3 ,
  TYPE_FIRE4 = 4 ,
  TYPE_AKU_MAI_EVENT = 5 ,
  TYPE_AKU_MAI = 6 ,
  MAX_ENCOUNTERS = 7 ,
  DATA_ARTHAS_EVENT ,
  DATA_GUARDIANTIME_EVENT ,
  DATA_SHOW_CRATES ,
  DATA_CRATE_COUNT ,
  DATA_START_WAVES ,
  DATA_SHOW_INFINITE_TIMER ,
  DATA_ARTHAS_REPOSITION ,
  DATA_SARTHARION = 0 ,
  DATA_TENEBRON = 1 ,
  DATA_VESPERON = 2 ,
  DATA_SHADRON = 3 ,
  MAX_ENCOUNTERS = 4 ,
  DATA_ACHIEVEMENT_DRAGONS_COUNT = 30 ,
  DATA_VOLCANO_BLOWS = 31 ,
  NPC_SARTHARION = 28860 ,
  NPC_TENEBRON = 30452 ,
  NPC_SHADRON = 30451 ,
  NPC_VESPERON = 30449 ,
  NPC_FIRE_CYCLONE = 30648 ,
  GO_TWILIGHT_PORTAL = 193988 ,
  GO_NORMAL_PORTAL = 193989 ,
  SPELL_TWILIGHT_SHIFT = 57620 ,
  SPELL_TWILIGHT_TORMENT_SARTHARION = 58835 ,
  DATA_TROLLGORE = 0 ,
  DATA_NOVOS = 1 ,
  DATA_NOVOS_CRYSTALS = 2 ,
  DATA_DRED = 3 ,
  DATA_THARON_JA = 4 ,
  MAX_ENCOUNTERS = 5 ,
  DATA_BRONJAHM ,
  DATA_DEVOURER ,
  MAX_ENCOUNTER ,
  DATA_INTRO ,
  DATA_FALRIC ,
  DATA_MARWYN ,
  DATA_FROSTSWORN_GENERAL ,
  DATA_LK_INTRO ,
  DATA_LICH_KING ,
  DATA_BATTERED_HILT ,
  MAX_ENCOUNTER ,
  ACTION_SHOW_TRASH ,
  ACTION_SPIRITUAL_REFLECTIONS_COPY ,
  ACTION_SPIRITUAL_REFLECTIONS_ACTIVATE ,
  ACTION_SPIRITUAL_REFLECTIONS_HIDE ,
  ACTION_START_LK_FIGHT ,
  ACTION_STOP_LK_FIGHT ,
  ACTION_DELETE_ICE_WALL ,
  DATA_WAVE_NUMBER ,
  DATA_LK_BATTLE ,
  DATA_SLAD_RAN = 0 ,
  DATA_MOORABI = 1 ,
  DATA_DRAKKARI_COLOSSUS = 2 ,
  DATA_GAL_DARAH = 3 ,
  DATA_ECK_THE_FEROCIOUS_INIT = 4 ,
  DATA_ECK_THE_FEROCIOUS = 5 ,
  MAX_ENCOUNTERS = 6 ,
  DATA_IRIS_ACTIVATED ,
  DATA_ENCOUNTER_STATUS ,
  DATA_SET_IRIS_INACTIVE ,
  DATA_HIDE_IRIS_AND_PORTAL ,
  DATA_MALYGOS_GUID ,
  DATA_DRAKOS ,
  DATA_VAROS ,
  DATA_UROM ,
  DATA_EREGOS ,
  MAX_ENCOUNTER ,
  DATA_CC_COUNT ,
  DATA_AMBER_VOID ,
  DATA_EMERALD_VOID ,
  DATA_RUBY_VOID ,
  DATA_DCD_1 = 100 ,
  DATA_DCD_2 = 101 ,
  DATA_DCD_3 = 102 ,
  DATA_SVALA_SORROWGRAVE = 0 ,
  DATA_GORTOK_PALEHOOF = 1 ,
  DATA_SKADI_THE_RUTHLESS = 2 ,
  DATA_KING_YMIRON = 3 ,
  DATA_GRAUF = 4 ,
  DATA_NPC_FRENZIED_WORGEN = 10 ,
  DATA_NPC_RAVENOUS_FURBOLG = 11 ,
  DATA_NPC_MASSIVE_JORMUNGAR = 12 ,
  DATA_NPC_FEROCIOUS_RHINO = 13 ,
  YMIRON_DOOR = 20 ,
  STATIS_GENERATOR = 21 ,
  SKADI_HITS = 30 ,
  SKADI_IN_RANGE = 31 ,
  SKADI_DOOR = 32 ,
  MAX_ENCOUNTERS = 4 ,
  DATA_SVALA_ACHIEVEMENT = 50 ,
  DATA_SKADI_ACHIEVEMENT = 51 ,
  DATA_YMIRON_ACHIEVEMENT = 52 ,
  EVENT_ARCHAVON = 0 ,
  EVENT_EMALON = 1 ,
  EVENT_KORALON = 2 ,
  EVENT_TORAVON = 3 ,
  MAX_ENCOUNTER = 4 ,
  DATA_STONED = 5 ,
  DATA_ACTIVATE_DEFENSE_SYSTEM = 1 ,
  DATA_ENCOUNTER_STATUS ,
  DATA_START_INSTANCE ,
  DATA_ADD_TRASH_MOB ,
  DATA_DELETE_TRASH_MOB ,
  DATA_PORTAL_DEFEATED ,
  DATA_WAVE_COUNT ,
  DATA_PORTAL_LOCATION ,
  DATA_TELEPORTATION_PORTAL_GUID ,
  DATA_DOOR_SEAL_GUID ,
  DATA_FIRST_BOSS_NUMBER ,
  DATA_SECOND_BOSS_NUMBER ,
  DATA_RELEASE_BOSS ,
  DATA_DECRASE_DOOR_HEALTH ,
  DATA_BOSS_DIED ,
  DATA_FAILED ,
  DATA_EREKEM_GUID ,
  DATA_EREKEM_GUARD_1_GUID ,
  DATA_EREKEM_GUARD_2_GUID ,
  DATA_ICHORON_GUID ,
  DATA_ACHIEV ,
  DATA_HUNGARFEN = 0 ,
  DATA_GHAZAN = 1 ,
  DATA_MUSELEK = 2 ,
  DATA_BLACK_STALKER = 3 ,
  MAX_ENCOUNTERS = 4 ,
  SETDATA_DATA = 1 ,
  SETDATA_PEON_AGGRO = 1 ,
  SETDATA_PEON_DEATH = 2
}
 
enum  OSActions {
  ACTION_CLEAR_PORTAL = -1 ,
  ACTION_ADD_PORTAL = -2
}
 

Functions

template<class AI , class T >
AI * GetObsidianSanctumAI (T *obj)
 

Macro Definition Documentation

◆ DataHeader

#define DataHeader   "OS"

◆ ObsidianSanctumScriptName

#define ObsidianSanctumScriptName   "instance_obsidian_sanctum"

Enumeration Type Documentation

◆ Data

enum Data : uint32
Enumerator
TYPE_GELIHAST 
TYPE_FIRE1 
TYPE_FIRE2 
TYPE_FIRE3 
TYPE_FIRE4 
TYPE_AKU_MAI_EVENT 
TYPE_AKU_MAI 
MAX_ENCOUNTERS 
DATA_ARTHAS_EVENT 
DATA_GUARDIANTIME_EVENT 
DATA_SHOW_CRATES 
DATA_CRATE_COUNT 
DATA_START_WAVES 
DATA_SHOW_INFINITE_TIMER 
DATA_ARTHAS_REPOSITION 
DATA_SARTHARION 
DATA_TENEBRON 
DATA_VESPERON 
DATA_SHADRON 
MAX_ENCOUNTERS 
DATA_ACHIEVEMENT_DRAGONS_COUNT 
DATA_VOLCANO_BLOWS 
NPC_SARTHARION 
NPC_TENEBRON 
NPC_SHADRON 
NPC_VESPERON 
NPC_FIRE_CYCLONE 
GO_TWILIGHT_PORTAL 
GO_NORMAL_PORTAL 
SPELL_TWILIGHT_SHIFT 
SPELL_TWILIGHT_TORMENT_SARTHARION 
DATA_TROLLGORE 
DATA_NOVOS 
DATA_NOVOS_CRYSTALS 
DATA_DRED 
DATA_THARON_JA 
MAX_ENCOUNTERS 
DATA_BRONJAHM 
DATA_DEVOURER 
MAX_ENCOUNTER 
DATA_INTRO 
DATA_FALRIC 
DATA_MARWYN 
DATA_FROSTSWORN_GENERAL 
DATA_LK_INTRO 
DATA_LICH_KING 
DATA_BATTERED_HILT 
MAX_ENCOUNTER 
ACTION_SHOW_TRASH 
ACTION_SPIRITUAL_REFLECTIONS_COPY 
ACTION_SPIRITUAL_REFLECTIONS_ACTIVATE 
ACTION_SPIRITUAL_REFLECTIONS_HIDE 
ACTION_START_LK_FIGHT 
ACTION_STOP_LK_FIGHT 
ACTION_DELETE_ICE_WALL 
DATA_WAVE_NUMBER 
DATA_LK_BATTLE 
DATA_SLAD_RAN 
DATA_MOORABI 
DATA_DRAKKARI_COLOSSUS 
DATA_GAL_DARAH 
DATA_ECK_THE_FEROCIOUS_INIT 
DATA_ECK_THE_FEROCIOUS 
MAX_ENCOUNTERS 
DATA_IRIS_ACTIVATED 
DATA_ENCOUNTER_STATUS 
DATA_SET_IRIS_INACTIVE 
DATA_HIDE_IRIS_AND_PORTAL 
DATA_MALYGOS_GUID 
DATA_DRAKOS 
DATA_VAROS 
DATA_UROM 
DATA_EREGOS 
MAX_ENCOUNTER 
DATA_CC_COUNT 
DATA_AMBER_VOID 
DATA_EMERALD_VOID 
DATA_RUBY_VOID 
DATA_DCD_1 
DATA_DCD_2 
DATA_DCD_3 
DATA_SVALA_SORROWGRAVE 
DATA_GORTOK_PALEHOOF 
DATA_SKADI_THE_RUTHLESS 
DATA_KING_YMIRON 
DATA_GRAUF 
DATA_NPC_FRENZIED_WORGEN 
DATA_NPC_RAVENOUS_FURBOLG 
DATA_NPC_MASSIVE_JORMUNGAR 
DATA_NPC_FEROCIOUS_RHINO 
YMIRON_DOOR 
STATIS_GENERATOR 
SKADI_HITS 
SKADI_IN_RANGE 
SKADI_DOOR 
MAX_ENCOUNTERS 
DATA_SVALA_ACHIEVEMENT 
DATA_SKADI_ACHIEVEMENT 
DATA_YMIRON_ACHIEVEMENT 
EVENT_ARCHAVON 
EVENT_EMALON 
EVENT_KORALON 
EVENT_TORAVON 
MAX_ENCOUNTER 
DATA_STONED 
DATA_ACTIVATE_DEFENSE_SYSTEM 
DATA_ENCOUNTER_STATUS 
DATA_START_INSTANCE 
DATA_ADD_TRASH_MOB 
DATA_DELETE_TRASH_MOB 
DATA_PORTAL_DEFEATED 
DATA_WAVE_COUNT 
DATA_PORTAL_LOCATION 
DATA_TELEPORTATION_PORTAL_GUID 
DATA_DOOR_SEAL_GUID 
DATA_FIRST_BOSS_NUMBER 
DATA_SECOND_BOSS_NUMBER 
DATA_RELEASE_BOSS 
DATA_DECRASE_DOOR_HEALTH 
DATA_BOSS_DIED 
DATA_FAILED 
DATA_EREKEM_GUID 
DATA_EREKEM_GUARD_1_GUID 
DATA_EREKEM_GUARD_2_GUID 
DATA_ICHORON_GUID 
DATA_ACHIEV 
DATA_HUNGARFEN 
DATA_GHAZAN 
DATA_MUSELEK 
DATA_BLACK_STALKER 
MAX_ENCOUNTERS 
SETDATA_DATA 
SETDATA_PEON_AGGRO 
SETDATA_PEON_DEATH 
28{
29 // Encounters
31 DATA_TENEBRON = 1,
32 DATA_VESPERON = 2,
33 DATA_SHADRON = 3,
35
36 // Achievements
39
40 // NPCs
41 NPC_SARTHARION = 28860,
42 NPC_TENEBRON = 30452,
43 NPC_SHADRON = 30451,
44 NPC_VESPERON = 30449,
45 NPC_FIRE_CYCLONE = 30648,
46
47 // GOs
48 GO_TWILIGHT_PORTAL = 193988,
49 GO_NORMAL_PORTAL = 193989,
50
51 // Spells
54};
@ GO_NORMAL_PORTAL
Definition: obsidian_sanctum.h:49
@ DATA_VESPERON
Definition: obsidian_sanctum.h:32
@ DATA_TENEBRON
Definition: obsidian_sanctum.h:31
@ DATA_ACHIEVEMENT_DRAGONS_COUNT
Definition: obsidian_sanctum.h:37
@ NPC_VESPERON
Definition: obsidian_sanctum.h:44
@ GO_TWILIGHT_PORTAL
Definition: obsidian_sanctum.h:48
@ DATA_SARTHARION
Definition: obsidian_sanctum.h:30
@ SPELL_TWILIGHT_SHIFT
Definition: obsidian_sanctum.h:52
@ NPC_SHADRON
Definition: obsidian_sanctum.h:43
@ DATA_VOLCANO_BLOWS
Definition: obsidian_sanctum.h:38
@ NPC_TENEBRON
Definition: obsidian_sanctum.h:42
@ MAX_ENCOUNTERS
Definition: obsidian_sanctum.h:34
@ DATA_SHADRON
Definition: obsidian_sanctum.h:33
@ NPC_SARTHARION
Definition: obsidian_sanctum.h:41
@ NPC_FIRE_CYCLONE
Definition: obsidian_sanctum.h:45
@ SPELL_TWILIGHT_TORMENT_SARTHARION
Definition: obsidian_sanctum.h:53

◆ OSActions

enum OSActions
Enumerator
ACTION_CLEAR_PORTAL 
ACTION_ADD_PORTAL 
57{
58 // Portal
61};
@ ACTION_ADD_PORTAL
Definition: obsidian_sanctum.h:60
@ ACTION_CLEAR_PORTAL
Definition: obsidian_sanctum.h:59

Function Documentation

◆ GetObsidianSanctumAI()

template<class AI , class T >
AI * GetObsidianSanctumAI ( T *  obj)
inline
65{
66 return GetInstanceAI<AI>(obj, ObsidianSanctumScriptName);
67}
#define ObsidianSanctumScriptName
Definition: obsidian_sanctum.h:25

References ObsidianSanctumScriptName.