TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
chapter1.cpp File Reference
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "Vehicle.h"
#include "ObjectMgr.h"
#include "ScriptedEscortAI.h"
#include "CombatAI.h"
#include "PassiveAI.h"
#include "Player.h"
#include "SpellInfo.h"
#include "CreatureTextMgr.h"
#include "MoveSplineInit.h"
+ Include dependency graph for chapter1.cpp:

Classes

class  npc_unworthy_initiate
 
struct  npc_unworthy_initiate::npc_unworthy_initiateAI
 
class  npc_unworthy_initiate_anchor
 
struct  npc_unworthy_initiate_anchor::npc_unworthy_initiate_anchorAI
 
class  go_acherus_soul_prison
 
class  npc_eye_of_acherus
 
struct  npc_eye_of_acherus::npc_eye_of_acherusAI
 
class  npc_death_knight_initiate
 
struct  npc_death_knight_initiate::npc_death_knight_initiateAI
 
class  npc_dark_rider_of_acherus
 
struct  npc_dark_rider_of_acherus::npc_dark_rider_of_acherusAI
 
class  npc_salanar_the_horseman
 
struct  npc_salanar_the_horseman::npc_salanar_the_horsemanAI
 
class  npc_ros_dark_rider
 
struct  npc_ros_dark_rider::npc_ros_dark_riderAI
 
class  npc_dkc1_gothik
 
struct  npc_dkc1_gothik::npc_dkc1_gothikAI
 
class  npc_scarlet_ghoul
 
struct  npc_scarlet_ghoul::npc_scarlet_ghoulAI
 
class  npc_scarlet_miner_cart
 
struct  npc_scarlet_miner_cart::npc_scarlet_miner_cartAI
 
class  npc_scarlet_miner
 
struct  npc_scarlet_miner::npc_scarlet_minerAI
 

Macros

#define GCD_CAST   1
 

Enumerations

enum  UnworthyInitiate {
  SPELL_SOUL_PRISON_CHAIN_SELF = 54612, SPELL_SOUL_PRISON_CHAIN = 54613, SPELL_DK_INITIATE_VISUAL = 51519, SPELL_ICY_TOUCH = 52372,
  SPELL_PLAGUE_STRIKE = 52373, SPELL_BLOOD_STRIKE = 52374, SPELL_DEATH_COIL = 52375, SAY_EVENT_START = 0,
  SAY_EVENT_ATTACK = 1, EVENT_ICY_TOUCH = 1, EVENT_PLAGUE_STRIKE = 2, EVENT_BLOOD_STRIKE = 3,
  EVENT_DEATH_COIL = 4
}
 
enum  UnworthyInitiatePhase {
  PHASE_CHAINED, PHASE_TO_EQUIP, PHASE_EQUIPING, PHASE_TO_ATTACK,
  PHASE_ATTACKING
}
 
enum  EyeOfAcherus {
  SPELL_EYE_VISUAL = 51892, SPELL_EYE_FLIGHT_BOOST = 51923, SPELL_EYE_FLIGHT = 51890, EVENT_MOVE_START = 1,
  TALK_MOVE_START = 0, TALK_CONTROL = 1, POINT_EYE_FALL = 1, POINT_EYE_MOVE_END = 3
}
 
enum  Spells_DKI { SPELL_DUEL = 52996, SPELL_DUEL_VICTORY = 52994, SPELL_DUEL_FLAG = 52991, SPELL_GROVEL = 7267 }
 
enum  Says_VBM { SAY_DUEL = 0, WHISPER_REVIVE = 0 }
 
enum  Misc_VBN { QUEST_DEATH_CHALLENGE = 12733, FACTION_HOSTILE = 2068 }
 
enum  DarkRiderOfAcherus { SAY_DARK_RIDER = 0, SPELL_DESPAWN_HORSE = 51918 }
 
enum  SalanarTheHorseman {
  GOSSIP_SALANAR_MENU = 9739, GOSSIP_SALANAR_OPTION = 0, SALANAR_SAY = 0, QUEST_INTO_REALM_OF_SHADOWS = 12687,
  NPC_DARK_RIDER_OF_ACHERUS = 28654, NPC_SALANAR_IN_REALM_OF_SHADOWS = 28788, SPELL_EFFECT_STOLEN_HORSE = 52263, SPELL_DELIVER_STOLEN_HORSE = 52264,
  SPELL_CALL_DARK_RIDER = 52266, SPELL_EFFECT_OVERTAKE = 52349, SPELL_REALM_OF_SHADOWS = 52693
}
 
enum  Creatures_SG { NPC_GHOULS = 28845, NPC_GHOSTS = 28846 }
 
enum  ScarletMinerCart {
  SPELL_CART_CHECK = 54173, SPELL_SUMMON_CART = 52463, SPELL_SUMMON_MINER = 52464, SPELL_CART_DRAG = 52465,
  NPC_MINER = 28841
}
 
enum  Says_SM { SAY_SCARLET_MINER_0 = 0, SAY_SCARLET_MINER_1 = 1 }
 

Functions

void AddSC_the_scarlet_enclave_c1 ()
 

Variables

uint32 acherus_soul_prison [12]
 
uint32 acherus_unworthy_initiate [5]
 
Position const EyeOFAcherusFallPoint = { 2361.21f, -5660.45f, 496.7444f, 0.0f }
 

Macro Definition Documentation

#define GCD_CAST   1

Enumeration Type Documentation

Enumerator
NPC_GHOULS 
NPC_GHOSTS 
878 {
879  NPC_GHOULS = 28845,
880  NPC_GHOSTS = 28846,
881 };
Definition: chapter1.cpp:880
Definition: chapter1.cpp:879
Enumerator
SAY_DARK_RIDER 
SPELL_DESPAWN_HORSE 
636 {
637  SAY_DARK_RIDER = 0,
638  SPELL_DESPAWN_HORSE = 51918
639 };
Definition: chapter1.cpp:637
Definition: chapter1.cpp:638
Enumerator
SPELL_EYE_VISUAL 
SPELL_EYE_FLIGHT_BOOST 
SPELL_EYE_FLIGHT 
EVENT_MOVE_START 
TALK_MOVE_START 
TALK_CONTROL 
POINT_EYE_FALL 
POINT_EYE_MOVE_END 
345 {
346  SPELL_EYE_VISUAL = 51892,
347  SPELL_EYE_FLIGHT_BOOST = 51923,
348  SPELL_EYE_FLIGHT = 51890,
349 
350  EVENT_MOVE_START = 1,
351 
352  TALK_MOVE_START = 0,
353  TALK_CONTROL = 1,
354 
355  POINT_EYE_FALL = 1,
357 };
Definition: chapter1.cpp:353
Definition: chapter1.cpp:348
Definition: chapter1.cpp:352
Definition: chapter1.cpp:346
Definition: chapter1.cpp:355
Definition: chapter1.cpp:347
Definition: chapter1.cpp:356
Definition: chapter1.cpp:350
enum Misc_VBN
Enumerator
QUEST_DEATH_CHALLENGE 
FACTION_HOSTILE 
470 {
471  QUEST_DEATH_CHALLENGE = 12733,
472  FACTION_HOSTILE = 2068
473 };
Definition: chapter1.cpp:472
Definition: chapter1.cpp:471
Enumerator
GOSSIP_SALANAR_MENU 
GOSSIP_SALANAR_OPTION 
SALANAR_SAY 
QUEST_INTO_REALM_OF_SHADOWS 
NPC_DARK_RIDER_OF_ACHERUS 
NPC_SALANAR_IN_REALM_OF_SHADOWS 
SPELL_EFFECT_STOLEN_HORSE 
SPELL_DELIVER_STOLEN_HORSE 
SPELL_CALL_DARK_RIDER 
SPELL_EFFECT_OVERTAKE 
SPELL_REALM_OF_SHADOWS 
733 {
734  GOSSIP_SALANAR_MENU = 9739,
736  SALANAR_SAY = 0,
742  SPELL_CALL_DARK_RIDER = 52266,
743  SPELL_EFFECT_OVERTAKE = 52349,
744  SPELL_REALM_OF_SHADOWS = 52693
745 };
Definition: chapter1.cpp:741
Definition: chapter1.cpp:737
Definition: chapter1.cpp:743
Definition: chapter1.cpp:740
Definition: chapter1.cpp:734
Definition: chapter1.cpp:739
Definition: chapter1.cpp:744
Definition: chapter1.cpp:738
Definition: chapter1.cpp:742
Definition: chapter1.cpp:736
Definition: chapter1.cpp:735
enum Says_SM
Enumerator
SAY_SCARLET_MINER_0 
SAY_SCARLET_MINER_1 
1089 {
1090  SAY_SCARLET_MINER_0 = 0,
1092 };
Definition: chapter1.cpp:1091
Definition: chapter1.cpp:1090
enum Says_VBM
Enumerator
SAY_DUEL 
WHISPER_REVIVE 
465 {
466  SAY_DUEL = 0,
467 };
Definition: chapter1.cpp:466
Enumerator
SPELL_CART_CHECK 
SPELL_SUMMON_CART 
SPELL_SUMMON_MINER 
SPELL_CART_DRAG 
NPC_MINER 
1007 {
1008  SPELL_CART_CHECK = 54173,
1009  SPELL_SUMMON_CART = 52463,
1010  SPELL_SUMMON_MINER = 52464,
1011  SPELL_CART_DRAG = 52465,
1012 
1013  NPC_MINER = 28841
1014 };
Definition: chapter1.cpp:1010
Definition: chapter1.cpp:1009
Definition: chapter1.cpp:1013
Definition: chapter1.cpp:1011
Definition: chapter1.cpp:1008
enum Spells_DKI
Enumerator
SPELL_DUEL 
SPELL_DUEL_VICTORY 
SPELL_DUEL_FLAG 
SPELL_GROVEL 
456 {
457  SPELL_DUEL = 52996,
458  //SPELL_DUEL_TRIGGERED = 52990,
459  SPELL_DUEL_VICTORY = 52994,
460  SPELL_DUEL_FLAG = 52991,
461  SPELL_GROVEL = 7267,
462 };
Definition: chapter1.cpp:460
Definition: chapter1.cpp:461
Definition: chapter1.cpp:457
Definition: chapter1.cpp:459
Enumerator
SPELL_SOUL_PRISON_CHAIN_SELF 
SPELL_SOUL_PRISON_CHAIN 
SPELL_DK_INITIATE_VISUAL 
SPELL_ICY_TOUCH 
SPELL_PLAGUE_STRIKE 
SPELL_BLOOD_STRIKE 
SPELL_DEATH_COIL 
SAY_EVENT_START 
SAY_EVENT_ATTACK 
EVENT_ICY_TOUCH 
EVENT_PLAGUE_STRIKE 
EVENT_BLOOD_STRIKE 
EVENT_DEATH_COIL 
38 {
42 
43  SPELL_ICY_TOUCH = 52372,
44  SPELL_PLAGUE_STRIKE = 52373,
45  SPELL_BLOOD_STRIKE = 52374,
46  SPELL_DEATH_COIL = 52375,
47 
48  SAY_EVENT_START = 0,
49  SAY_EVENT_ATTACK = 1,
50 
51  EVENT_ICY_TOUCH = 1,
55 };
Definition: chapter1.cpp:43
Definition: chapter1.cpp:52
Definition: chapter1.cpp:54
Definition: chapter1.cpp:53
Definition: chapter1.cpp:44
Definition: chapter1.cpp:51
Definition: chapter1.cpp:39
Definition: chapter1.cpp:40
Definition: chapter1.cpp:48
Definition: chapter1.cpp:46
Definition: chapter1.cpp:41
Definition: chapter1.cpp:49
Definition: chapter1.cpp:45
Enumerator
PHASE_CHAINED 
PHASE_TO_EQUIP 
PHASE_EQUIPING 
PHASE_TO_ATTACK 
PHASE_ATTACKING 
58 {
64 };
Definition: chapter1.cpp:59
Definition: chapter1.cpp:63
Definition: chapter1.cpp:61
Definition: chapter1.cpp:60
Definition: chapter1.cpp:62

Function Documentation

void AddSC_the_scarlet_enclave_c1 ( )
1231 {
1232  new npc_unworthy_initiate();
1234  new go_acherus_soul_prison();
1235  new npc_eye_of_acherus();
1239  new npc_ros_dark_rider();
1240  new npc_dkc1_gothik();
1241  new npc_scarlet_ghoul();
1242  new npc_scarlet_miner();
1243  new npc_scarlet_miner_cart();
1244 }
Definition: chapter1.cpp:882
Definition: chapter1.cpp:926
Definition: chapter1.cpp:827
Definition: chapter1.cpp:1094
Definition: chapter1.cpp:475
Definition: chapter1.cpp:91
Definition: chapter1.cpp:361
Definition: chapter1.cpp:641
Definition: chapter1.cpp:747
Definition: chapter1.cpp:320
Definition: chapter1.cpp:291
Definition: chapter1.cpp:1016

+ Here is the caller graph for this function:

Variable Documentation

uint32 acherus_soul_prison[12]
Initial value:
=
{
191577,
191580,
191581,
191582,
191583,
191584,
191585,
191586,
191587,
191588,
191589,
191590
}
uint32 acherus_unworthy_initiate[5]
Initial value:
=
{
29519,
29520,
29565,
29566,
29567
}
Position const EyeOFAcherusFallPoint = { 2361.21f, -5660.45f, 496.7444f, 0.0f }