aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Argus
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/Argus
parent228c56f3c5e23345cf2b5a391c614e52f61fe7f9 (diff)
Scripts/Spells: Removed unneccessary PrepareSpellScript and PrepareAuraScript uses
Diffstat (limited to 'src/server/scripts/Argus')
-rw-r--r--src/server/scripts/Argus/AntorusTheBurningThrone/boss_garothi_worldbreaker.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/server/scripts/Argus/AntorusTheBurningThrone/boss_garothi_worldbreaker.cpp b/src/server/scripts/Argus/AntorusTheBurningThrone/boss_garothi_worldbreaker.cpp
index a41787b8efc..864b5d2f1e1 100644
--- a/src/server/scripts/Argus/AntorusTheBurningThrone/boss_garothi_worldbreaker.cpp
+++ b/src/server/scripts/Argus/AntorusTheBurningThrone/boss_garothi_worldbreaker.cpp
@@ -509,8 +509,6 @@ private:
class spell_garothi_apocalypse_drive : public AuraScript
{
- PrepareAuraScript(spell_garothi_apocalypse_drive);
-
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo({ SPELL_APOCALYPSE_DRIVE_PERIODIC_DAMAGE });
@@ -529,8 +527,6 @@ class spell_garothi_apocalypse_drive : public AuraScript
class spell_garothi_fel_bombardment_selector : public SpellScript
{
- PrepareSpellScript(spell_garothi_fel_bombardment_selector);
-
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo(
@@ -570,8 +566,6 @@ class spell_garothi_fel_bombardment_selector : public SpellScript
class spell_garothi_fel_bombardment_warning : public AuraScript
{
- PrepareAuraScript(spell_garothi_fel_bombardment_warning);
-
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo({ SPELL_FEL_BOMBARDMENT_PERIODIC });
@@ -592,8 +586,6 @@ class spell_garothi_fel_bombardment_warning : public AuraScript
class spell_garothi_fel_bombardment_periodic : public AuraScript
{
- PrepareAuraScript(spell_garothi_fel_bombardment_periodic);
-
bool Validate(SpellInfo const* spellInfo) override
{
return ValidateSpellEffect({ { spellInfo->Id, EFFECT_0 } }) && ValidateSpellInfo({ uint32(spellInfo->GetEffect(EFFECT_0).CalcValue()) });
@@ -613,8 +605,6 @@ class spell_garothi_fel_bombardment_periodic : public AuraScript
class spell_garothi_searing_barrage_dummy : public SpellScript
{
- PrepareSpellScript(spell_garothi_searing_barrage_dummy);
-
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo({ SPELL_SEARING_BARRAGE_SELECTOR });
@@ -633,8 +623,6 @@ class spell_garothi_searing_barrage_dummy : public SpellScript
class spell_garothi_searing_barrage_selector : public SpellScript
{
- PrepareSpellScript(spell_garothi_searing_barrage_selector);
-
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo(
@@ -667,8 +655,6 @@ class spell_garothi_searing_barrage_selector : public SpellScript
class spell_garothi_decimation_selector : public SpellScript
{
- PrepareSpellScript(spell_garothi_decimation_selector);
-
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo({ SPELL_DECIMATION_WARNING });
@@ -699,8 +685,6 @@ class spell_garothi_decimation_selector : public SpellScript
class spell_garothi_decimation_warning : public AuraScript
{
- PrepareAuraScript(spell_garothi_decimation_warning);
-
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo({ SPELL_DECIMATION_MISSILE });
@@ -727,8 +711,6 @@ class spell_garothi_decimation_warning : public AuraScript
class spell_garothi_carnage : public AuraScript
{
- PrepareAuraScript(spell_garothi_carnage);
-
void HandleProc(AuraEffect* /*aurEff*/, ProcEventInfo& /*eventInfo`*/)
{
// Usually we could just handle this via spell_proc but since we want
@@ -745,8 +727,6 @@ class spell_garothi_carnage : public AuraScript
class spell_garothi_annihilation_selector : public SpellScript
{
- PrepareSpellScript(spell_garothi_annihilation_selector);
-
bool Validate(SpellInfo const* spellInfo) override
{
return ValidateSpellEffect({ { spellInfo->Id, EFFECT_0 } }) && ValidateSpellInfo({ uint32(spellInfo->GetEffect(EFFECT_0).CalcValue()) });
@@ -766,8 +746,6 @@ class spell_garothi_annihilation_selector : public SpellScript
class spell_garothi_annihilation_triggered : public SpellScript
{
- PrepareSpellScript(spell_garothi_annihilation_triggered);
-
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo({ SPELL_ANNIHILATION_DAMAGE_UNSPLITTED });
@@ -790,8 +768,6 @@ class spell_garothi_annihilation_triggered : public SpellScript
class spell_garothi_eradication : public SpellScript
{
- PrepareSpellScript(spell_garothi_eradication);
-
void ChangeDamage()
{
if (Unit* caster = GetCaster())
@@ -809,8 +785,6 @@ class spell_garothi_eradication : public SpellScript
class spell_garothi_surging_fel : public AuraScript
{
- PrepareAuraScript(spell_garothi_surging_fel);
-
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo({ SPELL_SURGING_FEL_DAMAGE });
@@ -830,8 +804,6 @@ class spell_garothi_surging_fel : public AuraScript
class spell_garothi_cannon_chooser : public SpellScript
{
- PrepareSpellScript(spell_garothi_cannon_chooser);
-
void HandleDummyEffect(SpellEffIndex /*effIndex*/)
{
Creature* caster = GetHitCreature();