AzeorthCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
molten_core.h File Reference
#include "CreatureAIImpl.h"
#include "Object.h"

Go to the source code of this file.

Enumerations

enum  MCData {
  DATA_LUCIFRON = 0 ,
  DATA_MAGMADAR = 1 ,
  DATA_GEHENNAS = 2 ,
  DATA_GARR = 3 ,
  DATA_SHAZZRAH = 4 ,
  DATA_GEDDON = 5 ,
  DATA_SULFURON = 6 ,
  DATA_GOLEMAGG = 7 ,
  DATA_MAJORDOMO_EXECUTUS = 8 ,
  DATA_RAGNAROS = 9 ,
  DATA_LAVA_STEAM = 10 ,
  DATA_LAVA_SPLASH = 11
}
 
enum  MCActions {
  ACTION_START_RAGNAROS_INTRO = -1 ,
  ACTION_FINISH_RAGNAROS_INTRO = -2 ,
  ACTION_RESET_GOLEMAGG_ENCOUNTER = -3 ,
  ACTION_PREPARE_MAJORDOMO_RAGNA = -4
}
 
enum  MCCreatures {
  NPC_MAGMADAR = 11982 ,
  NPC_SHAZZRAH = 12264 ,
  NPC_BARON_GEDDON = 12056 ,
  NPC_RAGNAROS = 11502 ,
  NPC_FLAMEWAKER_HEALER = 11663 ,
  NPC_FLAMEWAKER_ELITE = 11664 ,
  NPC_CORE_HOUND = 11671 ,
  NPC_GARR = 12057 ,
  NPC_FIRESWORN = 12099 ,
  NPC_GEHENNAS = 12259 ,
  NPC_FLAMEWALKER = 11661 ,
  NPC_GOLEMAGG_THE_INCINERATOR = 11988 ,
  NPC_CORE_RAGER = 11672 ,
  NPC_LUCIFRON = 12118 ,
  NPC_FLAMEWALKER_PROTECTOR = 12119 ,
  NPC_SULFURON_HARBINGER = 12098 ,
  NPC_FLAMEWALKER_PRIEST = 11662 ,
  NPC_MAJORDOMO_EXECUTUS = 12018 ,
  NPC_FLAMEWALKER_HEALER = 11663 ,
  NPC_FLAMEWALKER_ELITE = 11664
}
 
enum  MCGameObjects {
  GO_CACHE_OF_THE_FIRELORD = 179703 ,
  GO_CIRCLE_SULFURON = 178187 ,
  GO_CIRCLE_GEDDON = 178188 ,
  GO_CIRCLE_SHAZZRAH = 178189 ,
  GO_CIRCLE_GOLEMAGG = 178190 ,
  GO_CIRCLE_GARR = 178191 ,
  GO_CIRCLE_MAGMADAR = 178192 ,
  GO_CIRCLE_GEHENNAS = 178193 ,
  GO_RUNE_KRESS = 176956 ,
  GO_RUNE_MOHN = 176957 ,
  GO_RUNE_BLAZ = 176955 ,
  GO_RUNE_MAZJ = 176953 ,
  GO_RUNE_ZETH = 176952 ,
  GO_RUNE_THERI = 176954 ,
  GO_RUNE_KORO = 176951 ,
  GO_LAVA_STEAM = 178107 ,
  GO_LAVA_SPLASH = 178108 ,
  GO_LAVA_BURST = 178088
}
 
enum  MCSpells { SPELL_CORE_RAGER_QUIET_SUICIDE = 3617 }
 

Functions

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

Variables

constexpr auto MCScriptName = "instance_molten_core"
 
constexpr uint32 MAX_ENCOUNTER = 10
 
Position const MajordomoRagnaros
 
Position const MajordomoSummonPos
 

Enumeration Type Documentation

◆ MCActions

enum MCActions
Enumerator
ACTION_START_RAGNAROS_INTRO 
ACTION_FINISH_RAGNAROS_INTRO 
ACTION_RESET_GOLEMAGG_ENCOUNTER 
ACTION_PREPARE_MAJORDOMO_RAGNA 
47{
50 ACTION_RESET_GOLEMAGG_ENCOUNTER = -3, // Used when ragers are pulled far away
52};
@ ACTION_RESET_GOLEMAGG_ENCOUNTER
Definition: molten_core.h:50
@ ACTION_FINISH_RAGNAROS_INTRO
Definition: molten_core.h:49
@ ACTION_START_RAGNAROS_INTRO
Definition: molten_core.h:48
@ ACTION_PREPARE_MAJORDOMO_RAGNA
Definition: molten_core.h:51

◆ MCCreatures

Enumerator
NPC_MAGMADAR 
NPC_SHAZZRAH 
NPC_BARON_GEDDON 
NPC_RAGNAROS 
NPC_FLAMEWAKER_HEALER 
NPC_FLAMEWAKER_ELITE 
NPC_CORE_HOUND 
NPC_GARR 
NPC_FIRESWORN 
NPC_GEHENNAS 
NPC_FLAMEWALKER 
NPC_GOLEMAGG_THE_INCINERATOR 
NPC_CORE_RAGER 
NPC_LUCIFRON 
NPC_FLAMEWALKER_PROTECTOR 
NPC_SULFURON_HARBINGER 
NPC_FLAMEWALKER_PRIEST 
NPC_MAJORDOMO_EXECUTUS 
NPC_FLAMEWALKER_HEALER 
NPC_FLAMEWALKER_ELITE 
55{
56 NPC_MAGMADAR = 11982,
57 NPC_SHAZZRAH = 12264,
58 NPC_BARON_GEDDON = 12056,
59 NPC_RAGNAROS = 11502,
62 NPC_CORE_HOUND = 11671,
63
64 // Garr
65 NPC_GARR = 12057,
66 NPC_FIRESWORN = 12099,
67
68 // Gehennas
69 NPC_GEHENNAS = 12259,
70 NPC_FLAMEWALKER = 11661,
71
72 // Golemagg
74 NPC_CORE_RAGER = 11672,
75
76 // Lucifron
77 NPC_LUCIFRON = 12118,
79
80 // Sulfuron
83
84 // Majordomo
88};
@ NPC_RAGNAROS
Definition: molten_core.h:59
@ NPC_SHAZZRAH
Definition: molten_core.h:57
@ NPC_FLAMEWALKER
Definition: molten_core.h:70
@ NPC_MAGMADAR
Definition: molten_core.h:56
@ NPC_FLAMEWAKER_ELITE
Definition: molten_core.h:61
@ NPC_MAJORDOMO_EXECUTUS
Definition: molten_core.h:85
@ NPC_FLAMEWAKER_HEALER
Definition: molten_core.h:60
@ NPC_FLAMEWALKER_PROTECTOR
Definition: molten_core.h:78
@ NPC_GARR
Definition: molten_core.h:65
@ NPC_GOLEMAGG_THE_INCINERATOR
Definition: molten_core.h:73
@ NPC_LUCIFRON
Definition: molten_core.h:77
@ NPC_CORE_HOUND
Definition: molten_core.h:62
@ NPC_CORE_RAGER
Definition: molten_core.h:74
@ NPC_FIRESWORN
Definition: molten_core.h:66
@ NPC_FLAMEWALKER_HEALER
Definition: molten_core.h:86
@ NPC_FLAMEWALKER_ELITE
Definition: molten_core.h:87
@ NPC_FLAMEWALKER_PRIEST
Definition: molten_core.h:82
@ NPC_SULFURON_HARBINGER
Definition: molten_core.h:81
@ NPC_BARON_GEDDON
Definition: molten_core.h:58
@ NPC_GEHENNAS
Definition: molten_core.h:69

◆ MCData

enum MCData
Enumerator
DATA_LUCIFRON 
DATA_MAGMADAR 
DATA_GEHENNAS 
DATA_GARR 
DATA_SHAZZRAH 
DATA_GEDDON 
DATA_SULFURON 
DATA_GOLEMAGG 
DATA_MAJORDOMO_EXECUTUS 
DATA_RAGNAROS 
DATA_LAVA_STEAM 
DATA_LAVA_SPLASH 
29{
30 DATA_LUCIFRON = 0,
31 DATA_MAGMADAR = 1,
32 DATA_GEHENNAS = 2,
33 DATA_GARR = 3,
34 DATA_SHAZZRAH = 4,
35 DATA_GEDDON = 5,
36 DATA_SULFURON = 6,
37 DATA_GOLEMAGG = 7,
39 DATA_RAGNAROS = 9,
40
41 // Other data
42 DATA_LAVA_STEAM = 10,
44};
@ DATA_MAJORDOMO_EXECUTUS
Definition: molten_core.h:38
@ DATA_GOLEMAGG
Definition: molten_core.h:37
@ DATA_GEHENNAS
Definition: molten_core.h:32
@ DATA_LAVA_SPLASH
Definition: molten_core.h:43
@ DATA_LAVA_STEAM
Definition: molten_core.h:42
@ DATA_RAGNAROS
Definition: molten_core.h:39
@ DATA_GEDDON
Definition: molten_core.h:35
@ DATA_MAGMADAR
Definition: molten_core.h:31
@ DATA_GARR
Definition: molten_core.h:33
@ DATA_LUCIFRON
Definition: molten_core.h:30
@ DATA_SULFURON
Definition: molten_core.h:36
@ DATA_SHAZZRAH
Definition: molten_core.h:34

◆ MCGameObjects

Enumerator
GO_CACHE_OF_THE_FIRELORD 
GO_CIRCLE_SULFURON 
GO_CIRCLE_GEDDON 
GO_CIRCLE_SHAZZRAH 
GO_CIRCLE_GOLEMAGG 
GO_CIRCLE_GARR 
GO_CIRCLE_MAGMADAR 
GO_CIRCLE_GEHENNAS 
GO_RUNE_KRESS 
GO_RUNE_MOHN 
GO_RUNE_BLAZ 
GO_RUNE_MAZJ 
GO_RUNE_ZETH 
GO_RUNE_THERI 
GO_RUNE_KORO 
GO_LAVA_STEAM 
GO_LAVA_SPLASH 
GO_LAVA_BURST 
91{
93 GO_CIRCLE_SULFURON = 178187,
94 GO_CIRCLE_GEDDON = 178188,
95 GO_CIRCLE_SHAZZRAH = 178189,
96 GO_CIRCLE_GOLEMAGG = 178190,
97 GO_CIRCLE_GARR = 178191,
98 GO_CIRCLE_MAGMADAR = 178192,
99 GO_CIRCLE_GEHENNAS = 178193,
100
101 GO_RUNE_KRESS = 176956, // Magmadar
102 GO_RUNE_MOHN = 176957, // Gehennas
103 GO_RUNE_BLAZ = 176955, // Garr
104 GO_RUNE_MAZJ = 176953, // Shazzrah
105 GO_RUNE_ZETH = 176952, // Geddon
106 GO_RUNE_THERI = 176954, // Golemagg
107 GO_RUNE_KORO = 176951, // Sulfuron
108
109 // Ragnaros event related
110 GO_LAVA_STEAM = 178107,
111 GO_LAVA_SPLASH = 178108,
112 GO_LAVA_BURST = 178088,
113};
@ GO_RUNE_ZETH
Definition: molten_core.h:105
@ GO_CIRCLE_GARR
Definition: molten_core.h:97
@ GO_LAVA_STEAM
Definition: molten_core.h:110
@ GO_LAVA_SPLASH
Definition: molten_core.h:111
@ GO_CIRCLE_GOLEMAGG
Definition: molten_core.h:96
@ GO_CIRCLE_SULFURON
Definition: molten_core.h:93
@ GO_RUNE_MAZJ
Definition: molten_core.h:104
@ GO_CACHE_OF_THE_FIRELORD
Definition: molten_core.h:92
@ GO_RUNE_KORO
Definition: molten_core.h:107
@ GO_CIRCLE_GEDDON
Definition: molten_core.h:94
@ GO_CIRCLE_SHAZZRAH
Definition: molten_core.h:95
@ GO_RUNE_BLAZ
Definition: molten_core.h:103
@ GO_RUNE_THERI
Definition: molten_core.h:106
@ GO_RUNE_MOHN
Definition: molten_core.h:102
@ GO_LAVA_BURST
Definition: molten_core.h:112
@ GO_CIRCLE_GEHENNAS
Definition: molten_core.h:99
@ GO_RUNE_KRESS
Definition: molten_core.h:101
@ GO_CIRCLE_MAGMADAR
Definition: molten_core.h:98

◆ MCSpells

enum MCSpells
Enumerator
SPELL_CORE_RAGER_QUIET_SUICIDE 
116{
117 SPELL_CORE_RAGER_QUIET_SUICIDE = 3617, // Server side
118};
@ SPELL_CORE_RAGER_QUIET_SUICIDE
Definition: molten_core.h:117

Function Documentation

◆ GetMoltenCoreAI()

template<class AI , class T >
AI * GetMoltenCoreAI ( T *  obj)
inline
125{
126 return GetInstanceAI<AI>(obj, MCScriptName);
127}
constexpr auto MCScriptName
Definition: molten_core.h:24

References MCScriptName.

Variable Documentation

◆ MajordomoRagnaros

◆ MajordomoSummonPos

◆ MAX_ENCOUNTER

constexpr uint32 MAX_ENCOUNTER = 10
constexpr

◆ MCScriptName

constexpr auto MCScriptName = "instance_molten_core"
constexpr

Referenced by GetMoltenCoreAI().