AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
ahnkahet.h File Reference

Go to the source code of this file.

Macros

#define DataHeader   "AK"
 
#define AhnKahetScriptName   "instance_ahnkahet"
 
#define RegisterAhnKahetCreatureAI(ai_name)   RegisterCreatureAIWithFactory(ai_name, GetAhnKahetAI)
 

Enumerations

enum  AhnkahetData {
  DATA_ELDER_NADOX = 0 ,
  DATA_PRINCE_TALDARAM = 1 ,
  DATA_JEDOGA_SHADOWSEEKER = 2 ,
  DATA_HERALD_VOLAZJ = 3 ,
  DATA_AMANITAR = 4 ,
  DATA_PRINCE_TALDARAM_PLATFORM
}
 
enum  AhnKahetCreatures {
  NPC_ELDER_NADOX = 29309 ,
  NPC_PRINCE_TALDARAM = 29308 ,
  NPC_JEDOGA_SHADOWSEEKER = 29310 ,
  NPC_HERALD_VOLAZJ = 29311 ,
  NPC_AMANITAR = 30258 ,
  NPC_JEDOGA_CONTROLLER = 30181
}
 
enum  AhnkahetSpells { SPELL_SHADOW_SICKLE = 56701 }
 
enum  AhnkahetObjects {
  GO_TELDARAM_DOOR = 192236 ,
  GO_TELDARAM_SPHERE1 = 193093 ,
  GO_TELDARAM_SPHERE2 = 193094 ,
  GO_TELDARAM_PLATFORM = 193564
}
 
enum  AhnKahetActions { ACTION_REMOVE_PRISON = -1 }
 
enum  AhnKahetTexts { SAY_SPHERE_ACTIVATED = 0 }
 
enum  AhnKahetPersistentData {
  DATA_TELDRAM_SPHERE1 ,
  DATA_TELDRAM_SPHERE2 ,
  MAX_PERSISTENT_DATA
}
 

Functions

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

Variables

constexpr uint32 MAX_ENCOUNTER = 5
 

Macro Definition Documentation

◆ AhnKahetScriptName

#define AhnKahetScriptName   "instance_ahnkahet"

◆ DataHeader

#define DataHeader   "AK"

◆ RegisterAhnKahetCreatureAI

#define RegisterAhnKahetCreatureAI (   ai_name)    RegisterCreatureAIWithFactory(ai_name, GetAhnKahetAI)

Enumeration Type Documentation

◆ AhnKahetActions

Enumerator
ACTION_REMOVE_PRISON 
63{
65};
@ ACTION_REMOVE_PRISON
Definition: ahnkahet.h:64

◆ AhnKahetCreatures

Enumerator
NPC_ELDER_NADOX 
NPC_PRINCE_TALDARAM 
NPC_JEDOGA_SHADOWSEEKER 
NPC_HERALD_VOLAZJ 
NPC_AMANITAR 
NPC_JEDOGA_CONTROLLER 
39{
40 NPC_ELDER_NADOX = 29309,
41 NPC_PRINCE_TALDARAM = 29308,
43 NPC_HERALD_VOLAZJ = 29311,
44 NPC_AMANITAR = 30258,
45 // Teldaram and Jedoga encounter related
47};
@ NPC_AMANITAR
Definition: ahnkahet.h:44
@ NPC_HERALD_VOLAZJ
Definition: ahnkahet.h:43
@ NPC_JEDOGA_SHADOWSEEKER
Definition: ahnkahet.h:42
@ NPC_JEDOGA_CONTROLLER
Definition: ahnkahet.h:46
@ NPC_ELDER_NADOX
Definition: ahnkahet.h:40
@ NPC_PRINCE_TALDARAM
Definition: ahnkahet.h:41

◆ AhnkahetData

Enumerator
DATA_ELDER_NADOX 
DATA_PRINCE_TALDARAM 
DATA_JEDOGA_SHADOWSEEKER 
DATA_HERALD_VOLAZJ 
DATA_AMANITAR 
DATA_PRINCE_TALDARAM_PLATFORM 
25{
26 // Main encounters
31 DATA_AMANITAR = 4,
32
33 // Other data
34 // Teldram encounter related
36};
@ DATA_HERALD_VOLAZJ
Definition: ahnkahet.h:30
@ DATA_JEDOGA_SHADOWSEEKER
Definition: ahnkahet.h:29
@ DATA_AMANITAR
Definition: ahnkahet.h:31
@ DATA_PRINCE_TALDARAM_PLATFORM
Definition: ahnkahet.h:35
@ DATA_ELDER_NADOX
Definition: ahnkahet.h:27
@ DATA_PRINCE_TALDARAM
Definition: ahnkahet.h:28

◆ AhnkahetObjects

Enumerator
GO_TELDARAM_DOOR 
GO_TELDARAM_SPHERE1 
GO_TELDARAM_SPHERE2 
GO_TELDARAM_PLATFORM 
55{
56 GO_TELDARAM_DOOR = 192236,
57 GO_TELDARAM_SPHERE1 = 193093,
58 GO_TELDARAM_SPHERE2 = 193094,
59 GO_TELDARAM_PLATFORM = 193564,
60};
@ GO_TELDARAM_SPHERE1
Definition: ahnkahet.h:57
@ GO_TELDARAM_DOOR
Definition: ahnkahet.h:56
@ GO_TELDARAM_SPHERE2
Definition: ahnkahet.h:58
@ GO_TELDARAM_PLATFORM
Definition: ahnkahet.h:59

◆ AhnKahetPersistentData

Enumerator
DATA_TELDRAM_SPHERE1 
DATA_TELDRAM_SPHERE2 
MAX_PERSISTENT_DATA 
73{
77};
@ DATA_TELDRAM_SPHERE1
Definition: ahnkahet.h:74
@ DATA_TELDRAM_SPHERE2
Definition: ahnkahet.h:75
@ MAX_PERSISTENT_DATA
Definition: ahnkahet.h:76

◆ AhnkahetSpells

Enumerator
SPELL_SHADOW_SICKLE 
50{
51 SPELL_SHADOW_SICKLE = 56701, // Shadow Sickle Normal
52};
@ SPELL_SHADOW_SICKLE
Definition: ahnkahet.h:51

◆ AhnKahetTexts

Enumerator
SAY_SPHERE_ACTIVATED 
68{
70};
@ SAY_SPHERE_ACTIVATED
Definition: ahnkahet.h:69

Function Documentation

◆ GetAhnKahetAI()

template<class AI , class T >
AI * GetAhnKahetAI ( T *  obj)
inline
81{
82 return GetInstanceAI<AI>(obj, AhnKahetScriptName);
83}
#define AhnKahetScriptName
Definition: ahnkahet.h:22

References AhnKahetScriptName.

Variable Documentation

◆ MAX_ENCOUNTER

constexpr uint32 MAX_ENCOUNTER = 5
constexpr