Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
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:

Go to the source code of this file.

Classes

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

Macros

#define GOSSIP_HGG1   "Hello, Greatmother. Garrosh told me that you wanted to speak with me."
#define GOSSIP_HGG2   "Garrosh is beyond redemption, Greatmother. I fear that in helping the Mag'har, I have convinced Garrosh that he is unfit to lead."
#define GOSSIP_SGG1   "You raised all of the orcs here, Greatmother?"
#define GOSSIP_SGG10   "It is my Warchief, Greatmother. The leader of my people. From my world. He ... He is the son of Durotan. He is your grandchild."
#define GOSSIP_SGG11   "I will return to Azeroth at once, Greatmother."
#define GOSSIP_SGG2   "Do you believe that?"
#define GOSSIP_SGG3   "What can be done? I have tried many different things. I have done my best to help the people of Nagrand. Each time I have approached Garrosh, he has dismissed me."
#define GOSSIP_SGG4   "Left? How can you choose to leave?"
#define GOSSIP_SGG5   "What is this duty?"
#define GOSSIP_SGG6   "Is there anything I can do for you, Greatmother?"
#define GOSSIP_SGG7   "I have done all that I could, Greatmother. I thank you for your kind words."
#define GOSSIP_SGG8   "Greatmother, you are the mother of Durotan?"
#define GOSSIP_SGG9   "Greatmother, I never had the honor. Durotan died long before my time, but his heroics are known to all on my world. The orcs of Azeroth reside in a place known as Durotar, named after your son. And ... (You take a moment to breathe and think through what you are about to tell the Greatmother.)"

Enumerations

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  FindingTheSurvivorsData { QUEST_FINDING_THE_SURVIVORS = 9948 , NPC_MAGHAR_PRISONER = 18428 , SAY_FREE = 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  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
}

Functions

void AddSC_nagrand ()

Variables

static 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}

Macro Definition Documentation

◆ GOSSIP_HGG1

#define GOSSIP_HGG1   "Hello, Greatmother. Garrosh told me that you wanted to speak with me."

Definition at line 29 of file zone_nagrand.cpp.

Referenced by npc_greatmother_geyah::OnGossipHello().

◆ GOSSIP_HGG2

#define GOSSIP_HGG2   "Garrosh is beyond redemption, Greatmother. I fear that in helping the Mag'har, I have convinced Garrosh that he is unfit to lead."

Definition at line 30 of file zone_nagrand.cpp.

Referenced by npc_greatmother_geyah::OnGossipHello().

◆ GOSSIP_SGG1

#define GOSSIP_SGG1   "You raised all of the orcs here, Greatmother?"

Definition at line 32 of file zone_nagrand.cpp.

Referenced by npc_greatmother_geyah::OnGossipSelect().

◆ GOSSIP_SGG10

#define GOSSIP_SGG10   "It is my Warchief, Greatmother. The leader of my people. From my world. He ... He is the son of Durotan. He is your grandchild."

Definition at line 41 of file zone_nagrand.cpp.

Referenced by npc_greatmother_geyah::OnGossipSelect().

◆ GOSSIP_SGG11

#define GOSSIP_SGG11   "I will return to Azeroth at once, Greatmother."

Definition at line 42 of file zone_nagrand.cpp.

Referenced by npc_greatmother_geyah::OnGossipSelect().

◆ GOSSIP_SGG2

#define GOSSIP_SGG2   "Do you believe that?"

Definition at line 33 of file zone_nagrand.cpp.

Referenced by npc_greatmother_geyah::OnGossipSelect().

◆ GOSSIP_SGG3

#define GOSSIP_SGG3   "What can be done? I have tried many different things. I have done my best to help the people of Nagrand. Each time I have approached Garrosh, he has dismissed me."

Definition at line 34 of file zone_nagrand.cpp.

Referenced by npc_greatmother_geyah::OnGossipSelect().

◆ GOSSIP_SGG4

#define GOSSIP_SGG4   "Left? How can you choose to leave?"

Definition at line 35 of file zone_nagrand.cpp.

Referenced by npc_greatmother_geyah::OnGossipSelect().

◆ GOSSIP_SGG5

#define GOSSIP_SGG5   "What is this duty?"

Definition at line 36 of file zone_nagrand.cpp.

Referenced by npc_greatmother_geyah::OnGossipSelect().

◆ GOSSIP_SGG6

#define GOSSIP_SGG6   "Is there anything I can do for you, Greatmother?"

Definition at line 37 of file zone_nagrand.cpp.

Referenced by npc_greatmother_geyah::OnGossipSelect().

◆ GOSSIP_SGG7

#define GOSSIP_SGG7   "I have done all that I could, Greatmother. I thank you for your kind words."

Definition at line 38 of file zone_nagrand.cpp.

Referenced by npc_greatmother_geyah::OnGossipSelect().

◆ GOSSIP_SGG8

#define GOSSIP_SGG8   "Greatmother, you are the mother of Durotan?"

Definition at line 39 of file zone_nagrand.cpp.

Referenced by npc_greatmother_geyah::OnGossipSelect().

◆ GOSSIP_SGG9

#define GOSSIP_SGG9   "Greatmother, I never had the honor. Durotan died long before my time, but his heroics are known to all on my world. The orcs of Azeroth reside in a place known as Durotar, named after your son. And ... (You take a moment to breathe and think through what you are about to tell the Greatmother.)"

Definition at line 40 of file zone_nagrand.cpp.

Referenced by npc_greatmother_geyah::OnGossipSelect().

Enumeration Type Documentation

◆ CorkiData

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 

Definition at line 348 of file zone_nagrand.cpp.

◆ FindingTheSurvivorsData

Enumerator
QUEST_FINDING_THE_SURVIVORS 
NPC_MAGHAR_PRISONER 
SAY_FREE 

Definition at line 654 of file zone_nagrand.cpp.

◆ KurenaiCaptive

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 

Definition at line 468 of file zone_nagrand.cpp.

◆ MagharCaptive

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 

Definition at line 137 of file zone_nagrand.cpp.

Function Documentation

◆ AddSC_nagrand()

void AddSC_nagrand ( )

Definition at line 684 of file zone_nagrand.cpp.

Referenced by AddOutlandScripts().

Variable Documentation

◆ kurenaiAmbushA

float kurenaiAmbushA[] = {-1568.805786f, 8533.873047f, 1.958f}
static

Definition at line 491 of file zone_nagrand.cpp.

Referenced by npc_kurenai_captive::OnQuestAccept().

◆ kurenaiAmbushB

float kurenaiAmbushB[] = {-1491.554321f, 8506.483398f, 1.248f}
static

◆ m_afAmbushA

float m_afAmbushA[] = {-1568.805786f, 8533.873047f, 1.958f}
static

Definition at line 160 of file zone_nagrand.cpp.

Referenced by npc_maghar_captive::OnQuestAccept().

◆ m_afAmbushB

float m_afAmbushB[] = {-1491.554321f, 8506.483398f, 1.248f}
static