aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Maelstrom
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/Maelstrom
parent228c56f3c5e23345cf2b5a391c614e52f61fe7f9 (diff)
Scripts/Spells: Removed unneccessary PrepareSpellScript and PrepareAuraScript uses
Diffstat (limited to 'src/server/scripts/Maelstrom')
-rw-r--r--src/server/scripts/Maelstrom/Stonecore/boss_high_priestess_azil.cpp14
-rw-r--r--src/server/scripts/Maelstrom/Stonecore/boss_ozruk.cpp4
-rw-r--r--src/server/scripts/Maelstrom/Stonecore/boss_slabhide.cpp10
-rw-r--r--src/server/scripts/Maelstrom/Stonecore/stonecore.cpp6
-rw-r--r--src/server/scripts/Maelstrom/zone_deepholm.cpp2
5 files changed, 0 insertions, 36 deletions
diff --git a/src/server/scripts/Maelstrom/Stonecore/boss_high_priestess_azil.cpp b/src/server/scripts/Maelstrom/Stonecore/boss_high_priestess_azil.cpp
index 0d37c6fd8bf..05f40e1cc38 100644
--- a/src/server/scripts/Maelstrom/Stonecore/boss_high_priestess_azil.cpp
+++ b/src/server/scripts/Maelstrom/Stonecore/boss_high_priestess_azil.cpp
@@ -479,8 +479,6 @@ public:
class spell_summon_wave_south_SpellScript : public SpellScript
{
- PrepareSpellScript(spell_summon_wave_south_SpellScript);
-
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo({ SPELL_SUMMON_ADD_SOUTH });
@@ -513,8 +511,6 @@ public:
class spell_summon_wave_west_SpellScript : public SpellScript
{
- PrepareSpellScript(spell_summon_wave_west_SpellScript);
-
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo({ SPELL_SUMMON_ADD_WEST });
@@ -559,8 +555,6 @@ public:
class spell_gravity_well_damage_nearby_SpellScript : public SpellScript
{
- PrepareSpellScript(spell_gravity_well_damage_nearby_SpellScript);
-
void SetRadiusMod()
{
GetSpell()->SetSpellValue(SPELLVALUE_RADIUS_MOD, int32(GetCaster()->GetObjectScale() * 10000 * 2 / 3));
@@ -598,8 +592,6 @@ public:
class spell_gravity_well_damage_SpellScript : public SpellScript
{
- PrepareSpellScript(spell_gravity_well_damage_SpellScript);
-
void CalculateDamage(SpellEffIndex /*effIndex*/)
{
Unit* target = GetHitUnit();
@@ -634,8 +626,6 @@ public:
class spell_gravity_well_pull_SpellScript : public SpellScript
{
- PrepareSpellScript(spell_gravity_well_pull_SpellScript);
-
void SetRadiusMod()
{
GetSpell()->SetSpellValue(SPELLVALUE_RADIUS_MOD, int32(GetCaster()->GetObjectScale() * 10000 * 2 / 3));
@@ -661,8 +651,6 @@ public:
class spell_seismic_shard_change_seat_SpellScript : public SpellScript
{
- PrepareSpellScript(spell_seismic_shard_change_seat_SpellScript);
-
void ExitVehicle()
{
GetCaster()->ExitVehicle();
@@ -688,8 +676,6 @@ public:
class spell_seismic_shard_SpellScript : public SpellScript
{
- PrepareSpellScript(spell_seismic_shard_SpellScript);
-
void HandleScript(SpellEffIndex /*effIndex*/)
{
Creature* target = GetHitUnit()->ToCreature();
diff --git a/src/server/scripts/Maelstrom/Stonecore/boss_ozruk.cpp b/src/server/scripts/Maelstrom/Stonecore/boss_ozruk.cpp
index 4e0e280abc0..c028cd99b47 100644
--- a/src/server/scripts/Maelstrom/Stonecore/boss_ozruk.cpp
+++ b/src/server/scripts/Maelstrom/Stonecore/boss_ozruk.cpp
@@ -193,8 +193,6 @@ public:
class spell_rupture_AuraScript : public AuraScript
{
- PrepareAuraScript(spell_rupture_AuraScript);
-
void HandleEffectPeriodic(AuraEffect const* aurEff)
{
Unit* caster = GetCaster();
@@ -241,8 +239,6 @@ public:
class spell_elementium_spike_shield_SpellScript : public SpellScript
{
- PrepareSpellScript(spell_elementium_spike_shield_SpellScript);
-
void HandleBouncerSpikes()
{
Unit* caster = GetCaster();
diff --git a/src/server/scripts/Maelstrom/Stonecore/boss_slabhide.cpp b/src/server/scripts/Maelstrom/Stonecore/boss_slabhide.cpp
index 807d4fc7da8..aee7aa6352b 100644
--- a/src/server/scripts/Maelstrom/Stonecore/boss_slabhide.cpp
+++ b/src/server/scripts/Maelstrom/Stonecore/boss_slabhide.cpp
@@ -412,8 +412,6 @@ public:
class spell_s81035_stalactite_SpellScript : public SpellScript
{
- PrepareSpellScript(spell_s81035_stalactite_SpellScript);
-
void SummonStalactiteTrigger()
{
Unit* caster = GetCaster();
@@ -441,8 +439,6 @@ public:
class spell_s81028_s80650_stalactite_SpellScript : public SpellScript
{
- PrepareSpellScript(spell_s81028_s80650_stalactite_SpellScript);
-
void ModDestHeight(SpellDestination& dest)
{
// All stalactite triggers should have Z position 301.3837f, but no way to relocate (not relocateoffset!) height only.
@@ -472,8 +468,6 @@ public:
class spell_stalactite_mod_dest_height_SpellScript : public SpellScript
{
- PrepareSpellScript(spell_stalactite_mod_dest_height_SpellScript);
-
void ModDestHeight(SpellDestination& dest)
{
Unit* caster = GetCaster();
@@ -502,8 +496,6 @@ public:
class spell_s92306_crystal_storm_SpellScript : public SpellScript
{
- PrepareSpellScript(spell_s92306_crystal_storm_SpellScript);
-
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo({ SPELL_CRYSTAL_STORM_TRIGGER });
@@ -554,8 +546,6 @@ public:
class spell_s92300_crystal_storm_SpellScript : public SpellScript
{
- PrepareSpellScript(spell_s92300_crystal_storm_SpellScript);
-
void FilterTargets(std::list<WorldObject*>& unitList)
{
Unit* caster = GetCaster();
diff --git a/src/server/scripts/Maelstrom/Stonecore/stonecore.cpp b/src/server/scripts/Maelstrom/Stonecore/stonecore.cpp
index faf71a4dc97..db0a43b6f8c 100644
--- a/src/server/scripts/Maelstrom/Stonecore/stonecore.cpp
+++ b/src/server/scripts/Maelstrom/Stonecore/stonecore.cpp
@@ -278,8 +278,6 @@ class spell_force_of_earth : public SpellScriptLoader
class spell_force_of_earth_SpellScript : public SpellScript
{
- PrepareSpellScript(spell_force_of_earth_SpellScript);
-
void DummyEffect(SpellEffIndex /*effIndex*/)
{
GetCaster()->SetDisplayId(26693); // can be moved to SAI part, need sniffs to see what this dummy does (note: npc 43552)
@@ -305,8 +303,6 @@ class spell_sc_twilight_documents : public SpellScriptLoader
class spell_sc_twilight_documents_SpellScript : public SpellScript
{
- PrepareSpellScript(spell_sc_twilight_documents_SpellScript);
-
bool Validate(SpellInfo const* /*spell*/) override
{
if (!sObjectMgr->GetGameObjectTemplate(GAMEOBJECT_TWILIGHT_DOCUMENTS))
@@ -350,8 +346,6 @@ class spell_sc_quake : public SpellScriptLoader
class spell_sc_quake_SpellScript : public SpellScript
{
- PrepareSpellScript(spell_sc_quake_SpellScript);
-
void FilterTargets(std::list<WorldObject*>& unitList)
{
unitList.remove_if(JumpCheck());
diff --git a/src/server/scripts/Maelstrom/zone_deepholm.cpp b/src/server/scripts/Maelstrom/zone_deepholm.cpp
index afe4a95cfe1..7b35b41b257 100644
--- a/src/server/scripts/Maelstrom/zone_deepholm.cpp
+++ b/src/server/scripts/Maelstrom/zone_deepholm.cpp
@@ -33,8 +33,6 @@ enum AllOurFriendsAreDead
// 79614 - Spirit Totem
class spell_spirit_totem : public SpellScript
{
- PrepareSpellScript(spell_spirit_totem);
-
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo({ SPELL_SPEAK_TO_FALLEN_SPIRIT_FEMALE, SPELL_SPEAK_TO_FALLEN_SPIRIT_MALE });