AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
pilgrims_bounty.cpp File Reference
#include "AchievementCriteriaScript.h"
#include "CombatAI.h"
#include "CreatureScript.h"
#include "PassiveAI.h"
#include "Player.h"
#include "SpellAuraEffects.h"
#include "SpellMgr.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "Vehicle.h"

Go to the source code of this file.

Classes

struct  npc_pilgrims_bounty_chair
 
struct  npc_pilgrims_bounty_plate
 
class  spell_pilgrims_bounty_pass_generic
 
class  spell_pilgrims_bounty_feast_on_generic
 
class  spell_pilgrims_bounty_turkey_tracker
 
class  spell_pilgrims_bounty_serve_generic
 
class  spell_pilgrims_bounty_food_aura
 
class  spell_pilgrims_bounty_food
 
class  achievement_pb_pilgrims_peril
 
class  achievement_pb_terokkar_turkey_time
 

Enumerations

enum  tableEvent {
  SPELL_PASS_TURKEY = 66250 ,
  SPELL_PASS_STUFFING = 66259 ,
  SPELL_PASS_PIE = 66260 ,
  SPELL_PASS_CRANBERRY = 66261 ,
  SPELL_PASS_SWEET_POTATO = 66262 ,
  SPELL_VISUAL_THROW_TURKEY = 61822 ,
  SPELL_VISUAL_THROW_STUFFING = 61823 ,
  SPELL_VISUAL_THROW_PIE = 61825 ,
  SPELL_VISUAL_THROW_CRANBERRY = 61821 ,
  SPELL_VISUAL_THROW_SWEET_POTATO = 61824 ,
  SPELL_VISUAL_BOUNCE_TURKEY = 61928 ,
  SPELL_VISUAL_BOUNCE_STUFFING = 61927 ,
  SPELL_VISUAL_BOUNCE_PIE = 61926 ,
  SPELL_VISUAL_BOUNCE_CRANBERRY = 61925 ,
  SPELL_VISUAL_BOUNCE_SWEET_POTATO = 61929 ,
  SPELL_PLATE_TURKEY = 61835 ,
  SPELL_PLATE_STUFFING = 61836 ,
  SPELL_PLATE_PIE = 61838 ,
  SPELL_PLATE_CRANBERRY = 61833 ,
  SPELL_PLATE_SWEET_POTATO = 61837 ,
  SPELL_STORE_TURKEY = 61807 ,
  SPELL_STORE_STUFFING = 61806 ,
  SPELL_STORE_PIE = 61805 ,
  SPELL_STORE_CRANBERRY = 61804 ,
  SPELL_STORE_SWEET_POTATO = 61808 ,
  SPELL_CAN_EAT_TURKEY = 61801 ,
  SPELL_CAN_EAT_STUFFING = 61800 ,
  SPELL_CAN_EAT_PIE = 61799 ,
  SPELL_CAN_EAT_CRANBERRY = 61798 ,
  SPELL_CAN_EAT_SWEET_POTATO = 61802 ,
  SPELL_FEAST_ON_TURKEY = 61784 ,
  SPELL_FEAST_ON_STUFFING = 61788 ,
  SPELL_FEAST_ON_PIE = 61787 ,
  SPELL_FEAST_ON_CRANBERRY = 61785 ,
  SPELL_FEAST_ON_SWEET_POTATOES = 61786 ,
  SPELL_PLAYER_TURKEY = 61842 ,
  SPELL_PLAYER_STUFFING = 61843 ,
  SPELL_PLAYER_PIE = 61845 ,
  SPELL_PLAYER_CRANBERRY = 61841 ,
  SPELL_PLAYER_SWEET_POTATOES = 61844 ,
  SPELL_WELL_FED_TURKEY = 65414 ,
  SPELL_WELL_FED_STUFFING = 65416 ,
  SPELL_WELL_FED_PIE = 65415 ,
  SPELL_WELL_FED_CRANBERRY = 65412 ,
  SPELL_WELL_FED_SWEET_POTATOES = 65410 ,
  SPELL_ACHI_PASS_TURKEY = 66373 ,
  SPELL_ACHI_PASS_STUFFING = 66375 ,
  SPELL_ACHI_PASS_PIE = 66374 ,
  SPELL_ACHI_PASS_CRANBERRY = 66372 ,
  SPELL_ACHI_PASS_SWEET_POTATOES = 66376 ,
  SPELL_SPIRIT_OF_SHARING = 61849 ,
  NPC_STRUDY_PLATE = 32839 ,
  NPC_BOUNTIFUL_TABLE = 32823
}
 
enum  tTracker {
  SPELL_TURKEY_TRACKER = 62014 ,
  SPELL_ACHI_TURKINATOR_CREDIT = 62021
}
 
enum  Say {
  SAY_AGGRO = 0 ,
  SAY_LEASH = 1 ,
  SAY_EGGS_BROKEN1 = 0 ,
  SAY_EGGS_BROKEN2 = 1 ,
  SAY_EGGS_BROKEN3 = 2 ,
  SAY_DEATH = 3 ,
  EMOTE_TROOPS_RETREAT = 0 ,
  SAY_RESPAWN = 0 ,
  SAY_AGGRO ,
  SAY_KILL ,
  SAY_AGGRO = 1 ,
  SAY_TURKEY_HUNTER = 33163 ,
  SAY_TURKEY_DOMINATION = 33164 ,
  SAY_TURKEY_SLAUGHTER = 33165 ,
  SAY_TURKEY_TRIUMPH = 33167 ,
  SAY_TELEPORT = 0 ,
  SAY_AGGRO ,
  SAY_KILL ,
  SAY_INTRO_0 = 0 ,
  SAY_INTRO_1 = 1 ,
  SAY_INTRO_2 = 2 ,
  SAY_KILL = 3 ,
  SAY_DEATH = 4 ,
  EMOTE_ENRAGE = 5 ,
  EMOTE_MASTERS_EYE_AT = 0 ,
  SAY_SOULS_LICH_KING_RAND_WHISPER = 5 ,
  SAY_AGGRO = 0 ,
  SAY_AGGRO = 1 ,
  SAY_SLAY = 2 ,
  SAY_WHIRLWIND = 3 ,
  SAY_HEAL = 4 ,
  SAY_DEATH = 5 ,
  SAY_SOCCOTHRATES_DEATH = 7 ,
  SAY_AGGRO_DALLIAH_FIRST = 0 ,
  SAY_DALLIAH_25_PERCENT = 5 ,
  SAY_AGGRO = 1 ,
  SAY_SLAY = 2 ,
  SAY_KNOCK_AWAY = 3 ,
  SAY_DEATH = 4 ,
  SAY_DALLIAH_DEATH = 6 ,
  SAY_SOCCOTHRATES_CONVO_1 = 7 ,
  SAY_SOCCOTHRATES_CONVO_2 = 8 ,
  SAY_SOCCOTHRATES_CONVO_3 = 9 ,
  SAY_SOCCOTHRATES_CONVO_4 = 10 ,
  SAY_AGGRO_SOCCOTHRATES_FIRST = 0 ,
  SAY_SOCCOTHRATES_25_PERCENT = 6 ,
  SAY_DALLIAH_CONVO_1 = 8 ,
  SAY_DALLIAH_CONVO_2 = 9 ,
  SAY_DALLIAH_CONVO_3 = 10 ,
  SAY_AGGRO = 0 ,
  SAY_SLAY = 1 ,
  SAY_SHADOW_NOVA = 2 ,
  SAY_DEATH = 3 ,
  SAY_AGGRO = 0 ,
  SAY_SLAY = 1 ,
  SAY_SAW_BLADE = 2 ,
  SAY_DEATH = 3
}
 
enum  pilgrimsPeril {
  ITEM_PILGRIMS_ROBE = 46824 ,
  ITEM_PILGRIMS_ATTIRE = 46800 ,
  ITEM_PILGRIMS_DRESS = 44785 ,
  ITEM_PILGRIMS_HAT = 46723
}
 

Functions

void AddSC_event_pilgrims_end_scripts ()
 

Enumeration Type Documentation

◆ pilgrimsPeril

Enumerator
ITEM_PILGRIMS_ROBE 
ITEM_PILGRIMS_ATTIRE 
ITEM_PILGRIMS_DRESS 
ITEM_PILGRIMS_HAT 
635{
636 ITEM_PILGRIMS_ROBE = 46824,
637 ITEM_PILGRIMS_ATTIRE = 46800,
638 ITEM_PILGRIMS_DRESS = 44785,
639 ITEM_PILGRIMS_HAT = 46723,
640};
@ ITEM_PILGRIMS_ROBE
Definition: pilgrims_bounty.cpp:636
@ ITEM_PILGRIMS_HAT
Definition: pilgrims_bounty.cpp:639
@ ITEM_PILGRIMS_ATTIRE
Definition: pilgrims_bounty.cpp:637
@ ITEM_PILGRIMS_DRESS
Definition: pilgrims_bounty.cpp:638

◆ Say

enum Say
Enumerator
SAY_AGGRO 
SAY_LEASH 
SAY_EGGS_BROKEN1 
SAY_EGGS_BROKEN2 
SAY_EGGS_BROKEN3 
SAY_DEATH 
EMOTE_TROOPS_RETREAT 
SAY_RESPAWN 
SAY_AGGRO 
SAY_KILL 
SAY_AGGRO 
SAY_TURKEY_HUNTER 
SAY_TURKEY_DOMINATION 
SAY_TURKEY_SLAUGHTER 
SAY_TURKEY_TRIUMPH 
SAY_TELEPORT 
SAY_AGGRO 
SAY_KILL 
SAY_INTRO_0 
SAY_INTRO_1 
SAY_INTRO_2 
SAY_KILL 
SAY_DEATH 
EMOTE_ENRAGE 
EMOTE_MASTERS_EYE_AT 
SAY_SOULS_LICH_KING_RAND_WHISPER 
SAY_AGGRO 
SAY_AGGRO 
SAY_SLAY 
SAY_WHIRLWIND 
SAY_HEAL 
SAY_DEATH 
SAY_SOCCOTHRATES_DEATH 
SAY_AGGRO_DALLIAH_FIRST 
SAY_DALLIAH_25_PERCENT 
SAY_AGGRO 
SAY_SLAY 
SAY_KNOCK_AWAY 
SAY_DEATH 
SAY_DALLIAH_DEATH 
SAY_SOCCOTHRATES_CONVO_1 
SAY_SOCCOTHRATES_CONVO_2 
SAY_SOCCOTHRATES_CONVO_3 
SAY_SOCCOTHRATES_CONVO_4 
SAY_AGGRO_SOCCOTHRATES_FIRST 
SAY_SOCCOTHRATES_25_PERCENT 
SAY_DALLIAH_CONVO_1 
SAY_DALLIAH_CONVO_2 
SAY_DALLIAH_CONVO_3 
SAY_AGGRO 
SAY_SLAY 
SAY_SHADOW_NOVA 
SAY_DEATH 
SAY_AGGRO 
SAY_SLAY 
SAY_SAW_BLADE 
SAY_DEATH 
523{
524 SAY_TURKEY_HUNTER = 33163,
525 SAY_TURKEY_DOMINATION = 33164,
526 SAY_TURKEY_SLAUGHTER = 33165,
527 SAY_TURKEY_TRIUMPH = 33167
528};
@ SAY_TURKEY_HUNTER
Definition: pilgrims_bounty.cpp:524
@ SAY_TURKEY_TRIUMPH
Definition: pilgrims_bounty.cpp:527
@ SAY_TURKEY_SLAUGHTER
Definition: pilgrims_bounty.cpp:526
@ SAY_TURKEY_DOMINATION
Definition: pilgrims_bounty.cpp:525

◆ tableEvent

enum tableEvent
Enumerator
SPELL_PASS_TURKEY 
SPELL_PASS_STUFFING 
SPELL_PASS_PIE 
SPELL_PASS_CRANBERRY 
SPELL_PASS_SWEET_POTATO 
SPELL_VISUAL_THROW_TURKEY 
SPELL_VISUAL_THROW_STUFFING 
SPELL_VISUAL_THROW_PIE 
SPELL_VISUAL_THROW_CRANBERRY 
SPELL_VISUAL_THROW_SWEET_POTATO 
SPELL_VISUAL_BOUNCE_TURKEY 
SPELL_VISUAL_BOUNCE_STUFFING 
SPELL_VISUAL_BOUNCE_PIE 
SPELL_VISUAL_BOUNCE_CRANBERRY 
SPELL_VISUAL_BOUNCE_SWEET_POTATO 
SPELL_PLATE_TURKEY 
SPELL_PLATE_STUFFING 
SPELL_PLATE_PIE 
SPELL_PLATE_CRANBERRY 
SPELL_PLATE_SWEET_POTATO 
SPELL_STORE_TURKEY 
SPELL_STORE_STUFFING 
SPELL_STORE_PIE 
SPELL_STORE_CRANBERRY 
SPELL_STORE_SWEET_POTATO 
SPELL_CAN_EAT_TURKEY 
SPELL_CAN_EAT_STUFFING 
SPELL_CAN_EAT_PIE 
SPELL_CAN_EAT_CRANBERRY 
SPELL_CAN_EAT_SWEET_POTATO 
SPELL_FEAST_ON_TURKEY 
SPELL_FEAST_ON_STUFFING 
SPELL_FEAST_ON_PIE 
SPELL_FEAST_ON_CRANBERRY 
SPELL_FEAST_ON_SWEET_POTATOES 
SPELL_PLAYER_TURKEY 
SPELL_PLAYER_STUFFING 
SPELL_PLAYER_PIE 
SPELL_PLAYER_CRANBERRY 
SPELL_PLAYER_SWEET_POTATOES 
SPELL_WELL_FED_TURKEY 
SPELL_WELL_FED_STUFFING 
SPELL_WELL_FED_PIE 
SPELL_WELL_FED_CRANBERRY 
SPELL_WELL_FED_SWEET_POTATOES 
SPELL_ACHI_PASS_TURKEY 
SPELL_ACHI_PASS_STUFFING 
SPELL_ACHI_PASS_PIE 
SPELL_ACHI_PASS_CRANBERRY 
SPELL_ACHI_PASS_SWEET_POTATOES 
SPELL_SPIRIT_OF_SHARING 
NPC_STRUDY_PLATE 
NPC_BOUNTIFUL_TABLE 
34{
35 // Spells
36 SPELL_PASS_TURKEY = 66250,
37 SPELL_PASS_STUFFING = 66259,
38 SPELL_PASS_PIE = 66260,
41
47
53
54 SPELL_PLATE_TURKEY = 61835,
56 SPELL_PLATE_PIE = 61838,
59
60 SPELL_STORE_TURKEY = 61807,
62 SPELL_STORE_PIE = 61805,
65
68 SPELL_CAN_EAT_PIE = 61799,
71
74 SPELL_FEAST_ON_PIE = 61787,
77
78 SPELL_PLAYER_TURKEY = 61842,
80 SPELL_PLAYER_PIE = 61845,
83
86 SPELL_WELL_FED_PIE = 65415,
89
92 SPELL_ACHI_PASS_PIE = 66374,
95
97
98 // NPCs
99 NPC_STRUDY_PLATE = 32839,
100 NPC_BOUNTIFUL_TABLE = 32823,
101};
@ SPELL_FEAST_ON_PIE
Definition: pilgrims_bounty.cpp:74
@ SPELL_VISUAL_BOUNCE_CRANBERRY
Definition: pilgrims_bounty.cpp:51
@ SPELL_PLAYER_TURKEY
Definition: pilgrims_bounty.cpp:78
@ SPELL_VISUAL_BOUNCE_TURKEY
Definition: pilgrims_bounty.cpp:48
@ SPELL_PLATE_PIE
Definition: pilgrims_bounty.cpp:56
@ SPELL_ACHI_PASS_PIE
Definition: pilgrims_bounty.cpp:92
@ SPELL_VISUAL_BOUNCE_SWEET_POTATO
Definition: pilgrims_bounty.cpp:52
@ SPELL_STORE_STUFFING
Definition: pilgrims_bounty.cpp:61
@ SPELL_WELL_FED_TURKEY
Definition: pilgrims_bounty.cpp:84
@ SPELL_VISUAL_THROW_STUFFING
Definition: pilgrims_bounty.cpp:43
@ SPELL_CAN_EAT_CRANBERRY
Definition: pilgrims_bounty.cpp:69
@ SPELL_WELL_FED_SWEET_POTATOES
Definition: pilgrims_bounty.cpp:88
@ SPELL_STORE_CRANBERRY
Definition: pilgrims_bounty.cpp:63
@ SPELL_CAN_EAT_STUFFING
Definition: pilgrims_bounty.cpp:67
@ SPELL_PLATE_CRANBERRY
Definition: pilgrims_bounty.cpp:57
@ SPELL_VISUAL_THROW_CRANBERRY
Definition: pilgrims_bounty.cpp:45
@ SPELL_PLAYER_SWEET_POTATOES
Definition: pilgrims_bounty.cpp:82
@ SPELL_PLATE_STUFFING
Definition: pilgrims_bounty.cpp:55
@ SPELL_PASS_CRANBERRY
Definition: pilgrims_bounty.cpp:39
@ SPELL_STORE_TURKEY
Definition: pilgrims_bounty.cpp:60
@ SPELL_PLATE_SWEET_POTATO
Definition: pilgrims_bounty.cpp:58
@ SPELL_STORE_SWEET_POTATO
Definition: pilgrims_bounty.cpp:64
@ SPELL_WELL_FED_STUFFING
Definition: pilgrims_bounty.cpp:85
@ SPELL_VISUAL_THROW_TURKEY
Definition: pilgrims_bounty.cpp:42
@ SPELL_ACHI_PASS_TURKEY
Definition: pilgrims_bounty.cpp:90
@ SPELL_PASS_PIE
Definition: pilgrims_bounty.cpp:38
@ SPELL_FEAST_ON_TURKEY
Definition: pilgrims_bounty.cpp:72
@ SPELL_PASS_TURKEY
Definition: pilgrims_bounty.cpp:36
@ SPELL_VISUAL_THROW_SWEET_POTATO
Definition: pilgrims_bounty.cpp:46
@ SPELL_ACHI_PASS_CRANBERRY
Definition: pilgrims_bounty.cpp:93
@ SPELL_CAN_EAT_PIE
Definition: pilgrims_bounty.cpp:68
@ SPELL_PASS_STUFFING
Definition: pilgrims_bounty.cpp:37
@ SPELL_PASS_SWEET_POTATO
Definition: pilgrims_bounty.cpp:40
@ SPELL_PLATE_TURKEY
Definition: pilgrims_bounty.cpp:54
@ SPELL_VISUAL_BOUNCE_STUFFING
Definition: pilgrims_bounty.cpp:49
@ SPELL_PLAYER_CRANBERRY
Definition: pilgrims_bounty.cpp:81
@ SPELL_ACHI_PASS_STUFFING
Definition: pilgrims_bounty.cpp:91
@ SPELL_VISUAL_THROW_PIE
Definition: pilgrims_bounty.cpp:44
@ SPELL_CAN_EAT_TURKEY
Definition: pilgrims_bounty.cpp:66
@ SPELL_FEAST_ON_STUFFING
Definition: pilgrims_bounty.cpp:73
@ NPC_STRUDY_PLATE
Definition: pilgrims_bounty.cpp:99
@ SPELL_PLAYER_STUFFING
Definition: pilgrims_bounty.cpp:79
@ SPELL_SPIRIT_OF_SHARING
Definition: pilgrims_bounty.cpp:96
@ SPELL_VISUAL_BOUNCE_PIE
Definition: pilgrims_bounty.cpp:50
@ SPELL_PLAYER_PIE
Definition: pilgrims_bounty.cpp:80
@ SPELL_FEAST_ON_SWEET_POTATOES
Definition: pilgrims_bounty.cpp:76
@ SPELL_WELL_FED_PIE
Definition: pilgrims_bounty.cpp:86
@ SPELL_WELL_FED_CRANBERRY
Definition: pilgrims_bounty.cpp:87
@ SPELL_ACHI_PASS_SWEET_POTATOES
Definition: pilgrims_bounty.cpp:94
@ NPC_BOUNTIFUL_TABLE
Definition: pilgrims_bounty.cpp:100
@ SPELL_STORE_PIE
Definition: pilgrims_bounty.cpp:62
@ SPELL_FEAST_ON_CRANBERRY
Definition: pilgrims_bounty.cpp:75
@ SPELL_CAN_EAT_SWEET_POTATO
Definition: pilgrims_bounty.cpp:70

◆ tTracker

enum tTracker
Enumerator
SPELL_TURKEY_TRACKER 
SPELL_ACHI_TURKINATOR_CREDIT 
517{
518 SPELL_TURKEY_TRACKER = 62014,
520};
@ SPELL_TURKEY_TRACKER
Definition: pilgrims_bounty.cpp:518
@ SPELL_ACHI_TURKINATOR_CREDIT
Definition: pilgrims_bounty.cpp:519

Function Documentation

◆ AddSC_event_pilgrims_end_scripts()

void AddSC_event_pilgrims_end_scripts ( )
671{
672 // Spells
678
679 // Npcs
682
683 // Achievements
686}
#define RegisterCreatureAI(ai_name)
Definition: CreatureScript.h:71
#define RegisterSpellAndAuraScriptPair(script_1, script_2)
Definition: SpellScriptLoader.h:90
#define RegisterSpellScript(spell_script)
Definition: SpellScriptLoader.h:88
Definition: pilgrims_bounty.cpp:108
Definition: pilgrims_bounty.cpp:283
Definition: pilgrims_bounty.cpp:308
Definition: pilgrims_bounty.cpp:438
Definition: pilgrims_bounty.cpp:531
Definition: pilgrims_bounty.cpp:569
Definition: pilgrims_bounty.cpp:586
Definition: pilgrims_bounty.cpp:611
Definition: pilgrims_bounty.cpp:643
Definition: pilgrims_bounty.cpp:657

References RegisterCreatureAI, RegisterSpellAndAuraScriptPair, and RegisterSpellScript.

Referenced by AddEventsScripts().