AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
chapter1.cpp File Reference
#include "CombatAI.h"
#include "CreatureScript.h"
#include "CreatureTextMgr.h"
#include "GameObjectScript.h"
#include "MoveSplineInit.h"
#include "ObjectMgr.h"
#include "PassiveAI.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptedEscortAI.h"
#include "ScriptedGossip.h"
#include "SpellInfo.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "Vehicle.h"

Go to the source code of this file.

Classes

struct  npc_eye_of_acherus
 
class  spell_q12641_death_comes_from_on_high_summon_ghouls
 
class  spell_q12641_death_comes_from_on_high_summon_ghouls::spell_q12641_death_comes_from_on_high_summon_ghouls_SpellScript
 
class  npc_death_knight_initiate
 
struct  npc_death_knight_initiate::npc_death_knight_initiateAI
 
class  spell_item_gift_of_the_harvester
 
class  spell_item_gift_of_the_harvester::spell_item_gift_of_the_harvester_SpellScript
 
class  spell_q12698_the_gift_that_keeps_on_giving
 
class  spell_q12698_the_gift_that_keeps_on_giving::spell_q12698_the_gift_that_keeps_on_giving_SpellScript
 
class  npc_scarlet_ghoul
 
struct  npc_scarlet_ghoul::npc_scarlet_ghoulAI
 
class  npc_dkc1_gothik
 
struct  npc_dkc1_gothik::npc_dkc1_gothikAI
 
class  npc_scarlet_cannon
 
struct  npc_scarlet_cannon::npc_scarlet_cannonAI
 
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_scarlet_miner_cart
 
struct  npc_scarlet_miner_cart::npc_scarlet_miner_cartAI
 
class  npc_scarlet_miner
 
struct  npc_scarlet_miner::npc_scarlet_minerAI
 
class  go_inconspicuous_mine_car
 
class  spell_death_knight_initiate_visual
 

Macros

#define GCD_CAST   1
 

Enumerations

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 ,
  EYE_POINT_DESTINATION_0 = 0 ,
  EYE_POINT_DESTINATION_1 = 1 ,
  EYE_POINT_DESTINATION_2 = 2 ,
  EYE_POINT_DESTINATION_3 = 3
}
 
enum  deathsChallenge {
  SPELL_DUEL = 52996 ,
  SPELL_DUEL_VICTORY = 52994 ,
  SPELL_DUEL_FLAG = 52991 ,
  SAY_DUEL = 0 ,
  QUEST_DEATH_CHALLENGE = 12733 ,
  DATA_IN_PROGRESS = 0 ,
  EVENT_SPEAK = 1 ,
  EVENT_DUEL_LOST = 7
}
 
enum  GiftOfTheHarvester {
  NPC_GHOUL = 28845 ,
  MAX_GHOULS = 5 ,
  SPELL_GHOUL_EMERGE = 50142 ,
  SPELL_SUMMON_SCARLET_GHOST = 52505 ,
  SPELL_GHOUL_SUBMERGE = 26234 ,
  EVENT_GHOUL_RESTORE_STATE = 1 ,
  EVENT_GHOUL_CHECK_COMBAT = 2 ,
  EVENT_GHOUL_EMOTE = 3 ,
  EVENT_GHOUL_MOVE_TO_PIT = 4 ,
  SAY_GOTHIK_PIT = 0
}
 
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  Spells_SM {
  SPELL_CART_CHECK = 54173 ,
  SPELL_CART_DRAG = 52465
}
 
enum  Says_SM {
  SAY_SCARLET_MINER_0 = 0 ,
  SAY_SCARLET_MINER_1 = 1
}
 
enum  Spells_Cart { SPELL_CART_SUMM = 52463 }
 

Functions

void AddSC_the_scarlet_enclave_c1 ()
 

Variables

uint32 acherus_soul_prison [12]
 

Macro Definition Documentation

◆ GCD_CAST

#define GCD_CAST   1

Enumeration Type Documentation

◆ deathsChallenge

Enumerator
SPELL_DUEL 
SPELL_DUEL_VICTORY 
SPELL_DUEL_FLAG 
SAY_DUEL 
QUEST_DEATH_CHALLENGE 
DATA_IN_PROGRESS 
EVENT_SPEAK 
EVENT_DUEL_LOST 
190{
191 SPELL_DUEL = 52996,
192 //SPELL_DUEL_TRIGGERED = 52990,
193 SPELL_DUEL_VICTORY = 52994,
194 SPELL_DUEL_FLAG = 52991,
195
196 SAY_DUEL = 0,
197
198 QUEST_DEATH_CHALLENGE = 12733,
199
201
202 EVENT_SPEAK = 1, // 1 - 6
203 EVENT_DUEL_LOST = 7, // 7 - 8
204};
@ QUEST_DEATH_CHALLENGE
Definition: chapter1.cpp:198
@ SPELL_DUEL_FLAG
Definition: chapter1.cpp:194
@ EVENT_SPEAK
Definition: chapter1.cpp:202
@ SAY_DUEL
Definition: chapter1.cpp:196
@ DATA_IN_PROGRESS
Definition: chapter1.cpp:200
@ SPELL_DUEL
Definition: chapter1.cpp:191
@ EVENT_DUEL_LOST
Definition: chapter1.cpp:203
@ SPELL_DUEL_VICTORY
Definition: chapter1.cpp:193

◆ 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 
EYE_POINT_DESTINATION_0 
EYE_POINT_DESTINATION_1 
EYE_POINT_DESTINATION_2 
EYE_POINT_DESTINATION_3 
39{
44 SPELL_ROOT_SELF = 51860,
45
47 EVENT_UNROOT = 2,
50
53
55
60};
@ EYE_POINT_DESTINATION_2
Definition: chapter1.cpp:58
@ SPELL_EYE_OF_ACHERUS_VISUAL
Definition: chapter1.cpp:41
@ EYE_POINT_DESTINATION_3
Definition: chapter1.cpp:59
@ EYE_POINT_DESTINATION_0
Definition: chapter1.cpp:56
@ SAY_LAUNCH_TOWARDS_DESTINATION
Definition: chapter1.cpp:51
@ EVENT_GRANT_CONTROL
Definition: chapter1.cpp:49
@ SPELL_THE_EYE_OF_ACHERUS
Definition: chapter1.cpp:40
@ EVENT_LAUNCH_TOWARDS_DESTINATION
Definition: chapter1.cpp:48
@ EYE_POINT_DESTINATION_1
Definition: chapter1.cpp:57
@ SPELL_ROOT_SELF
Definition: chapter1.cpp:44
@ EVENT_ANNOUNCE_LAUNCH_TO_DESTINATION
Definition: chapter1.cpp:46
@ SAY_EYE_UNDER_CONTROL
Definition: chapter1.cpp:52
@ SPELL_EYE_OF_ACHERUS_FLIGHT_BOOST
Definition: chapter1.cpp:42
@ SPELL_EYE_OF_ACHERUS_FLIGHT
Definition: chapter1.cpp:43
@ POINT_NEW_AVALON
Definition: chapter1.cpp:54
@ EVENT_UNROOT
Definition: chapter1.cpp:47

◆ GiftOfTheHarvester

Enumerator
NPC_GHOUL 
MAX_GHOULS 
SPELL_GHOUL_EMERGE 
SPELL_SUMMON_SCARLET_GHOST 
SPELL_GHOUL_SUBMERGE 
EVENT_GHOUL_RESTORE_STATE 
EVENT_GHOUL_CHECK_COMBAT 
EVENT_GHOUL_EMOTE 
EVENT_GHOUL_MOVE_TO_PIT 
SAY_GOTHIK_PIT 
394{
395 NPC_GHOUL = 28845,
396 MAX_GHOULS = 5,
397
398 SPELL_GHOUL_EMERGE = 50142,
400 SPELL_GHOUL_SUBMERGE = 26234,
401
406
408};
@ SAY_GOTHIK_PIT
Definition: chapter1.cpp:407
@ EVENT_GHOUL_MOVE_TO_PIT
Definition: chapter1.cpp:405
@ EVENT_GHOUL_CHECK_COMBAT
Definition: chapter1.cpp:403
@ NPC_GHOUL
Definition: chapter1.cpp:395
@ EVENT_GHOUL_EMOTE
Definition: chapter1.cpp:404
@ MAX_GHOULS
Definition: chapter1.cpp:396
@ SPELL_GHOUL_EMERGE
Definition: chapter1.cpp:398
@ SPELL_GHOUL_SUBMERGE
Definition: chapter1.cpp:400
@ EVENT_GHOUL_RESTORE_STATE
Definition: chapter1.cpp:402
@ SPELL_SUMMON_SCARLET_GHOST
Definition: chapter1.cpp:399

◆ Says_SM

enum Says_SM
Enumerator
SAY_SCARLET_MINER_0 
SAY_SCARLET_MINER_1 
1013{
1016};
@ SAY_SCARLET_MINER_1
Definition: chapter1.cpp:1015
@ SAY_SCARLET_MINER_0
Definition: chapter1.cpp:1014

◆ Spells_Cart

Enumerator
SPELL_CART_SUMM 
1159{
1160 SPELL_CART_SUMM = 52463
1161};
@ SPELL_CART_SUMM
Definition: chapter1.cpp:1160

◆ Spells_SM

enum Spells_SM
Enumerator
SPELL_CART_CHECK 
SPELL_CART_DRAG 
950{
951 SPELL_CART_CHECK = 54173,
952 SPELL_CART_DRAG = 52465
953};
@ SPELL_CART_DRAG
Definition: chapter1.cpp:952
@ SPELL_CART_CHECK
Definition: chapter1.cpp:951

◆ 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 
663{
666
667 SPELL_ICY_TOUCH = 52372,
668 SPELL_PLAGUE_STRIKE = 52373,
669 SPELL_BLOOD_STRIKE = 52374,
670 SPELL_DEATH_COIL = 52375,
671
672 SAY_EVENT_START = 0,
674
675 EVENT_ICY_TOUCH = 1,
679};
@ SPELL_DEATH_COIL
Definition: chapter1.cpp:670
@ SPELL_PLAGUE_STRIKE
Definition: chapter1.cpp:668
@ EVENT_PLAGUE_STRIKE
Definition: chapter1.cpp:676
@ SPELL_BLOOD_STRIKE
Definition: chapter1.cpp:669
@ SAY_EVENT_START
Definition: chapter1.cpp:672
@ SAY_EVENT_ATTACK
Definition: chapter1.cpp:673
@ SPELL_DK_INITIATE_VISUAL
Definition: chapter1.cpp:665
@ EVENT_ICY_TOUCH
Definition: chapter1.cpp:675
@ EVENT_BLOOD_STRIKE
Definition: chapter1.cpp:677
@ SPELL_ICY_TOUCH
Definition: chapter1.cpp:667
@ SPELL_SOUL_PRISON_CHAIN
Definition: chapter1.cpp:664
@ EVENT_DEATH_COIL
Definition: chapter1.cpp:678

◆ UnworthyInitiatePhase

Enumerator
PHASE_CHAINED 
PHASE_TO_EQUIP 
PHASE_EQUIPING 
PHASE_TO_ATTACK 
PHASE_ATTACKING 
682{
688};
@ PHASE_TO_ATTACK
Definition: chapter1.cpp:686
@ PHASE_EQUIPING
Definition: chapter1.cpp:685
@ PHASE_TO_EQUIP
Definition: chapter1.cpp:684
@ PHASE_CHAINED
Definition: chapter1.cpp:683
@ PHASE_ATTACKING
Definition: chapter1.cpp:687

Function Documentation

◆ AddSC_the_scarlet_enclave_c1()

void AddSC_the_scarlet_enclave_c1 ( )
1238{
1239 // Ours
1245 new npc_scarlet_ghoul();
1246 new npc_dkc1_gothik();
1247 new npc_scarlet_cannon();
1248
1249 // Theirs
1253
1254 new npc_scarlet_miner();
1257
1259}
#define RegisterCreatureAI(ai_name)
Definition: CreatureScript.h:71
#define RegisterSpellScript(spell_script)
Definition: SpellScriptLoader.h:88
Definition: chapter1.cpp:63
Definition: chapter1.cpp:207
Definition: chapter1.cpp:411
Definition: chapter1.cpp:445
Definition: chapter1.cpp:472
Definition: chapter1.cpp:561
Definition: chapter1.cpp:613
Definition: chapter1.cpp:716
Definition: chapter1.cpp:901
Definition: chapter1.cpp:930
Definition: chapter1.cpp:956
Definition: chapter1.cpp:1019
Definition: chapter1.cpp:1164
Definition: chapter1.cpp:1192

References RegisterCreatureAI, and RegisterSpellScript.

Referenced by AddEasternKingdomsScripts().

Variable Documentation

◆ acherus_soul_prison

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

Referenced by npc_unworthy_initiate::npc_unworthy_initiateAI::UpdateAI().