aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Events/brewfest.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-07-24 10:48:50 +0200
committerShauren <shauren.trinity@gmail.com>2023-07-24 10:48:50 +0200
commit2e7e49b749e16f5cf9d0a2f4518f9aa7fef2308b (patch)
tree4c5d6a15ff3c74a2a2eaf35ea6a7d9319848104d /src/server/scripts/Events/brewfest.cpp
parent228c56f3c5e23345cf2b5a391c614e52f61fe7f9 (diff)
Scripts/Spells: Removed unneccessary PrepareSpellScript and PrepareAuraScript uses
Diffstat (limited to 'src/server/scripts/Events/brewfest.cpp')
-rw-r--r--src/server/scripts/Events/brewfest.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/server/scripts/Events/brewfest.cpp b/src/server/scripts/Events/brewfest.cpp
index ce07e6c0417..1c00e87ea93 100644
--- a/src/server/scripts/Events/brewfest.cpp
+++ b/src/server/scripts/Events/brewfest.cpp
@@ -45,8 +45,6 @@ enum RamBlaBla
// 42924 - Giddyup!
class spell_brewfest_giddyup : public AuraScript
{
- PrepareAuraScript(spell_brewfest_giddyup);
-
void OnChange(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
{
Unit* target = GetTarget();
@@ -105,8 +103,6 @@ class spell_brewfest_giddyup : public AuraScript
// 42994 - Ram - Gallop
class spell_brewfest_ram : public AuraScript
{
- PrepareAuraScript(spell_brewfest_ram);
-
void OnPeriodic(AuraEffect const* aurEff)
{
Unit* target = GetTarget();
@@ -158,8 +154,6 @@ class spell_brewfest_ram : public AuraScript
// 43052 - Ram Fatigue
class spell_brewfest_ram_fatigue : public AuraScript
{
- PrepareAuraScript(spell_brewfest_ram_fatigue);
-
void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
{
Unit* target = GetTarget();
@@ -185,8 +179,6 @@ class spell_brewfest_ram_fatigue : public AuraScript
// 43450 - Brewfest - apple trap - friendly DND
class spell_brewfest_apple_trap : public AuraScript
{
- PrepareAuraScript(spell_brewfest_apple_trap);
-
void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
{
GetTarget()->RemoveAura(SPELL_RAM_FATIGUE);
@@ -201,8 +193,6 @@ class spell_brewfest_apple_trap : public AuraScript
// 43332 - Exhausted Ram
class spell_brewfest_exhausted_ram : public AuraScript
{
- PrepareAuraScript(spell_brewfest_exhausted_ram);
-
void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
{
Unit* target = GetTarget();
@@ -218,8 +208,6 @@ class spell_brewfest_exhausted_ram : public AuraScript
// 43714 - Brewfest - Relay Race - Intro - Force - Player to throw- DND
class spell_brewfest_relay_race_intro_force_player_to_throw : public SpellScript
{
- PrepareSpellScript(spell_brewfest_relay_race_intro_force_player_to_throw);
-
void HandleForceCast(SpellEffIndex effIndex)
{
PreventHitDefaultEffect(effIndex);
@@ -237,8 +225,6 @@ class spell_brewfest_relay_race_intro_force_player_to_throw : public SpellScript
// 43755 - Brewfest - Daily - Relay Race - Player - Increase Mount Duration - DND
class spell_brewfest_relay_race_turn_in : public SpellScript
{
- PrepareSpellScript(spell_brewfest_relay_race_turn_in);
-
void HandleDummy(SpellEffIndex effIndex)
{
PreventHitDefaultEffect(effIndex);
@@ -259,8 +245,6 @@ class spell_brewfest_relay_race_turn_in : public SpellScript
// 43876 - Dismount Ram
class spell_brewfest_dismount_ram : public SpellScript
{
- PrepareSpellScript(spell_brewfest_dismount_ram);
-
void HandleScript(SpellEffIndex /*effIndex*/)
{
GetCaster()->RemoveAura(SPELL_RENTAL_RACING_RAM);
@@ -313,8 +297,6 @@ enum RamBlub
// 43262 Brewfest - Barker Bunny 4
class spell_brewfest_barker_bunny : public AuraScript
{
- PrepareAuraScript(spell_brewfest_barker_bunny);
-
bool Load() override
{
return GetUnitOwner()->GetTypeId() == TYPEID_PLAYER;
@@ -366,8 +348,6 @@ enum BrewfestMountTransformation
// 52845 - Brewfest Mount Transformation (Faction Swap)
class spell_brewfest_mount_transformation : public SpellScript
{
- PrepareSpellScript(spell_brewfest_mount_transformation);
-
bool Validate(SpellInfo const* /*spell*/) override
{
return ValidateSpellInfo(
@@ -451,8 +431,6 @@ enum WildWinterPilsner
// 50098 - The Beast Within
class spell_brewfest_botm_the_beast_within : public AuraScript
{
- PrepareAuraScript(spell_brewfest_botm_the_beast_within);
-
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo({ SPELL_BOTM_UNLEASH_THE_BEAST });
@@ -477,8 +455,6 @@ enum IzzardsEverFlavor
// 49864 - Gassy
class spell_brewfest_botm_gassy : public AuraScript
{
- PrepareAuraScript(spell_brewfest_botm_gassy);
-
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo({ SPELL_BOTM_BELCH_BREW_BELCH_VISUAL });
@@ -503,8 +479,6 @@ enum MetoksBubbleBock
// 49822 - Bloated
class spell_brewfest_botm_bloated : public AuraScript
{
- PrepareAuraScript(spell_brewfest_botm_bloated);
-
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo({ SPELL_BOTM_BUBBLE_BREW_TRIGGER_MISSILE });
@@ -529,8 +503,6 @@ enum BlackrockLager
// 49738 - Internal Combustion
class spell_brewfest_botm_internal_combustion : public AuraScript
{
- PrepareAuraScript(spell_brewfest_botm_internal_combustion);
-
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo({ SPELL_BOTM_BELCH_FIRE_VISUAL });
@@ -555,8 +527,6 @@ enum StranglethornBrew
// 49962 - Jungle Madness!
class spell_brewfest_botm_jungle_madness : public SpellScript
{
- PrepareSpellScript(spell_brewfest_botm_jungle_madness);
-
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo({ SPELL_BOTM_JUNGLE_BREW_VISION_EFFECT });
@@ -582,8 +552,6 @@ enum BinaryBrew
// 50243 - Teach Language
class spell_brewfest_botm_teach_language : public SpellScript
{
- PrepareSpellScript(spell_brewfest_botm_teach_language);
-
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo({ SPELL_LEARN_GNOMISH_BINARY, SPELL_LEARN_GOBLIN_BINARY });
@@ -609,8 +577,6 @@ enum CreateEmptyBrewBottle
// 42254, 42255, 42256, 42257, 42258, 42259, 42260, 42261, 42263, 42264, 43959, 43961 - Weak Alcohol
class spell_brewfest_botm_weak_alcohol : public SpellScript
{
- PrepareSpellScript(spell_brewfest_botm_weak_alcohol);
-
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo({ SPELL_BOTM_CREATE_EMPTY_BREW_BOTTLE });
@@ -636,8 +602,6 @@ enum EmptyBottleThrow
// 51694 - BOTM - Empty Bottle Throw - Resolve
class spell_brewfest_botm_empty_bottle_throw_resolve : public SpellScript
{
- PrepareSpellScript(spell_brewfest_botm_empty_bottle_throw_resolve);
-
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo(