diff options
author | Shauren <shauren.trinity@gmail.com> | 2023-07-24 10:48:50 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2023-07-24 10:48:50 +0200 |
commit | 2e7e49b749e16f5cf9d0a2f4518f9aa7fef2308b (patch) | |
tree | 4c5d6a15ff3c74a2a2eaf35ea6a7d9319848104d /src/server/scripts/Zandalar | |
parent | 228c56f3c5e23345cf2b5a391c614e52f61fe7f9 (diff) |
Scripts/Spells: Removed unneccessary PrepareSpellScript and PrepareAuraScript uses
Diffstat (limited to 'src/server/scripts/Zandalar')
-rw-r--r-- | src/server/scripts/Zandalar/Underrot/boss_cragmaw_the_infested.cpp | 8 | ||||
-rw-r--r-- | src/server/scripts/Zandalar/Underrot/boss_elder_leaxa.cpp | 10 |
2 files changed, 0 insertions, 18 deletions
diff --git a/src/server/scripts/Zandalar/Underrot/boss_cragmaw_the_infested.cpp b/src/server/scripts/Zandalar/Underrot/boss_cragmaw_the_infested.cpp index e506d3ec260..9368195d55e 100644 --- a/src/server/scripts/Zandalar/Underrot/boss_cragmaw_the_infested.cpp +++ b/src/server/scripts/Zandalar/Underrot/boss_cragmaw_the_infested.cpp @@ -254,8 +254,6 @@ private: // 271775 - Tantrum Energy Bar (periodic) class spell_cragmaw_power_energize_tantrum : public AuraScript { - PrepareAuraScript(spell_cragmaw_power_energize_tantrum); - void HandlePeriodic(AuraEffect const* /*aurEff*/) { Unit* target = GetTarget(); @@ -271,8 +269,6 @@ class spell_cragmaw_power_energize_tantrum : public AuraScript // 260411 - Summon Larva class spell_cragmaw_summon_larva : public AuraScript { - PrepareAuraScript(spell_cragmaw_summon_larva); - void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { if (Creature* creature = GetTarget()->ToCreature()) @@ -302,8 +298,6 @@ struct at_cragmaw_destroy_larva : AreaTriggerAI // 260416 - Metamorphosis class spell_cragmaw_larva_metamorphosis : public AuraScript { - PrepareAuraScript(spell_cragmaw_larva_metamorphosis); - bool Validate(SpellInfo const* /*spellInfo*/) override { return ValidateSpellInfo( @@ -340,8 +334,6 @@ class spell_cragmaw_larva_metamorphosis : public AuraScript // 278641 - Blood Burst class spell_cragmaw_blood_burst : public AuraScript { - PrepareAuraScript(spell_cragmaw_blood_burst); - void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { Unit* target = GetTarget(); diff --git a/src/server/scripts/Zandalar/Underrot/boss_elder_leaxa.cpp b/src/server/scripts/Zandalar/Underrot/boss_elder_leaxa.cpp index 2dbceab860e..25dfd5be650 100644 --- a/src/server/scripts/Zandalar/Underrot/boss_elder_leaxa.cpp +++ b/src/server/scripts/Zandalar/Underrot/boss_elder_leaxa.cpp @@ -214,8 +214,6 @@ struct npc_blood_wave_stalker : public ScriptedAI // 264747 - Sanguine Feast class spell_sanguine_feast_selector : public SpellScript { - PrepareSpellScript(spell_sanguine_feast_selector); - bool Validate(SpellInfo const* spellInfo) override { return ValidateSpellEffect({ { spellInfo->Id, EFFECT_0 } }) && ValidateSpellInfo({ uint32(spellInfo->GetEffect(EFFECT_0).CalcValue()) }); @@ -236,8 +234,6 @@ class spell_sanguine_feast_selector : public SpellScript // 260889 - Creeping Rot class spell_creeping_rot_selector : public SpellScript { - PrepareSpellScript(spell_creeping_rot_selector); - static constexpr float SPAWN_DISTANCE = 5.0f; void HandleHit(SpellEffIndex /*effIndex*/) @@ -268,8 +264,6 @@ class spell_creeping_rot_selector : public SpellScript // 261496 - Creeping Rot (Aura) class spell_creeping_rot_aura : public AuraScript { - PrepareAuraScript(spell_creeping_rot_aura); - void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { if (GetTargetApplication()->GetRemoveMode() != AURA_REMOVE_BY_EXPIRE) @@ -302,8 +296,6 @@ static Position const MirrorSpawnPositions[] = // 264603 - Blood Mirror class spell_blood_mirror_selector : public SpellScript { - PrepareSpellScript(spell_blood_mirror_selector); - bool Validate(SpellInfo const* /*spellInfo*/) override { return ValidateSpellInfo({ SPELL_BLOOD_MIRROR_MISSILE }); @@ -326,8 +318,6 @@ class spell_blood_mirror_selector : public SpellScript // 261498 - Creeping Rot class spell_taint_of_ghuun : public SpellScript { - PrepareSpellScript(spell_taint_of_ghuun); - bool Validate(SpellInfo const* /*spellInfo*/) override { return ValidateSpellInfo({ SPELL_TAINT_OF_GHUUN }); |