TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
spell_holiday.cpp File Reference
#include "Player.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "SpellScript.h"
#include "SpellAuraEffects.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "CellImpl.h"
+ Include dependency graph for spell_holiday.cpp:

Classes

class  spell_love_is_in_the_air_romantic_picnic
 
class  spell_love_is_in_the_air_romantic_picnic::spell_love_is_in_the_air_romantic_picnic_AuraScript
 
class  spell_hallow_end_trick
 
class  spell_hallow_end_trick::spell_hallow_end_trick_SpellScript
 
class  spell_hallow_end_trick_or_treat
 
class  spell_hallow_end_trick_or_treat::spell_hallow_end_trick_or_treat_SpellScript
 
class  spell_hallow_end_tricky_treat
 
class  spell_hallow_end_tricky_treat::spell_hallow_end_tricky_treat_SpellScript
 
class  spell_hallow_end_wand
 
class  spell_hallow_end_wand::spell_hallow_end_wand_SpellScript
 
class  spell_pilgrims_bounty_buff_food
 
class  spell_pilgrims_bounty_buff_food::spell_pilgrims_bounty_buff_food_AuraScript
 
class  spell_pilgrims_bounty_turkey_tracker
 
class  spell_pilgrims_bounty_turkey_tracker::spell_pilgrims_bounty_turkey_tracker_SpellScript
 
class  spell_winter_veil_mistletoe
 
class  spell_winter_veil_mistletoe::spell_winter_veil_mistletoe_SpellScript
 
class  spell_winter_veil_px_238_winter_wondervolt
 
class  spell_winter_veil_px_238_winter_wondervolt::spell_winter_veil_px_238_winter_wondervolt_SpellScript
 
class  spell_brewfest_giddyup
 
class  spell_brewfest_giddyup::spell_brewfest_giddyup_AuraScript
 
class  spell_brewfest_ram
 
class  spell_brewfest_ram::spell_brewfest_ram_AuraScript
 
class  spell_brewfest_ram_fatigue
 
class  spell_brewfest_ram_fatigue::spell_brewfest_ram_fatigue_AuraScript
 
class  spell_brewfest_apple_trap
 
class  spell_brewfest_apple_trap::spell_brewfest_apple_trap_AuraScript
 
class  spell_brewfest_exhausted_ram
 
class  spell_brewfest_exhausted_ram::spell_brewfest_exhausted_ram_AuraScript
 
class  spell_brewfest_relay_race_intro_force_player_to_throw
 
class  spell_brewfest_relay_race_intro_force_player_to_throw::spell_brewfest_relay_race_intro_force_player_to_throw_SpellScript
 
class  spell_brewfest_dismount_ram
 
class  spell_brewfest_dismount_ram::spell_brewfest_relay_race_intro_force_player_to_throw_SpellScript
 
class  spell_brewfest_barker_bunny
 
class  spell_brewfest_barker_bunny::spell_brewfest_barker_bunny_AuraScript
 
class  spell_midsummer_braziers_hit
 
class  spell_midsummer_braziers_hit::spell_midsummer_braziers_hit_AuraScript
 

Enumerations

enum  SpellsPicnic {
  SPELL_BASKET_CHECK = 45119, SPELL_MEAL_PERIODIC = 45103, SPELL_MEAL_EAT_VISUAL = 45120, SPELL_DRINK_VISUAL = 45121,
  SPELL_ROMANTIC_PICNIC_ACHIEV = 45123
}
 
enum  TrickSpells {
  SPELL_PIRATE_COSTUME_MALE = 24708, SPELL_PIRATE_COSTUME_FEMALE = 24709, SPELL_NINJA_COSTUME_MALE = 24710, SPELL_NINJA_COSTUME_FEMALE = 24711,
  SPELL_LEPER_GNOME_COSTUME_MALE = 24712, SPELL_LEPER_GNOME_COSTUME_FEMALE = 24713, SPELL_SKELETON_COSTUME = 24723, SPELL_GHOST_COSTUME_MALE = 24735,
  SPELL_GHOST_COSTUME_FEMALE = 24736, SPELL_TRICK_BUFF = 24753
}
 
enum  TrickOrTreatSpells {
  SPELL_TRICK = 24714, SPELL_TREAT = 24715, SPELL_TRICKED_OR_TREATED = 24755, SPELL_TRICKY_TREAT_SPEED = 42919,
  SPELL_TRICKY_TREAT_TRIGGER = 42965, SPELL_UPSET_TUMMY = 42966
}
 
enum  HallowendData {
  SPELL_HALLOWED_WAND_PIRATE = 24717, SPELL_HALLOWED_WAND_NINJA = 24718, SPELL_HALLOWED_WAND_LEPER_GNOME = 24719, SPELL_HALLOWED_WAND_RANDOM = 24720,
  SPELL_HALLOWED_WAND_SKELETON = 24724, SPELL_HALLOWED_WAND_WISP = 24733, SPELL_HALLOWED_WAND_GHOST = 24737, SPELL_HALLOWED_WAND_BAT = 24741
}
 
enum  PilgrimsBountyBuffFood {
  SPELL_WELL_FED_AP_TRIGGER = 65414, SPELL_WELL_FED_ZM_TRIGGER = 65412, SPELL_WELL_FED_HIT_TRIGGER = 65416, SPELL_WELL_FED_HASTE_TRIGGER = 65410,
  SPELL_WELL_FED_SPIRIT_TRIGGER = 65415
}
 
enum  TheTurkinator {
  SPELL_KILL_COUNTER_VISUAL = 62015, SPELL_KILL_COUNTER_VISUAL_MAX = 62021, EMOTE_TURKEY_HUNTER = 0, EMOTE_TURKEY_DOMINATION = 1,
  EMOTE_TURKEY_SLAUGHTER = 2, EMOTE_TURKEY_TRIUMPH = 3
}
 
enum  Mistletoe { SPELL_CREATE_MISTLETOE = 26206, SPELL_CREATE_HOLLY = 26207, SPELL_CREATE_SNOWFLAKES = 45036 }
 
enum  PX238WinterWondervolt { SPELL_PX_238_WINTER_WONDERVOLT_TRANSFORM_1 = 26157, SPELL_PX_238_WINTER_WONDERVOLT_TRANSFORM_2 = 26272, SPELL_PX_238_WINTER_WONDERVOLT_TRANSFORM_3 = 26273, SPELL_PX_238_WINTER_WONDERVOLT_TRANSFORM_4 = 26274 }
 
enum  RamBlaBla {
  SPELL_GIDDYUP = 42924, SPELL_RENTAL_RACING_RAM = 43883, SPELL_RENTAL_RACING_RAM_AURA = 42146, SPELL_RAM_LEVEL_NEUTRAL = 43310,
  SPELL_RAM_TROT = 42992, SPELL_RAM_CANTER = 42993, SPELL_RAM_GALLOP = 42994, SPELL_RAM_FATIGUE = 43052,
  SPELL_EXHAUSTED_RAM = 43332, SPELL_BREWFEST_QUEST_SPEED_BUNNY_GREEN = 43345, SPELL_BREWFEST_QUEST_SPEED_BUNNY_YELLOW = 43346, SPELL_BREWFEST_QUEST_SPEED_BUNNY_RED = 43347
}
 
enum  RamBlub {
  QUEST_BARK_FOR_DROHNS_DISTILLERY = 11407, QUEST_BARK_FOR_TCHALIS_VOODOO_BREWERY = 11408, QUEST_BARK_BARLEYBREW = 11293, QUEST_BARK_FOR_THUNDERBREWS = 11294,
  SAY_DROHN_DISTILLERY_1 = 23520, SAY_DROHN_DISTILLERY_2 = 23521, SAY_DROHN_DISTILLERY_3 = 23522, SAY_DROHN_DISTILLERY_4 = 23523,
  SAY_TCHALIS_VOODOO_1 = 23524, SAY_TCHALIS_VOODOO_2 = 23525, SAY_TCHALIS_VOODOO_3 = 23526, SAY_TCHALIS_VOODOO_4 = 23527,
  SAY_BARLEYBREW_1 = 23464, SAY_BARLEYBREW_2 = 23465, SAY_BARLEYBREW_3 = 23466, SAY_BARLEYBREW_4 = 22941,
  SAY_THUNDERBREWS_1 = 23467, SAY_THUNDERBREWS_2 = 23468, SAY_THUNDERBREWS_3 = 23469, SAY_THUNDERBREWS_4 = 22942
}
 
enum  TorchSpells {
  SPELL_TORCH_TOSSING_TRAINING = 45716, SPELL_TORCH_TOSSING_PRACTICE = 46630, SPELL_TORCH_TOSSING_TRAINING_SUCCESS_ALLIANCE = 45719, SPELL_TORCH_TOSSING_TRAINING_SUCCESS_HORDE = 46651,
  SPELL_BRAZIERS_HIT = 45724
}
 

Functions

void AddSC_holiday_spell_scripts ()
 

Enumeration Type Documentation

Enumerator
SPELL_HALLOWED_WAND_PIRATE 
SPELL_HALLOWED_WAND_NINJA 
SPELL_HALLOWED_WAND_LEPER_GNOME 
SPELL_HALLOWED_WAND_RANDOM 
SPELL_HALLOWED_WAND_SKELETON 
SPELL_HALLOWED_WAND_WISP 
SPELL_HALLOWED_WAND_GHOST 
SPELL_HALLOWED_WAND_BAT 
282 {
283  //wand spells
289  SPELL_HALLOWED_WAND_WISP = 24733,
292 };
Definition: spell_holiday.cpp:288
Definition: spell_holiday.cpp:291
Definition: spell_holiday.cpp:287
Definition: spell_holiday.cpp:284
Definition: spell_holiday.cpp:286
Definition: spell_holiday.cpp:289
Definition: spell_holiday.cpp:290
Definition: spell_holiday.cpp:285
enum Mistletoe
Enumerator
SPELL_CREATE_MISTLETOE 
SPELL_CREATE_HOLLY 
SPELL_CREATE_SNOWFLAKES 
488 {
489  SPELL_CREATE_MISTLETOE = 26206,
490  SPELL_CREATE_HOLLY = 26207,
492 };
Definition: spell_holiday.cpp:489
Definition: spell_holiday.cpp:491
Definition: spell_holiday.cpp:490
Enumerator
SPELL_WELL_FED_AP_TRIGGER 
SPELL_WELL_FED_ZM_TRIGGER 
SPELL_WELL_FED_HIT_TRIGGER 
SPELL_WELL_FED_HASTE_TRIGGER 
SPELL_WELL_FED_SPIRIT_TRIGGER 
361 {
362  // Pilgrims Bounty Buff Food
368 };
Definition: spell_holiday.cpp:363
Definition: spell_holiday.cpp:367
Definition: spell_holiday.cpp:364
Definition: spell_holiday.cpp:365
Definition: spell_holiday.cpp:366
Enumerator
SPELL_PX_238_WINTER_WONDERVOLT_TRANSFORM_1 
SPELL_PX_238_WINTER_WONDERVOLT_TRANSFORM_2 
SPELL_PX_238_WINTER_WONDERVOLT_TRANSFORM_3 
SPELL_PX_238_WINTER_WONDERVOLT_TRANSFORM_4 
enum RamBlaBla
Enumerator
SPELL_GIDDYUP 
SPELL_RENTAL_RACING_RAM 
SPELL_RENTAL_RACING_RAM_AURA 
SPELL_RAM_LEVEL_NEUTRAL 
SPELL_RAM_TROT 
SPELL_RAM_CANTER 
SPELL_RAM_GALLOP 
SPELL_RAM_FATIGUE 
SPELL_EXHAUSTED_RAM 
SPELL_BREWFEST_QUEST_SPEED_BUNNY_GREEN 
SPELL_BREWFEST_QUEST_SPEED_BUNNY_YELLOW 
SPELL_BREWFEST_QUEST_SPEED_BUNNY_RED 
596 {
597  SPELL_GIDDYUP = 42924,
598  SPELL_RENTAL_RACING_RAM = 43883,
600  SPELL_RAM_LEVEL_NEUTRAL = 43310,
601  SPELL_RAM_TROT = 42992,
602  SPELL_RAM_CANTER = 42993,
603  SPELL_RAM_GALLOP = 42994,
604  SPELL_RAM_FATIGUE = 43052,
605  SPELL_EXHAUSTED_RAM = 43332,
606 
607  // Quest
611 };
Definition: spell_holiday.cpp:609
Definition: spell_holiday.cpp:608
Definition: spell_holiday.cpp:598
Definition: spell_holiday.cpp:601
Definition: spell_holiday.cpp:610
Definition: spell_holiday.cpp:597
Definition: spell_holiday.cpp:603
Definition: spell_holiday.cpp:599
Definition: spell_holiday.cpp:604
Definition: spell_holiday.cpp:600
Definition: spell_holiday.cpp:602
Definition: spell_holiday.cpp:605
enum RamBlub
Enumerator
QUEST_BARK_FOR_DROHNS_DISTILLERY 
QUEST_BARK_FOR_TCHALIS_VOODOO_BREWERY 
QUEST_BARK_BARLEYBREW 
QUEST_BARK_FOR_THUNDERBREWS 
SAY_DROHN_DISTILLERY_1 
SAY_DROHN_DISTILLERY_2 
SAY_DROHN_DISTILLERY_3 
SAY_DROHN_DISTILLERY_4 
SAY_TCHALIS_VOODOO_1 
SAY_TCHALIS_VOODOO_2 
SAY_TCHALIS_VOODOO_3 
SAY_TCHALIS_VOODOO_4 
SAY_BARLEYBREW_1 
SAY_BARLEYBREW_2 
SAY_BARLEYBREW_3 
SAY_BARLEYBREW_4 
SAY_THUNDERBREWS_1 
SAY_THUNDERBREWS_2 
SAY_THUNDERBREWS_3 
SAY_THUNDERBREWS_4 
891 {
892  // Horde
895 
896  // Alliance
897  QUEST_BARK_BARLEYBREW = 11293,
899 
900  // Bark for Drohn's Distillery!
901  SAY_DROHN_DISTILLERY_1 = 23520,
902  SAY_DROHN_DISTILLERY_2 = 23521,
903  SAY_DROHN_DISTILLERY_3 = 23522,
904  SAY_DROHN_DISTILLERY_4 = 23523,
905 
906  // Bark for T'chali's Voodoo Brewery!
907  SAY_TCHALIS_VOODOO_1 = 23524,
908  SAY_TCHALIS_VOODOO_2 = 23525,
909  SAY_TCHALIS_VOODOO_3 = 23526,
910  SAY_TCHALIS_VOODOO_4 = 23527,
911 
912  // Bark for the Barleybrews!
913  SAY_BARLEYBREW_1 = 23464,
914  SAY_BARLEYBREW_2 = 23465,
915  SAY_BARLEYBREW_3 = 23466,
916  SAY_BARLEYBREW_4 = 22941,
917 
918  // Bark for the Thunderbrews!
919  SAY_THUNDERBREWS_1 = 23467,
920  SAY_THUNDERBREWS_2 = 23468,
921  SAY_THUNDERBREWS_3 = 23469,
922  SAY_THUNDERBREWS_4 = 22942
923 };
Definition: spell_holiday.cpp:915
Definition: spell_holiday.cpp:898
Definition: spell_holiday.cpp:909
Definition: spell_holiday.cpp:897
Definition: spell_holiday.cpp:901
Definition: spell_holiday.cpp:914
Definition: spell_holiday.cpp:894
Definition: spell_holiday.cpp:893
Definition: spell_holiday.cpp:921
Definition: spell_holiday.cpp:904
Definition: spell_holiday.cpp:920
Definition: spell_holiday.cpp:907
Definition: spell_holiday.cpp:908
Definition: spell_holiday.cpp:922
Definition: spell_holiday.cpp:902
Definition: spell_holiday.cpp:910
Definition: spell_holiday.cpp:903
Definition: spell_holiday.cpp:913
Definition: spell_holiday.cpp:919
Definition: spell_holiday.cpp:916
Enumerator
SPELL_BASKET_CHECK 
SPELL_MEAL_PERIODIC 
SPELL_MEAL_EAT_VISUAL 
SPELL_DRINK_VISUAL 
SPELL_ROMANTIC_PICNIC_ACHIEV 
35 {
36  SPELL_BASKET_CHECK = 45119, // Holiday - Valentine - Romantic Picnic Near Basket Check
37  SPELL_MEAL_PERIODIC = 45103, // Holiday - Valentine - Romantic Picnic Meal Periodic - effect dummy
38  SPELL_MEAL_EAT_VISUAL = 45120, // Holiday - Valentine - Romantic Picnic Meal Eat Visual
39  //SPELL_MEAL_PARTICLE = 45114, // Holiday - Valentine - Romantic Picnic Meal Particle - unused
40  SPELL_DRINK_VISUAL = 45121, // Holiday - Valentine - Romantic Picnic Drink Visual
41  SPELL_ROMANTIC_PICNIC_ACHIEV = 45123, // Romantic Picnic periodic = 5000
42 };
Definition: spell_holiday.cpp:41
Definition: spell_holiday.cpp:38
Definition: spell_holiday.cpp:40
Definition: spell_holiday.cpp:37
Definition: spell_holiday.cpp:36
Enumerator
SPELL_KILL_COUNTER_VISUAL 
SPELL_KILL_COUNTER_VISUAL_MAX 
EMOTE_TURKEY_HUNTER 
EMOTE_TURKEY_DOMINATION 
EMOTE_TURKEY_SLAUGHTER 
EMOTE_TURKEY_TRIUMPH 
414 {
421 };
Definition: spell_holiday.cpp:419
Definition: spell_holiday.cpp:416
Definition: spell_holiday.cpp:420
Definition: spell_holiday.cpp:418
Definition: spell_holiday.cpp:415
Definition: spell_holiday.cpp:417
Enumerator
SPELL_TORCH_TOSSING_TRAINING 
SPELL_TORCH_TOSSING_PRACTICE 
SPELL_TORCH_TOSSING_TRAINING_SUCCESS_ALLIANCE 
SPELL_TORCH_TOSSING_TRAINING_SUCCESS_HORDE 
SPELL_BRAZIERS_HIT 
982 {
987  SPELL_BRAZIERS_HIT = 45724
988 };
Definition: spell_holiday.cpp:983
Definition: spell_holiday.cpp:984
Definition: spell_holiday.cpp:987
Definition: spell_holiday.cpp:986
Definition: spell_holiday.cpp:985
Enumerator
SPELL_TRICK 
SPELL_TREAT 
SPELL_TRICKED_OR_TREATED 
SPELL_TRICKY_TREAT_SPEED 
SPELL_TRICKY_TREAT_TRIGGER 
SPELL_UPSET_TUMMY 
194 {
195  SPELL_TRICK = 24714,
196  SPELL_TREAT = 24715,
197  SPELL_TRICKED_OR_TREATED = 24755,
198  SPELL_TRICKY_TREAT_SPEED = 42919,
200  SPELL_UPSET_TUMMY = 42966
201 };
Definition: spell_holiday.cpp:199
Definition: spell_holiday.cpp:200
Definition: spell_holiday.cpp:196
Definition: spell_holiday.cpp:197
Definition: spell_holiday.cpp:198
Definition: spell_holiday.cpp:195
Enumerator
SPELL_PIRATE_COSTUME_MALE 
SPELL_PIRATE_COSTUME_FEMALE 
SPELL_NINJA_COSTUME_MALE 
SPELL_NINJA_COSTUME_FEMALE 
SPELL_LEPER_GNOME_COSTUME_MALE 
SPELL_LEPER_GNOME_COSTUME_FEMALE 
SPELL_SKELETON_COSTUME 
SPELL_GHOST_COSTUME_MALE 
SPELL_GHOST_COSTUME_FEMALE 
SPELL_TRICK_BUFF 
117 {
120  SPELL_NINJA_COSTUME_MALE = 24710,
124  SPELL_SKELETON_COSTUME = 24723,
125  SPELL_GHOST_COSTUME_MALE = 24735,
127  SPELL_TRICK_BUFF = 24753,
128 };
Definition: spell_holiday.cpp:126
Definition: spell_holiday.cpp:122
Definition: spell_holiday.cpp:118
Definition: spell_holiday.cpp:127
Definition: spell_holiday.cpp:119
Definition: spell_holiday.cpp:125
Definition: spell_holiday.cpp:120
Definition: spell_holiday.cpp:124
Definition: spell_holiday.cpp:121
Definition: spell_holiday.cpp:123

Function Documentation

void AddSC_holiday_spell_scripts ( )
1036 {
1037  // Love is in the Air
1039  // Hallow's End
1040  new spell_hallow_end_trick();
1043  new spell_hallow_end_wand();
1044  // Pilgrims Bounty
1045  new spell_pilgrims_bounty_buff_food("spell_gen_slow_roasted_turkey", SPELL_WELL_FED_AP_TRIGGER);
1046  new spell_pilgrims_bounty_buff_food("spell_gen_cranberry_chutney", SPELL_WELL_FED_ZM_TRIGGER);
1047  new spell_pilgrims_bounty_buff_food("spell_gen_spice_bread_stuffing", SPELL_WELL_FED_HIT_TRIGGER);
1048  new spell_pilgrims_bounty_buff_food("spell_gen_pumpkin_pie", SPELL_WELL_FED_SPIRIT_TRIGGER);
1049  new spell_pilgrims_bounty_buff_food("spell_gen_candied_sweet_potato", SPELL_WELL_FED_HASTE_TRIGGER);
1051  // Winter Veil
1054  // Brewfest
1055  new spell_brewfest_giddyup();
1056  new spell_brewfest_ram();
1063  // Midsummer Fire Festival
1065 }
Definition: spell_holiday.cpp:929
Definition: spell_holiday.cpp:779
Definition: spell_holiday.cpp:741
Definition: spell_holiday.cpp:363
Definition: spell_holiday.cpp:614
Definition: spell_holiday.cpp:367
Definition: spell_holiday.cpp:542
Definition: spell_holiday.cpp:685
Definition: spell_holiday.cpp:130
Definition: spell_holiday.cpp:806
Definition: spell_holiday.cpp:364
Definition: spell_holiday.cpp:991
Definition: spell_holiday.cpp:365
Definition: spell_holiday.cpp:494
Definition: spell_holiday.cpp:294
Definition: spell_holiday.cpp:203
Definition: spell_holiday.cpp:423
Definition: spell_holiday.cpp:44
Definition: spell_holiday.cpp:366
Definition: spell_holiday.cpp:241
Definition: spell_holiday.cpp:370
Definition: spell_holiday.cpp:864

+ Here is the caller graph for this function: