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

Classes

class  npc_maghar_captive
 
struct  npc_maghar_captive::npc_maghar_captiveAI
 
class  npc_creditmarker_visit_with_ancestors
 
struct  npc_creditmarker_visit_with_ancestors::npc_creditmarker_visit_with_ancestorsAI
 
class  go_corkis_prison
 
class  npc_corki
 
struct  npc_corki::npc_corkiAI
 
class  npc_kurenai_captive
 
struct  npc_kurenai_captive::npc_kurenai_captiveAI
 
class  go_warmaul_prison
 

Enumerations

enum  MagharCaptive {
  SAY_MAG_START = 0, SAY_MAG_NO_ESCAPE = 0, SAY_MAG_MORE = 1, SAY_MAG_MORE_REPLY = 0,
  SAY_MAG_LIGHTNING = 2, SAY_MAG_SHOCK = 3, SAY_MAG_COMPLETE = 4, SPELL_CHAIN_LIGHTNING = 16006,
  SPELL_EARTHBIND_TOTEM = 15786, SPELL_FROST_SHOCK = 12548, SPELL_HEALING_WAVE = 12491, QUEST_TOTEM_KARDASH_H = 9868,
  NPC_MURK_RAIDER = 18203, NPC_MURK_BRUTE = 18211, NPC_MURK_SCAVENGER = 18207, NPC_MURK_PUTRIFIER = 18202
}
 
enum  CorkiData {
  QUEST_HELP = 9923, NPC_CORKI = 18445, NPC_CORKI_CREDIT_1 = 18369, GO_CORKIS_PRISON = 182349,
  CORKI_SAY_THANKS = 0, QUEST_CORKIS_GONE_MISSING_AGAIN = 9924, NPC_CORKI_2 = 20812, GO_CORKIS_PRISON_2 = 182350,
  CORKI_SAY_PROMISE = 0, QUEST_CHOWAR_THE_PILLAGER = 9955, NPC_CORKI_3 = 18369, NPC_CORKI_CREDIT_3 = 18444,
  GO_CORKIS_PRISON_3 = 182521, CORKI_SAY_LAST = 0
}
 
enum  KurenaiCaptive {
  SAY_KUR_START = 0, SAY_KUR_NO_ESCAPE = 1, SAY_KUR_MORE = 2, SAY_KUR_MORE_TWO = 3,
  SAY_KUR_LIGHTNING = 4, SAY_KUR_SHOCK = 5, SAY_KUR_COMPLETE = 6, SPELL_KUR_CHAIN_LIGHTNING = 16006,
  SPELL_KUR_EARTHBIND_TOTEM = 15786, SPELL_KUR_FROST_SHOCK = 12548, SPELL_KUR_HEALING_WAVE = 12491, QUEST_TOTEM_KARDASH_A = 9879,
  NPC_KUR_MURK_RAIDER = 18203, NPC_KUR_MURK_BRUTE = 18211, NPC_KUR_MURK_SCAVENGER = 18207, NPC_KUR_MURK_PUTRIFIER = 18202
}
 
enum  FindingTheSurvivorsData { QUEST_FINDING_THE_SURVIVORS = 9948, NPC_MAGHAR_PRISONER = 18428, SAY_FREE = 0 }
 

Functions

void AddSC_nagrand ()
 

Variables

static float m_afAmbushA [] = {-1568.805786f, 8533.873047f, 1.958f}
 
static float m_afAmbushB [] = {-1491.554321f, 8506.483398f, 1.248f}
 
static float kurenaiAmbushA [] = {-1568.805786f, 8533.873047f, 1.958f}
 
static float kurenaiAmbushB [] = {-1491.554321f, 8506.483398f, 1.248f}
 

Enumeration Type Documentation

enum CorkiData
Enumerator
QUEST_HELP 
NPC_CORKI 
NPC_CORKI_CREDIT_1 
GO_CORKIS_PRISON 
CORKI_SAY_THANKS 
QUEST_CORKIS_GONE_MISSING_AGAIN 
NPC_CORKI_2 
GO_CORKIS_PRISON_2 
CORKI_SAY_PROMISE 
QUEST_CHOWAR_THE_PILLAGER 
NPC_CORKI_3 
NPC_CORKI_CREDIT_3 
GO_CORKIS_PRISON_3 
CORKI_SAY_LAST 
268 {
269  // first quest
270  QUEST_HELP = 9923,
271  NPC_CORKI = 18445,
272  NPC_CORKI_CREDIT_1 = 18369,
273  GO_CORKIS_PRISON = 182349,
274  CORKI_SAY_THANKS = 0,
275  // 2nd quest
277  NPC_CORKI_2 = 20812,
278  GO_CORKIS_PRISON_2 = 182350,
279  CORKI_SAY_PROMISE = 0,
280  // 3rd quest
282  NPC_CORKI_3 = 18369,
283  NPC_CORKI_CREDIT_3 = 18444,
284  GO_CORKIS_PRISON_3 = 182521,
285  CORKI_SAY_LAST = 0
286 };
Definition: zone_nagrand.cpp:271
Definition: zone_nagrand.cpp:272
Definition: zone_nagrand.cpp:284
Definition: zone_nagrand.cpp:281
Definition: zone_nagrand.cpp:273
Definition: zone_nagrand.cpp:282
Definition: zone_nagrand.cpp:279
Definition: zone_nagrand.cpp:277
Definition: zone_nagrand.cpp:270
Definition: zone_nagrand.cpp:276
Definition: zone_nagrand.cpp:274
Definition: zone_nagrand.cpp:278
Definition: zone_nagrand.cpp:283
Definition: zone_nagrand.cpp:285
Enumerator
QUEST_FINDING_THE_SURVIVORS 
NPC_MAGHAR_PRISONER 
SAY_FREE 
593 {
595  NPC_MAGHAR_PRISONER = 18428,
596 
597  SAY_FREE = 0,
598 };
Definition: zone_nagrand.cpp:597
Definition: zone_nagrand.cpp:594
Definition: zone_nagrand.cpp:595
Enumerator
SAY_KUR_START 
SAY_KUR_NO_ESCAPE 
SAY_KUR_MORE 
SAY_KUR_MORE_TWO 
SAY_KUR_LIGHTNING 
SAY_KUR_SHOCK 
SAY_KUR_COMPLETE 
SPELL_KUR_CHAIN_LIGHTNING 
SPELL_KUR_EARTHBIND_TOTEM 
SPELL_KUR_FROST_SHOCK 
SPELL_KUR_HEALING_WAVE 
QUEST_TOTEM_KARDASH_A 
NPC_KUR_MURK_RAIDER 
NPC_KUR_MURK_BRUTE 
NPC_KUR_MURK_SCAVENGER 
NPC_KUR_MURK_PUTRIFIER 
396 {
397  SAY_KUR_START = 0,
398  SAY_KUR_NO_ESCAPE = 1,
399  SAY_KUR_MORE = 2,
400  SAY_KUR_MORE_TWO = 3,
401  SAY_KUR_LIGHTNING = 4,
402  SAY_KUR_SHOCK = 5,
403  SAY_KUR_COMPLETE = 6,
404 
407  SPELL_KUR_FROST_SHOCK = 12548,
408  SPELL_KUR_HEALING_WAVE = 12491,
409 
410  QUEST_TOTEM_KARDASH_A = 9879,
411 
412  NPC_KUR_MURK_RAIDER = 18203,
413  NPC_KUR_MURK_BRUTE = 18211,
414  NPC_KUR_MURK_SCAVENGER = 18207,
415  NPC_KUR_MURK_PUTRIFIER = 18202,
416 };
Definition: zone_nagrand.cpp:402
Definition: zone_nagrand.cpp:401
Definition: zone_nagrand.cpp:415
Definition: zone_nagrand.cpp:414
Definition: zone_nagrand.cpp:399
Definition: zone_nagrand.cpp:400
Definition: zone_nagrand.cpp:397
Definition: zone_nagrand.cpp:408
Definition: zone_nagrand.cpp:407
Definition: zone_nagrand.cpp:398
Definition: zone_nagrand.cpp:412
Definition: zone_nagrand.cpp:405
Definition: zone_nagrand.cpp:403
Definition: zone_nagrand.cpp:413
Definition: zone_nagrand.cpp:410
Definition: zone_nagrand.cpp:406
Enumerator
SAY_MAG_START 
SAY_MAG_NO_ESCAPE 
SAY_MAG_MORE 
SAY_MAG_MORE_REPLY 
SAY_MAG_LIGHTNING 
SAY_MAG_SHOCK 
SAY_MAG_COMPLETE 
SPELL_CHAIN_LIGHTNING 
SPELL_EARTHBIND_TOTEM 
SPELL_FROST_SHOCK 
SPELL_HEALING_WAVE 
QUEST_TOTEM_KARDASH_H 
NPC_MURK_RAIDER 
NPC_MURK_BRUTE 
NPC_MURK_SCAVENGER 
NPC_MURK_PUTRIFIER 
42 {
43  SAY_MAG_START = 0,
45  SAY_MAG_MORE = 1,
48  SAY_MAG_SHOCK = 3,
49  SAY_MAG_COMPLETE = 4,
50 
51  SPELL_CHAIN_LIGHTNING = 16006,
52  SPELL_EARTHBIND_TOTEM = 15786,
53  SPELL_FROST_SHOCK = 12548,
54  SPELL_HEALING_WAVE = 12491,
55 
56  QUEST_TOTEM_KARDASH_H = 9868,
57 
58  NPC_MURK_RAIDER = 18203,
59  NPC_MURK_BRUTE = 18211,
60  NPC_MURK_SCAVENGER = 18207,
61  NPC_MURK_PUTRIFIER = 18202
62 };
Definition: zone_nagrand.cpp:43
Definition: zone_nagrand.cpp:58
Definition: zone_nagrand.cpp:52
Definition: zone_nagrand.cpp:44
Definition: zone_nagrand.cpp:61
Definition: zone_nagrand.cpp:51
Definition: zone_nagrand.cpp:49
Definition: zone_nagrand.cpp:45
Definition: zone_nagrand.cpp:54
Definition: zone_nagrand.cpp:53
Definition: zone_nagrand.cpp:48
Definition: zone_nagrand.cpp:46
Definition: zone_nagrand.cpp:59
Definition: zone_nagrand.cpp:60
Definition: zone_nagrand.cpp:56
Definition: zone_nagrand.cpp:47

Function Documentation

void AddSC_nagrand ( )
623 {
624  new npc_maghar_captive();
626  new npc_corki();
627  new go_corkis_prison();
628  new npc_kurenai_captive();
629  new go_warmaul_prison();
630 }
Definition: zone_nagrand.cpp:329
Definition: zone_nagrand.cpp:224
Definition: zone_nagrand.cpp:288
Definition: zone_nagrand.cpp:421
Definition: zone_nagrand.cpp:67
Definition: zone_nagrand.cpp:600

+ Here is the caller graph for this function:

Variable Documentation

float kurenaiAmbushA[] = {-1568.805786f, 8533.873047f, 1.958f}
static
float kurenaiAmbushB[] = {-1491.554321f, 8506.483398f, 1.248f}
static
float m_afAmbushA[] = {-1568.805786f, 8533.873047f, 1.958f}
static
float m_afAmbushB[] = {-1491.554321f, 8506.483398f, 1.248f}
static