TrinityCore
Loading...
Searching...
No Matches
chapter1.cpp File Reference
#include "CreatureAIImpl.h"
#include "ScriptMgr.h"
#include "CombatAI.h"
#include "CreatureTextMgr.h"
#include "G3DPosition.hpp"
#include "GameObject.h"
#include "GameObjectAI.h"
#include "Log.h"
#include "MotionMaster.h"
#include "MoveSplineInit.h"
#include "ObjectAccessor.h"
#include "ObjectMgr.h"
#include "PassiveAI.h"
#include "Player.h"
#include "ScriptedEscortAI.h"
#include "ScriptedGossip.h"
#include "SpellAuraEffects.h"
#include "SpellInfo.h"
#include "SpellScript.h"
#include "TemporarySummon.h"
#include "Vehicle.h"
+ Include dependency graph for chapter1.cpp:

Go to the source code of this file.

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
 
struct  go_acherus_soul_prison::go_acherus_soul_prisonAI
 
class  spell_death_knight_initiate_visual
 
struct  npc_eye_of_acherus
 
class  spell_chapter1_siphon_of_acherus
 
class  spell_chapter1_recall_eye_of_acherus
 
class  npc_death_knight_initiate
 
struct  npc_death_knight_initiate::npc_death_knight_initiateAI
 
struct  npc_dark_rider_of_acherus
 
class  npc_salanar_the_horseman
 
struct  npc_salanar_the_horseman::npc_salanar_the_horsemanAI
 
class  spell_stable_master_repo
 
class  spell_deliver_stolen_horse
 
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
 
struct  npc_scarlet_ghoul
 
class  spell_gift_of_the_harvester
 
class  spell_chapter1_runeforging_credit
 
class  spell_chapter1_sky_darkener_assault
 
class  spell_chapter1_emblazon_runeblade
 
class  spell_chapter1_emblazon_runeblade_effect
 

Macros

#define GCD_CAST   1
 

Enumerations

enum  UnworthyInitiate {
  SPELL_SOUL_PRISON_CHAIN = 54612 , 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  EyeOfAcherusMisc {
  SPELL_THE_EYE_OF_ACHERUS = 51852 , SPELL_EYE_OF_ACHERUS_VISUAL = 51892 , SPELL_EYE_OF_ACHERUS_FLIGHT_BOOST = 51923 , SPELL_EYE_OF_ACHERUS_FLIGHT = 51890 ,
  SPELL_ROOT_SELF = 51860 , EVENT_ANNOUNCE_LAUNCH_TO_DESTINATION = 1 , EVENT_UNROOT = 2 , EVENT_LAUNCH_TOWARDS_DESTINATION = 3 ,
  EVENT_GRANT_CONTROL = 4 , SAY_LAUNCH_TOWARDS_DESTINATION = 0 , SAY_EYE_UNDER_CONTROL = 1 , POINT_NEW_AVALON = 1
}
 
enum  DeathComesFromOnHigh {
  SPELL_FORGE_CREDIT = 51974 , SPELL_TOWN_HALL_CREDIT = 51977 , SPELL_SCARLET_HOLD_CREDIT = 51980 , SPELL_CHAPEL_CREDIT = 51982 ,
  NPC_NEW_AVALON_FORGE = 28525 , NPC_NEW_AVALON_TOWN_HALL = 28543 , NPC_SCARLET_HOLD = 28542 , NPC_CHAPEL_OF_THE_CRIMSON_FLAME = 28544
}
 
enum  Spells_DKI { SPELL_DUEL = 52996 , SPELL_DUEL_VICTORY = 52994 , SPELL_DUEL_FLAG = 52991 , SPELL_GROVEL = 7267 }
 
enum  Says_VBM { SAY_DUEL = 0 }
 
enum  Misc_VBN { QUEST_DEATH_CHALLENGE = 12733 }
 
enum  DarkRiderOfAcherus {
  SAY_DARK_RIDER = 0 , EVENT_START_MOVING = 1 , EVENT_DESPAWN_HORSE = 2 , EVENT_END_SCRIPT = 3 ,
  SPELL_DESPAWN_HORSE = 52267
}
 
enum  SalanarTheHorseman {
  SALANAR_SAY = 0 , QUEST_INTO_REALM_OF_SHADOWS = 12687 , 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  HorseSeats { SEAT_ID_0 = 0 }
 
enum  TheGiftThatKeepsOnGiving { SAY_LINE_0 = 0 , NPC_GHOULS = 28845 , NPC_GHOSTS = 28846 }
 
enum  GiftOfTheHarvester { SPELL_GHOUL_TRANFORM = 52490 , SPELL_GHOST_TRANSFORM = 52505 }
 
enum  Runeforging { SPELL_RUNEFORGING_CREDIT = 54586 , QUEST_RUNEFORGING = 12842 }
 
enum  SkyDarkenerAssault { SPELL_SKY_DARKENER_ASSAULT = 52125 }
 

Functions

void AddSC_the_scarlet_enclave_c1 ()
 

Variables

uint32 acherus_soul_prison [12]
 
uint32 acherus_unworthy_initiate [5]
 
static constexpr uint8 const EyeOfAcherusPathSize = 4
 
G3D::Vector3 const EyeOfAcherusPath [EyeOfAcherusPathSize]
 

Macro Definition Documentation

◆ GCD_CAST

#define GCD_CAST   1

Definition at line 44 of file chapter1.cpp.

Enumeration Type Documentation

◆ DarkRiderOfAcherus

Enumerator
SAY_DARK_RIDER 
EVENT_START_MOVING 
EVENT_DESPAWN_HORSE 
EVENT_END_SCRIPT 
SPELL_DESPAWN_HORSE 

Definition at line 793 of file chapter1.cpp.

◆ DeathComesFromOnHigh

Enumerator
SPELL_FORGE_CREDIT 
SPELL_TOWN_HALL_CREDIT 
SPELL_SCARLET_HOLD_CREDIT 
SPELL_CHAPEL_CREDIT 
NPC_NEW_AVALON_FORGE 
NPC_NEW_AVALON_TOWN_HALL 
NPC_SCARLET_HOLD 
NPC_CHAPEL_OF_THE_CRIMSON_FLAME 

Definition at line 524 of file chapter1.cpp.

◆ EyeOfAcherusMisc

Enumerator
SPELL_THE_EYE_OF_ACHERUS 
SPELL_EYE_OF_ACHERUS_VISUAL 
SPELL_EYE_OF_ACHERUS_FLIGHT_BOOST 
SPELL_EYE_OF_ACHERUS_FLIGHT 
SPELL_ROOT_SELF 
EVENT_ANNOUNCE_LAUNCH_TO_DESTINATION 
EVENT_UNROOT 
EVENT_LAUNCH_TOWARDS_DESTINATION 
EVENT_GRANT_CONTROL 
SAY_LAUNCH_TOWARDS_DESTINATION 
SAY_EYE_UNDER_CONTROL 
POINT_NEW_AVALON 

Definition at line 407 of file chapter1.cpp.

◆ GiftOfTheHarvester

Enumerator
SPELL_GHOUL_TRANFORM 
SPELL_GHOST_TRANSFORM 

Definition at line 1158 of file chapter1.cpp.

◆ HorseSeats

enum HorseSeats
Enumerator
SEAT_ID_0 

Definition at line 921 of file chapter1.cpp.

◆ Misc_VBN

enum Misc_VBN
Enumerator
QUEST_DEATH_CHALLENGE 

Definition at line 628 of file chapter1.cpp.

◆ Runeforging

Enumerator
SPELL_RUNEFORGING_CREDIT 
QUEST_RUNEFORGING 

Definition at line 1197 of file chapter1.cpp.

◆ SalanarTheHorseman

Enumerator
SALANAR_SAY 
QUEST_INTO_REALM_OF_SHADOWS 
SPELL_EFFECT_STOLEN_HORSE 
SPELL_DELIVER_STOLEN_HORSE 
SPELL_CALL_DARK_RIDER 
SPELL_EFFECT_OVERTAKE 
SPELL_REALM_OF_SHADOWS 

Definition at line 866 of file chapter1.cpp.

◆ Says_VBM

enum Says_VBM
Enumerator
SAY_DUEL 

Definition at line 623 of file chapter1.cpp.

◆ SkyDarkenerAssault

Enumerator
SPELL_SKY_DARKENER_ASSAULT 

Definition at line 1236 of file chapter1.cpp.

◆ Spells_DKI

enum Spells_DKI
Enumerator
SPELL_DUEL 
SPELL_DUEL_VICTORY 
SPELL_DUEL_FLAG 
SPELL_GROVEL 

Definition at line 614 of file chapter1.cpp.

◆ TheGiftThatKeepsOnGiving

Enumerator
SAY_LINE_0 
NPC_GHOULS 
NPC_GHOSTS 

Definition at line 1033 of file chapter1.cpp.

◆ UnworthyInitiate

Enumerator
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 

Definition at line 46 of file chapter1.cpp.

◆ UnworthyInitiatePhase

Enumerator
PHASE_CHAINED 
PHASE_TO_EQUIP 
PHASE_EQUIPING 
PHASE_TO_ATTACK 
PHASE_ATTACKING 

Definition at line 65 of file chapter1.cpp.

Function Documentation

◆ AddSC_the_scarlet_enclave_c1()

void AddSC_the_scarlet_enclave_c1 ( )

Definition at line 1305 of file chapter1.cpp.

+ Here is the caller graph for this function:

Variable Documentation

◆ acherus_soul_prison

uint32 acherus_soul_prison[12]
Initial value:
=
{
191577,
191580,
191581,
191582,
191583,
191584,
191585,
191586,
191587,
191588,
191589,
191590
}

Definition at line 74 of file chapter1.cpp.

◆ acherus_unworthy_initiate

uint32 acherus_unworthy_initiate[5]
Initial value:
=
{
29519,
29520,
29565,
29566,
29567
}

Definition at line 90 of file chapter1.cpp.

◆ EyeOfAcherusPath

G3D::Vector3 const EyeOfAcherusPath[EyeOfAcherusPathSize]
Initial value:
=
{
{ 2361.21f, -5660.45f, 496.744f },
{ 2341.571f, -5672.797f, 538.3942f },
{ 1957.4f, -5844.1f, 273.867f },
{ 1758.01f, -5876.79f, 166.867f }
}

Definition at line 427 of file chapter1.cpp.

◆ EyeOfAcherusPathSize

constexpr uint8 const EyeOfAcherusPathSize = 4
staticconstexpr

Definition at line 426 of file chapter1.cpp.