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"

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

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

◆ 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 
393{
394 NPC_GHOUL = 28845,
395 MAX_GHOULS = 5,
396
397 SPELL_GHOUL_EMERGE = 50142,
399 SPELL_GHOUL_SUBMERGE = 26234,
400
405
407};
@ SAY_GOTHIK_PIT
Definition: chapter1.cpp:406
@ EVENT_GHOUL_MOVE_TO_PIT
Definition: chapter1.cpp:404
@ EVENT_GHOUL_CHECK_COMBAT
Definition: chapter1.cpp:402
@ NPC_GHOUL
Definition: chapter1.cpp:394
@ EVENT_GHOUL_EMOTE
Definition: chapter1.cpp:403
@ MAX_GHOULS
Definition: chapter1.cpp:395
@ SPELL_GHOUL_EMERGE
Definition: chapter1.cpp:397
@ SPELL_GHOUL_SUBMERGE
Definition: chapter1.cpp:399
@ EVENT_GHOUL_RESTORE_STATE
Definition: chapter1.cpp:401
@ SPELL_SUMMON_SCARLET_GHOST
Definition: chapter1.cpp:398

◆ Says_SM

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

◆ Spells_Cart

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

◆ Spells_SM

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

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

◆ UnworthyInitiatePhase

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

Function Documentation

◆ AddSC_the_scarlet_enclave_c1()

void AddSC_the_scarlet_enclave_c1 ( )
1237{
1238 // Ours
1244 new npc_scarlet_ghoul();
1245 new npc_dkc1_gothik();
1246 new npc_scarlet_cannon();
1247
1248 // Theirs
1252
1253 new npc_scarlet_miner();
1256
1258}
#define RegisterCreatureAI(ai_name)
Definition: CreatureScript.h:71
#define RegisterSpellScript(spell_script)
Definition: SpellScriptLoader.h:88
Definition: chapter1.cpp:62
Definition: chapter1.cpp:206
Definition: chapter1.cpp:410
Definition: chapter1.cpp:444
Definition: chapter1.cpp:471
Definition: chapter1.cpp:560
Definition: chapter1.cpp:612
Definition: chapter1.cpp:715
Definition: chapter1.cpp:900
Definition: chapter1.cpp:929
Definition: chapter1.cpp:955
Definition: chapter1.cpp:1018
Definition: chapter1.cpp:1163
Definition: chapter1.cpp:1191

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().