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

Classes

class  npc_sergeant_bly
 
struct  npc_sergeant_bly::npc_sergeant_blyAI
 
class  go_troll_cage
 
class  npc_weegli_blastfuse
 
struct  npc_weegli_blastfuse::npc_weegli_blastfuseAI
 
class  go_shallow_grave
 
class  at_zumrah
 

Macros

#define GOSSIP_BLY   "[PH] In that case, I will take my reward!"
 
#define GOSSIP_WEEGLI   "[PH] Please blow up the door."
 

Enumerations

enum  blyAndCrewFactions { FACTION_HOSTILE = 14, FACTION_FRIENDLY = 35, FACTION_FREED = 250 }
 
enum  blySays { SAY_1 = 0, SAY_2 = 1 }
 
enum  blySpells { SPELL_SHIELD_BASH = 11972, SPELL_REVENGE = 12170 }
 
enum  weegliSpells { SPELL_BOMB = 8858, SPELL_GOBLIN_LAND_MINE = 21688, SPELL_SHOOT = 6660, SPELL_WEEGLIS_BARREL = 10772 }
 
enum  weegliSays { SAY_WEEGLI_OHNO = 0, SAY_WEEGLI_OK_I_GO = 1 }
 
enum  ShallowGrave { NPC_ZOMBIE = 7286, NPC_DEAD_HERO = 7276, CHANCE_ZOMBIE = 65, CHANCE_DEAD_HERO = 10 }
 
enum  zumrahConsts { ZUMRAH_ID = 7271, ZUMRAH_HOSTILE_FACTION = 37 }
 

Functions

void AddSC_zulfarrak ()
 

Macro Definition Documentation

#define GOSSIP_BLY   "[PH] In that case, I will take my reward!"
#define GOSSIP_WEEGLI   "[PH] Please blow up the door."

Enumeration Type Documentation

Enumerator
FACTION_HOSTILE 
FACTION_FRIENDLY 
FACTION_FREED 
42 {
43  FACTION_HOSTILE = 14,
44  FACTION_FRIENDLY = 35, //while in cages (so the trolls won't attack them while they're caged)
45  FACTION_FREED = 250 //after release (so they'll be hostile towards trolls)
46 };
Definition: zulfarrak.cpp:45
Definition: zulfarrak.cpp:43
Definition: zulfarrak.cpp:44
enum blySays
Enumerator
SAY_1 
SAY_2 
49 {
50  SAY_1 = 0,
51  SAY_2 = 1
52 };
Definition: zulfarrak.cpp:51
Definition: zulfarrak.cpp:50
enum blySpells
Enumerator
SPELL_SHIELD_BASH 
SPELL_REVENGE 
55 {
56  SPELL_SHIELD_BASH = 11972,
57  SPELL_REVENGE = 12170
58 };
Definition: zulfarrak.cpp:56
Definition: zulfarrak.cpp:57
Enumerator
NPC_ZOMBIE 
NPC_DEAD_HERO 
CHANCE_ZOMBIE 
CHANCE_DEAD_HERO 
403 {
404  NPC_ZOMBIE = 7286,
405  NPC_DEAD_HERO = 7276,
406  CHANCE_ZOMBIE = 65,
407  CHANCE_DEAD_HERO = 10
408 };
Definition: zulfarrak.cpp:406
Definition: zulfarrak.cpp:404
Definition: zulfarrak.cpp:405
Definition: zulfarrak.cpp:407
enum weegliSays
Enumerator
SAY_WEEGLI_OHNO 
SAY_WEEGLI_OK_I_GO 
256 {
257  SAY_WEEGLI_OHNO = 0,
259 };
Definition: zulfarrak.cpp:258
Definition: zulfarrak.cpp:257
Enumerator
SPELL_BOMB 
SPELL_GOBLIN_LAND_MINE 
SPELL_SHOOT 
SPELL_WEEGLIS_BARREL 
248 {
249  SPELL_BOMB = 8858,
250  SPELL_GOBLIN_LAND_MINE = 21688,
251  SPELL_SHOOT = 6660,
252  SPELL_WEEGLIS_BARREL = 10772
253 };
Definition: zulfarrak.cpp:249
Definition: zulfarrak.cpp:252
Definition: zulfarrak.cpp:250
Definition: zulfarrak.cpp:251
Enumerator
ZUMRAH_ID 
ZUMRAH_HOSTILE_FACTION 
437 {
438  ZUMRAH_ID = 7271,
440 };
Definition: zulfarrak.cpp:438
Definition: zulfarrak.cpp:439

Function Documentation

void AddSC_zulfarrak ( )
461 {
462  new npc_sergeant_bly();
463  new npc_weegli_blastfuse();
464  new go_shallow_grave();
465  new at_zumrah();
466  new go_troll_cage();
467 }
Definition: zulfarrak.cpp:442
Definition: zulfarrak.cpp:410
Definition: zulfarrak.cpp:62
Definition: zulfarrak.cpp:263
Definition: zulfarrak.cpp:209

+ Here is the caller graph for this function: