aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/ShadowfangKeep
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/EasternKingdoms/ShadowfangKeep
parent228c56f3c5e23345cf2b5a391c614e52f61fe7f9 (diff)
Scripts/Spells: Removed unneccessary PrepareSpellScript and PrepareAuraScript uses
Diffstat (limited to 'src/server/scripts/EasternKingdoms/ShadowfangKeep')
-rw-r--r--src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp12
-rw-r--r--src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp2
2 files changed, 0 insertions, 14 deletions
diff --git a/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp b/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp
index 88a9d539fba..7d5ff186908 100644
--- a/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp
+++ b/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp
@@ -365,8 +365,6 @@ private:
// 68965 - [DND] Lingering Fumes Targetting (starter)
class spell_apothecary_lingering_fumes : public SpellScript
{
- PrepareSpellScript(spell_apothecary_lingering_fumes);
-
void HandleAfterCast()
{
Unit* caster = GetCaster();
@@ -399,8 +397,6 @@ class spell_apothecary_lingering_fumes : public SpellScript
// 68644 - [DND] Valentine Boss Validate Area
class spell_apothecary_validate_area : public SpellScript
{
- PrepareSpellScript(spell_apothecary_validate_area);
-
void FilterTargets(std::list<WorldObject*>& targets)
{
targets.remove_if(Trinity::UnitAuraCheck(true, SPELL_BUNNY_LOCKDOWN));
@@ -428,8 +424,6 @@ class spell_apothecary_validate_area : public SpellScript
// 69038 - Throw Cologne
class spell_apothecary_throw_cologne : public SpellScript
{
- PrepareSpellScript(spell_apothecary_throw_cologne);
-
void HandleScript(SpellEffIndex /*effindex*/)
{
GetHitUnit()->CastSpell(GetHitUnit(), SPELL_COLOGNE_SPILL, true);
@@ -444,8 +438,6 @@ class spell_apothecary_throw_cologne : public SpellScript
// 68966 - Throw Perfume
class spell_apothecary_throw_perfume : public SpellScript
{
- PrepareSpellScript(spell_apothecary_throw_perfume);
-
void HandleScript(SpellEffIndex /*effindex*/)
{
GetHitUnit()->CastSpell(GetHitUnit(), SPELL_PERFUME_SPILL, true);
@@ -460,8 +452,6 @@ class spell_apothecary_throw_perfume : public SpellScript
// 68798 - Concentrated Alluring Perfume Spill
class spell_apothecary_perfume_spill : public AuraScript
{
- PrepareAuraScript(spell_apothecary_perfume_spill);
-
void OnPeriodic(AuraEffect const* /*aurEff*/)
{
GetTarget()->CastSpell(GetTarget(), SPELL_PERFUME_SPILL_DAMAGE, true);
@@ -476,8 +466,6 @@ class spell_apothecary_perfume_spill : public AuraScript
// 68614 - Concentrated Irresistible Cologne Spill
class spell_apothecary_cologne_spill : public AuraScript
{
- PrepareAuraScript(spell_apothecary_cologne_spill);
-
void OnPeriodic(AuraEffect const* /*aurEff*/)
{
GetTarget()->CastSpell(GetTarget(), SPELL_COLOGNE_SPILL_DAMAGE, true);
diff --git a/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp b/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp
index 9ea91aa40e0..c4a21f989a7 100644
--- a/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp
+++ b/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp
@@ -329,8 +329,6 @@ class spell_shadowfang_keep_haunting_spirits : public SpellScriptLoader
class spell_shadowfang_keep_haunting_spirits_AuraScript : public AuraScript
{
- PrepareAuraScript(spell_shadowfang_keep_haunting_spirits_AuraScript);
-
void CalcPeriodic(AuraEffect const* /*aurEff*/, bool& isPeriodic, int32& amplitude)
{
isPeriodic = true;