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

Classes

class  npc_erozion
 
class  npc_thrall_old_hillsbrad
 
struct  npc_thrall_old_hillsbrad::npc_thrall_old_hillsbradAI
 
class  npc_taretha
 
struct  npc_taretha::npc_tarethaAI
 

Macros

#define GOSSIP_HELLO_EROZION1   "I need a pack of Incendiary Bombs."
 
#define GOSSIP_HELLO_EROZION2   "[PH] Teleport please, i'm tired."
 
#define SPEED_WALK   (0.5f)
 
#define SPEED_RUN   (1.0f)
 
#define SPEED_MOUNT   (1.6f)
 
#define GOSSIP_ITEM_SKARLOC1   "Taretha cannot see you, Thrall."
 
#define GOSSIP_ITEM_SKARLOC2   "The situation is rather complicated, Thrall. It would be best for you to head into the mountains now, before more of Blackmoore's men show up. We'll make sure Taretha is safe."
 
#define GOSSIP_ITEM_TARREN   "We're ready, Thrall."
 
#define GOSSIP_ITEM_WALKING   "[PH] Start walking."
 
#define GOSSIP_ITEM_EPOCH1   "Strange wizard?"
 
#define GOSSIP_ITEM_EPOCH2   "We'll get you out. Taretha. Don't worry. I doubt the wizard would wander too far away."
 

Enumerations

enum  Erozion {
  QUEST_ENTRY_HILLSBRAD = 10282, QUEST_ENTRY_DIVERSION = 10283, QUEST_ENTRY_ESCAPE = 10284, QUEST_ENTRY_RETURN = 10285,
  ITEM_ENTRY_BOMBS = 25853
}
 
enum  ThrallOldHillsbrad {
  SAY_TH_START_EVENT_PART1 = 0, SAY_TH_ARMORY = 1, SAY_TH_SKARLOC_MEET = 2, SAY_TH_SKARLOC_TAUNT = 3,
  SAY_TH_START_EVENT_PART2 = 4, SAY_TH_MOUNTS_UP = 5, SAY_TH_CHURCH_END = 6, SAY_TH_MEET_TARETHA = 7,
  SAY_TH_EPOCH_WONDER = 8, SAY_TH_EPOCH_KILL_TARETHA = 9, SAY_TH_EVENT_COMPLETE = 10, SAY_TH_RANDOM_LOW_HP = 11,
  SAY_TH_RANDOM_DIE = 12, SAY_TH_RANDOM_AGGRO = 13, SAY_TH_RANDOM_KILL = 14, SAY_TH_LEAVE_COMBAT = 15,
  SAY_TA_FREE = 0, SAY_TA_ESCAPED = 1, SPELL_STRIKE = 14516, SPELL_SHIELD_BLOCK = 12169,
  SPELL_SUMMON_EROZION_IMAGE = 33954, THRALL_WEAPON_ITEM = 927, THRALL_WEAPON_INFO = 218169346, THRALL_SHIELD_ITEM = 2129,
  THRALL_SHIELD_INFO = 234948100, THRALL_MODEL_UNEQUIPPED = 17292, THRALL_MODEL_EQUIPPED = 18165, ENTRY_ARMORER = 18764,
  ENTRY_SCARLOC = 17862, NPC_RIFLE = 17820, NPC_WARDEN = 17833, NPC_VETERAN = 17860,
  NPC_WATCHMAN = 17814, NPC_SENTRY = 17815, NPC_BARN_GUARDSMAN = 18092, NPC_BARN_PROTECTOR = 18093,
  NPC_BARN_LOOKOUT = 18094, NPC_CHURCH_GUARDSMAN = 23175, NPC_CHURCH_PROTECTOR = 23179, NPC_CHURCH_LOOKOUT = 23177,
  NPC_INN_GUARDSMAN = 23176, NPC_INN_PROTECTOR = 23180, NPC_INN_LOOKOUT = 23178, SKARLOC_MOUNT = 18798,
  SKARLOC_MOUNT_MODEL = 18223, EROZION_ENTRY = 18723, ENTRY_EPOCH = 18096, GOSSIP_ID_START = 9568,
  GOSSIP_ID_SKARLOC1 = 9614, GOSSIP_ID_SKARLOC2 = 9579, GOSSIP_ID_SKARLOC3 = 9580, GOSSIP_ID_TARREN = 9597,
  GOSSIP_ID_COMPLETE = 9578
}
 
enum  Taretha { GOSSIP_ID_EPOCH1 = 9610, GOSSIP_ID_EPOCH2 = 9613 }
 

Functions

void AddSC_old_hillsbrad ()
 

Macro Definition Documentation

#define GOSSIP_HELLO_EROZION1   "I need a pack of Incendiary Bombs."
#define GOSSIP_HELLO_EROZION2   "[PH] Teleport please, i'm tired."
#define GOSSIP_ITEM_EPOCH1   "Strange wizard?"
#define GOSSIP_ITEM_EPOCH2   "We'll get you out. Taretha. Don't worry. I doubt the wizard would wander too far away."
#define GOSSIP_ITEM_SKARLOC1   "Taretha cannot see you, Thrall."
#define GOSSIP_ITEM_SKARLOC2   "The situation is rather complicated, Thrall. It would be best for you to head into the mountains now, before more of Blackmoore's men show up. We'll make sure Taretha is safe."
#define GOSSIP_ITEM_TARREN   "We're ready, Thrall."
#define GOSSIP_ITEM_WALKING   "[PH] Start walking."
#define SPEED_MOUNT   (1.6f)
#define SPEED_RUN   (1.0f)
#define SPEED_WALK   (0.5f)

Enumeration Type Documentation

enum Erozion
Enumerator
QUEST_ENTRY_HILLSBRAD 
QUEST_ENTRY_DIVERSION 
QUEST_ENTRY_ESCAPE 
QUEST_ENTRY_RETURN 
ITEM_ENTRY_BOMBS 
40 {
41  QUEST_ENTRY_HILLSBRAD = 10282,
42  QUEST_ENTRY_DIVERSION = 10283,
43  QUEST_ENTRY_ESCAPE = 10284,
44  QUEST_ENTRY_RETURN = 10285,
45  ITEM_ENTRY_BOMBS = 25853
46 };
Definition: old_hillsbrad.cpp:42
Definition: old_hillsbrad.cpp:44
Definition: old_hillsbrad.cpp:45
Definition: old_hillsbrad.cpp:43
Definition: old_hillsbrad.cpp:41
enum Taretha
Enumerator
GOSSIP_ID_EPOCH1 
GOSSIP_ID_EPOCH2 
553 {
554  GOSSIP_ID_EPOCH1 = 9610, //Thank you for helping Thrall escape, friends. Now I only hope
555  GOSSIP_ID_EPOCH2 = 9613 //Yes, friends. This man was no wizard of
556 };
Definition: old_hillsbrad.cpp:555
Definition: old_hillsbrad.cpp:554
Enumerator
SAY_TH_START_EVENT_PART1 
SAY_TH_ARMORY 
SAY_TH_SKARLOC_MEET 
SAY_TH_SKARLOC_TAUNT 
SAY_TH_START_EVENT_PART2 
SAY_TH_MOUNTS_UP 
SAY_TH_CHURCH_END 
SAY_TH_MEET_TARETHA 
SAY_TH_EPOCH_WONDER 
SAY_TH_EPOCH_KILL_TARETHA 
SAY_TH_EVENT_COMPLETE 
SAY_TH_RANDOM_LOW_HP 
SAY_TH_RANDOM_DIE 
SAY_TH_RANDOM_AGGRO 
SAY_TH_RANDOM_KILL 
SAY_TH_LEAVE_COMBAT 
SAY_TA_FREE 
SAY_TA_ESCAPED 
SPELL_STRIKE 
SPELL_SHIELD_BLOCK 
SPELL_SUMMON_EROZION_IMAGE 
THRALL_WEAPON_ITEM 
THRALL_WEAPON_INFO 
THRALL_SHIELD_ITEM 
THRALL_SHIELD_INFO 
THRALL_MODEL_UNEQUIPPED 
THRALL_MODEL_EQUIPPED 
ENTRY_ARMORER 
ENTRY_SCARLOC 
NPC_RIFLE 
NPC_WARDEN 
NPC_VETERAN 
NPC_WATCHMAN 
NPC_SENTRY 
NPC_BARN_GUARDSMAN 
NPC_BARN_PROTECTOR 
NPC_BARN_LOOKOUT 
NPC_CHURCH_GUARDSMAN 
NPC_CHURCH_PROTECTOR 
NPC_CHURCH_LOOKOUT 
NPC_INN_GUARDSMAN 
NPC_INN_PROTECTOR 
NPC_INN_LOOKOUT 
SKARLOC_MOUNT 
SKARLOC_MOUNT_MODEL 
EROZION_ENTRY 
ENTRY_EPOCH 
GOSSIP_ID_START 
GOSSIP_ID_SKARLOC1 
GOSSIP_ID_SKARLOC2 
GOSSIP_ID_SKARLOC3 
GOSSIP_ID_TARREN 
GOSSIP_ID_COMPLETE 
103 {
105  SAY_TH_ARMORY = 1,
109  SAY_TH_MOUNTS_UP = 5,
110  SAY_TH_CHURCH_END = 6,
115 
117  SAY_TH_RANDOM_DIE = 12,
118  SAY_TH_RANDOM_AGGRO = 13,
119  SAY_TH_RANDOM_KILL = 14,
120  SAY_TH_LEAVE_COMBAT = 15,
121 
122  //Taretha texts
123  SAY_TA_FREE = 0,
124  SAY_TA_ESCAPED = 1,
125 
126  //Misc for Thrall
127  SPELL_STRIKE = 14516,
128  SPELL_SHIELD_BLOCK = 12169,
129  SPELL_SUMMON_EROZION_IMAGE = 33954, //if thrall dies during escort?
130 
131  THRALL_WEAPON_ITEM = 927,
132  THRALL_WEAPON_INFO = 218169346,
133  THRALL_SHIELD_ITEM = 2129,
134  THRALL_SHIELD_INFO = 234948100,
135  THRALL_MODEL_UNEQUIPPED = 17292,
136  THRALL_MODEL_EQUIPPED = 18165,
137 
138  //Misc Creature entries
139  ENTRY_ARMORER = 18764,
140  ENTRY_SCARLOC = 17862,
141 
142  NPC_RIFLE = 17820,
143  NPC_WARDEN = 17833,
144  NPC_VETERAN = 17860,
145  NPC_WATCHMAN = 17814,
146  NPC_SENTRY = 17815,
147 
148  NPC_BARN_GUARDSMAN = 18092,
149  NPC_BARN_PROTECTOR = 18093,
150  NPC_BARN_LOOKOUT = 18094,
151 
152  NPC_CHURCH_GUARDSMAN = 23175,
153  NPC_CHURCH_PROTECTOR = 23179,
154  NPC_CHURCH_LOOKOUT = 23177,
155 
156  NPC_INN_GUARDSMAN = 23176,
157  NPC_INN_PROTECTOR = 23180,
158  NPC_INN_LOOKOUT = 23178,
159 
160  SKARLOC_MOUNT = 18798,
161  SKARLOC_MOUNT_MODEL = 18223,
162  EROZION_ENTRY = 18723,
163  ENTRY_EPOCH = 18096,
164 
165  GOSSIP_ID_START = 9568,
166  GOSSIP_ID_SKARLOC1 = 9614, //I'm glad Taretha is alive. We now must find a way to free her...
167  GOSSIP_ID_SKARLOC2 = 9579, //What do you mean by this? Is Taretha in danger?
168  GOSSIP_ID_SKARLOC3 = 9580,
169  GOSSIP_ID_TARREN = 9597, //tarren mill is beyond these trees
170  GOSSIP_ID_COMPLETE = 9578 //Thank you friends, I owe my freedom to you. Where is Taretha? I hoped to see her
171 };
Definition: old_hillsbrad.cpp:160
Definition: old_hillsbrad.cpp:142
Definition: old_hillsbrad.cpp:111
Definition: old_hillsbrad.cpp:162
Definition: old_hillsbrad.cpp:128
Definition: old_hillsbrad.cpp:157
Definition: old_hillsbrad.cpp:166
Definition: old_hillsbrad.cpp:105
Definition: old_hillsbrad.cpp:145
Definition: old_hillsbrad.cpp:124
Definition: old_hillsbrad.cpp:169
Definition: old_hillsbrad.cpp:161
Definition: old_hillsbrad.cpp:104
Definition: old_hillsbrad.cpp:139
Definition: old_hillsbrad.cpp:110
Definition: old_hillsbrad.cpp:116
Definition: old_hillsbrad.cpp:120
Definition: old_hillsbrad.cpp:107
Definition: old_hillsbrad.cpp:114
Definition: old_hillsbrad.cpp:134
Definition: old_hillsbrad.cpp:152
Definition: old_hillsbrad.cpp:153
Definition: old_hillsbrad.cpp:127
Definition: old_hillsbrad.cpp:123
Definition: old_hillsbrad.cpp:149
Definition: old_hillsbrad.cpp:112
Definition: old_hillsbrad.cpp:106
Definition: old_hillsbrad.cpp:118
Definition: old_hillsbrad.cpp:109
Definition: old_hillsbrad.cpp:165
Definition: old_hillsbrad.cpp:136
Definition: old_hillsbrad.cpp:154
Definition: old_hillsbrad.cpp:170
Definition: old_hillsbrad.cpp:117
Definition: old_hillsbrad.cpp:132
Definition: old_hillsbrad.cpp:131
Definition: old_hillsbrad.cpp:146
Definition: old_hillsbrad.cpp:158
Definition: old_hillsbrad.cpp:133
Definition: old_hillsbrad.cpp:144
Definition: old_hillsbrad.cpp:167
Definition: old_hillsbrad.cpp:113
Definition: old_hillsbrad.cpp:108
Definition: old_hillsbrad.cpp:140
Definition: old_hillsbrad.cpp:148
Definition: old_hillsbrad.cpp:119
Definition: old_hillsbrad.cpp:150
Definition: old_hillsbrad.cpp:143
Definition: old_hillsbrad.cpp:135
Definition: old_hillsbrad.cpp:168
Definition: old_hillsbrad.cpp:129
Definition: old_hillsbrad.cpp:163
Definition: old_hillsbrad.cpp:156

Function Documentation

void AddSC_old_hillsbrad ( )
646 {
647  new npc_erozion();
649  new npc_taretha();
650 }
Definition: old_hillsbrad.cpp:561
Definition: old_hillsbrad.cpp:54
Definition: old_hillsbrad.cpp:183

+ Here is the caller graph for this function: