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

Classes

class  npc_crusade_persuaded
 
struct  npc_crusade_persuaded::npc_crusade_persuadedAI
 
class  npc_koltira_deathweaver
 
struct  npc_koltira_deathweaver::npc_koltira_deathweaverAI
 
class  npc_scarlet_courier
 
struct  npc_scarlet_courier::npc_scarlet_courierAI
 
class  npc_high_inquisitor_valroth
 
struct  npc_high_inquisitor_valroth::npc_high_inquisitor_valrothAI
 
class  npc_a_special_surprise
 
struct  npc_a_special_surprise::npc_a_special_surpriseAI
 

Enumerations

enum  win_friends {
  SAY_CRUSADER = 1, SAY_PERSUADED1 = 2, SAY_PERSUADED2 = 3, SAY_PERSUADED3 = 4,
  SAY_PERSUADED4 = 5, SAY_PERSUADED5 = 6, SAY_PERSUADED6 = 7, SAY_PERSUADE_RAND = 8,
  SPELL_PERSUASIVE_STRIKE = 52781, SPELL_THREAT_PULSE = 58111, QUEST_HOW_TO_WIN_FRIENDS = 12720
}
 
enum  Koltira {
  SAY_BREAKOUT1 = 0, SAY_BREAKOUT2 = 1, SAY_BREAKOUT3 = 2, SAY_BREAKOUT4 = 3,
  SAY_BREAKOUT5 = 4, SAY_BREAKOUT6 = 5, SAY_BREAKOUT7 = 6, SAY_BREAKOUT8 = 7,
  SAY_BREAKOUT9 = 8, SAY_BREAKOUT10 = 9, SPELL_KOLTIRA_TRANSFORM = 52899, SPELL_ANTI_MAGIC_ZONE = 52894,
  QUEST_BREAKOUT = 12727, NPC_CRIMSON_ACOLYTE = 29007, NPC_HIGH_INQUISITOR_VALROTH = 29001, MODEL_DEATH_KNIGHT_MOUNT = 25278
}
 
enum  ScarletCourierEnum {
  SAY_TREE1 = 0, SAY_TREE2 = 1, SPELL_SHOOT = 52818, GO_INCONSPICUOUS_TREE = 191144,
  NPC_SCARLET_COURIER = 29076
}
 
enum  valroth {
  SAY_VALROTH_AGGRO = 1, SAY_VALROTH_RAND = 2, SAY_VALROTH_DEATH = 3, SPELL_RENEW = 38210,
  SPELL_INQUISITOR_PENANCE = 52922, SPELL_VALROTH_SMITE = 52926, SPELL_SUMMON_VALROTH_REMAINS = 52929
}
 
enum  SpecialSurprise {
  SAY_EXEC_START_1 = 0, SAY_EXEC_START_2 = 1, SAY_EXEC_START_3 = 2, SAY_EXEC_PROG_1 = 3,
  SAY_EXEC_PROG_2 = 4, SAY_EXEC_PROG_3 = 5, SAY_EXEC_PROG_4 = 6, SAY_EXEC_PROG_5 = 7,
  SAY_EXEC_PROG_6 = 8, SAY_EXEC_PROG_7 = 9, SAY_EXEC_NAME_1 = 10, SAY_EXEC_NAME_2 = 11,
  SAY_EXEC_RECOG_1 = 12, SAY_EXEC_RECOG_2 = 13, SAY_EXEC_RECOG_3 = 14, SAY_EXEC_RECOG_4 = 15,
  SAY_EXEC_RECOG_5 = 16, SAY_EXEC_RECOG_6 = 17, SAY_EXEC_NOREM_1 = 18, SAY_EXEC_NOREM_2 = 19,
  SAY_EXEC_NOREM_3 = 20, SAY_EXEC_NOREM_4 = 21, SAY_EXEC_NOREM_5 = 22, SAY_EXEC_NOREM_6 = 23,
  SAY_EXEC_NOREM_7 = 24, SAY_EXEC_NOREM_8 = 25, SAY_EXEC_NOREM_9 = 26, SAY_EXEC_THINK_1 = 27,
  SAY_EXEC_THINK_2 = 28, SAY_EXEC_THINK_3 = 29, SAY_EXEC_THINK_4 = 30, SAY_EXEC_THINK_5 = 31,
  SAY_EXEC_THINK_6 = 32, SAY_EXEC_THINK_7 = 33, SAY_EXEC_THINK_8 = 34, SAY_EXEC_THINK_9 = 35,
  SAY_EXEC_THINK_10 = 36, SAY_EXEC_LISTEN_1 = 37, SAY_EXEC_LISTEN_2 = 38, SAY_EXEC_LISTEN_3 = 39,
  SAY_EXEC_LISTEN_4 = 40, SAY_PLAGUEFIST = 41, SAY_EXEC_TIME_1 = 42, SAY_EXEC_TIME_2 = 43,
  SAY_EXEC_TIME_3 = 44, SAY_EXEC_TIME_4 = 45, SAY_EXEC_TIME_5 = 46, SAY_EXEC_TIME_6 = 47,
  SAY_EXEC_TIME_7 = 48, SAY_EXEC_TIME_8 = 49, SAY_EXEC_TIME_9 = 50, SAY_EXEC_TIME_10 = 51,
  SAY_EXEC_WAITING = 52, EMOTE_DIES = 53, NPC_PLAGUEFIST = 29053
}
 

Functions

void AddSC_the_scarlet_enclave_c2 ()
 

Enumeration Type Documentation

enum Koltira
Enumerator
SAY_BREAKOUT1 
SAY_BREAKOUT2 
SAY_BREAKOUT3 
SAY_BREAKOUT4 
SAY_BREAKOUT5 
SAY_BREAKOUT6 
SAY_BREAKOUT7 
SAY_BREAKOUT8 
SAY_BREAKOUT9 
SAY_BREAKOUT10 
SPELL_KOLTIRA_TRANSFORM 
SPELL_ANTI_MAGIC_ZONE 
QUEST_BREAKOUT 
NPC_CRIMSON_ACOLYTE 
NPC_HIGH_INQUISITOR_VALROTH 
MODEL_DEATH_KNIGHT_MOUNT 
172 {
173  SAY_BREAKOUT1 = 0,
174  SAY_BREAKOUT2 = 1,
175  SAY_BREAKOUT3 = 2,
176  SAY_BREAKOUT4 = 3,
177  SAY_BREAKOUT5 = 4,
178  SAY_BREAKOUT6 = 5,
179  SAY_BREAKOUT7 = 6,
180  SAY_BREAKOUT8 = 7,
181  SAY_BREAKOUT9 = 8,
182  SAY_BREAKOUT10 = 9,
183 
184  SPELL_KOLTIRA_TRANSFORM = 52899,
185  SPELL_ANTI_MAGIC_ZONE = 52894,
186 
187  QUEST_BREAKOUT = 12727,
188 
189  NPC_CRIMSON_ACOLYTE = 29007,
191 
192  //not sure about this id
193  //NPC_DEATH_KNIGHT_MOUNT = 29201,
195 };
Definition: chapter2.cpp:181
Definition: chapter2.cpp:178
Definition: chapter2.cpp:194
Definition: chapter2.cpp:173
Definition: chapter2.cpp:177
Definition: chapter2.cpp:180
Definition: chapter2.cpp:190
Definition: chapter2.cpp:176
Definition: chapter2.cpp:187
Definition: chapter2.cpp:185
Definition: chapter2.cpp:184
Definition: chapter2.cpp:175
Definition: chapter2.cpp:174
Definition: chapter2.cpp:182
Definition: chapter2.cpp:189
Definition: chapter2.cpp:179
Enumerator
SAY_TREE1 
SAY_TREE2 
SPELL_SHOOT 
GO_INCONSPICUOUS_TREE 
NPC_SCARLET_COURIER 
372 {
373  SAY_TREE1 = 0,
374  SAY_TREE2 = 1,
375  SPELL_SHOOT = 52818,
376  GO_INCONSPICUOUS_TREE = 191144,
377  NPC_SCARLET_COURIER = 29076
378 };
Definition: chapter2.cpp:375
Definition: chapter2.cpp:377
Definition: chapter2.cpp:376
Definition: chapter2.cpp:373
Definition: chapter2.cpp:374
Enumerator
SAY_EXEC_START_1 
SAY_EXEC_START_2 
SAY_EXEC_START_3 
SAY_EXEC_PROG_1 
SAY_EXEC_PROG_2 
SAY_EXEC_PROG_3 
SAY_EXEC_PROG_4 
SAY_EXEC_PROG_5 
SAY_EXEC_PROG_6 
SAY_EXEC_PROG_7 
SAY_EXEC_NAME_1 
SAY_EXEC_NAME_2 
SAY_EXEC_RECOG_1 
SAY_EXEC_RECOG_2 
SAY_EXEC_RECOG_3 
SAY_EXEC_RECOG_4 
SAY_EXEC_RECOG_5 
SAY_EXEC_RECOG_6 
SAY_EXEC_NOREM_1 
SAY_EXEC_NOREM_2 
SAY_EXEC_NOREM_3 
SAY_EXEC_NOREM_4 
SAY_EXEC_NOREM_5 
SAY_EXEC_NOREM_6 
SAY_EXEC_NOREM_7 
SAY_EXEC_NOREM_8 
SAY_EXEC_NOREM_9 
SAY_EXEC_THINK_1 
SAY_EXEC_THINK_2 
SAY_EXEC_THINK_3 
SAY_EXEC_THINK_4 
SAY_EXEC_THINK_5 
SAY_EXEC_THINK_6 
SAY_EXEC_THINK_7 
SAY_EXEC_THINK_8 
SAY_EXEC_THINK_9 
SAY_EXEC_THINK_10 
SAY_EXEC_LISTEN_1 
SAY_EXEC_LISTEN_2 
SAY_EXEC_LISTEN_3 
SAY_EXEC_LISTEN_4 
SAY_PLAGUEFIST 
SAY_EXEC_TIME_1 
SAY_EXEC_TIME_2 
SAY_EXEC_TIME_3 
SAY_EXEC_TIME_4 
SAY_EXEC_TIME_5 
SAY_EXEC_TIME_6 
SAY_EXEC_TIME_7 
SAY_EXEC_TIME_8 
SAY_EXEC_TIME_9 
SAY_EXEC_TIME_10 
SAY_EXEC_WAITING 
EMOTE_DIES 
NPC_PLAGUEFIST 
565 {
566  SAY_EXEC_START_1 = 0, // speech for all
567  SAY_EXEC_START_2 = 1,
568  SAY_EXEC_START_3 = 2,
569  SAY_EXEC_PROG_1 = 3,
570  SAY_EXEC_PROG_2 = 4,
571  SAY_EXEC_PROG_3 = 5,
572  SAY_EXEC_PROG_4 = 6,
573  SAY_EXEC_PROG_5 = 7,
574  SAY_EXEC_PROG_6 = 8,
575  SAY_EXEC_PROG_7 = 9,
576  SAY_EXEC_NAME_1 = 10,
577  SAY_EXEC_NAME_2 = 11,
578  SAY_EXEC_RECOG_1 = 12,
579  SAY_EXEC_RECOG_2 = 13,
580  SAY_EXEC_RECOG_3 = 14,
581  SAY_EXEC_RECOG_4 = 15,
582  SAY_EXEC_RECOG_5 = 16,
583  SAY_EXEC_RECOG_6 = 17,
584  SAY_EXEC_NOREM_1 = 18,
585  SAY_EXEC_NOREM_2 = 19,
586  SAY_EXEC_NOREM_3 = 20,
587  SAY_EXEC_NOREM_4 = 21,
588  SAY_EXEC_NOREM_5 = 22,
589  SAY_EXEC_NOREM_6 = 23,
590  SAY_EXEC_NOREM_7 = 24,
591  SAY_EXEC_NOREM_8 = 25,
592  SAY_EXEC_NOREM_9 = 26,
593  SAY_EXEC_THINK_1 = 27,
594  SAY_EXEC_THINK_2 = 28,
595  SAY_EXEC_THINK_3 = 29,
596  SAY_EXEC_THINK_4 = 30,
597  SAY_EXEC_THINK_5 = 31,
598  SAY_EXEC_THINK_6 = 32,
599  SAY_EXEC_THINK_7 = 33,
600  SAY_EXEC_THINK_8 = 34,
601  SAY_EXEC_THINK_9 = 35,
602  SAY_EXEC_THINK_10 = 36,
603  SAY_EXEC_LISTEN_1 = 37,
604  SAY_EXEC_LISTEN_2 = 38,
605  SAY_EXEC_LISTEN_3 = 39,
606  SAY_EXEC_LISTEN_4 = 40,
607  SAY_PLAGUEFIST = 41,
608  SAY_EXEC_TIME_1 = 42,
609  SAY_EXEC_TIME_2 = 43,
610  SAY_EXEC_TIME_3 = 44,
611  SAY_EXEC_TIME_4 = 45,
612  SAY_EXEC_TIME_5 = 46,
613  SAY_EXEC_TIME_6 = 47,
614  SAY_EXEC_TIME_7 = 48,
615  SAY_EXEC_TIME_8 = 49,
616  SAY_EXEC_TIME_9 = 50,
617  SAY_EXEC_TIME_10 = 51,
618  SAY_EXEC_WAITING = 52,
619  EMOTE_DIES = 53,
620 
621  NPC_PLAGUEFIST = 29053
622 };
Definition: chapter2.cpp:615
Definition: chapter2.cpp:567
Definition: chapter2.cpp:591
Definition: chapter2.cpp:570
Definition: chapter2.cpp:583
Definition: chapter2.cpp:596
Definition: chapter2.cpp:589
Definition: chapter2.cpp:579
Definition: chapter2.cpp:592
Definition: chapter2.cpp:601
Definition: chapter2.cpp:576
Definition: chapter2.cpp:574
Definition: chapter2.cpp:604
Definition: chapter2.cpp:590
Definition: chapter2.cpp:582
Definition: chapter2.cpp:578
Definition: chapter2.cpp:597
Definition: chapter2.cpp:581
Definition: chapter2.cpp:575
Definition: chapter2.cpp:610
Definition: chapter2.cpp:599
Definition: chapter2.cpp:588
Definition: chapter2.cpp:587
Definition: chapter2.cpp:607
Definition: chapter2.cpp:573
Definition: chapter2.cpp:568
Definition: chapter2.cpp:577
Definition: chapter2.cpp:569
Definition: chapter2.cpp:603
Definition: chapter2.cpp:595
Definition: chapter2.cpp:585
Definition: chapter2.cpp:611
Definition: chapter2.cpp:608
Definition: chapter2.cpp:614
Definition: chapter2.cpp:618
Definition: chapter2.cpp:571
Definition: chapter2.cpp:572
Definition: chapter2.cpp:619
Definition: chapter2.cpp:616
Definition: chapter2.cpp:613
Definition: chapter2.cpp:605
Definition: chapter2.cpp:598
Definition: chapter2.cpp:609
Definition: chapter2.cpp:566
Definition: chapter2.cpp:602
Definition: chapter2.cpp:586
Definition: chapter2.cpp:617
Definition: chapter2.cpp:593
Definition: chapter2.cpp:584
Definition: chapter2.cpp:612
Definition: chapter2.cpp:621
Definition: chapter2.cpp:600
Definition: chapter2.cpp:594
Definition: chapter2.cpp:580
Definition: chapter2.cpp:606
enum valroth
Enumerator
SAY_VALROTH_AGGRO 
SAY_VALROTH_RAND 
SAY_VALROTH_DEATH 
SPELL_RENEW 
SPELL_INQUISITOR_PENANCE 
SPELL_VALROTH_SMITE 
SPELL_SUMMON_VALROTH_REMAINS 
469 {
470  //SAY_VALROTH1 = 0, Unused
471  SAY_VALROTH_AGGRO = 1,
472  SAY_VALROTH_RAND = 2,
473  SAY_VALROTH_DEATH = 3,
474  SPELL_RENEW = 38210,
475  SPELL_INQUISITOR_PENANCE = 52922,
476  SPELL_VALROTH_SMITE = 52926,
478 };
Definition: chapter2.cpp:473
Definition: chapter2.cpp:472
Definition: chapter2.cpp:475
Definition: chapter2.cpp:476
Definition: chapter2.cpp:477
Definition: chapter2.cpp:474
Definition: chapter2.cpp:471
Enumerator
SAY_CRUSADER 
SAY_PERSUADED1 
SAY_PERSUADED2 
SAY_PERSUADED3 
SAY_PERSUADED4 
SAY_PERSUADED5 
SAY_PERSUADED6 
SAY_PERSUADE_RAND 
SPELL_PERSUASIVE_STRIKE 
SPELL_THREAT_PULSE 
QUEST_HOW_TO_WIN_FRIENDS 
28 {
29  SAY_CRUSADER = 1,
30  SAY_PERSUADED1 = 2,
31  SAY_PERSUADED2 = 3,
32  SAY_PERSUADED3 = 4,
33  SAY_PERSUADED4 = 5,
34  SAY_PERSUADED5 = 6,
35  SAY_PERSUADED6 = 7,
38  SPELL_THREAT_PULSE = 58111,
40 };
Definition: chapter2.cpp:32
Definition: chapter2.cpp:37
Definition: chapter2.cpp:34
Definition: chapter2.cpp:30
Definition: chapter2.cpp:33
Definition: chapter2.cpp:36
Definition: chapter2.cpp:29
Definition: chapter2.cpp:38
Definition: chapter2.cpp:31
Definition: chapter2.cpp:35
Definition: chapter2.cpp:39

Function Documentation

void AddSC_the_scarlet_enclave_c2 ( )
1053 {
1054  new npc_crusade_persuaded();
1055  new npc_scarlet_courier();
1058  new npc_a_special_surprise();
1059 }
Definition: chapter2.cpp:380
Definition: chapter2.cpp:480
Definition: chapter2.cpp:197
Definition: chapter2.cpp:624
Definition: chapter2.cpp:42

+ Here is the caller graph for this function: