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/EasternKingdoms/ScarletEnclave | |
| parent | 228c56f3c5e23345cf2b5a391c614e52f61fe7f9 (diff) | |
Scripts/Spells: Removed unneccessary PrepareSpellScript and PrepareAuraScript uses
Diffstat (limited to 'src/server/scripts/EasternKingdoms/ScarletEnclave')
| -rw-r--r-- | src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp | 10 | ||||
| -rw-r--r-- | src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp | 2 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp index 2047f9ee505..95a4271be0c 100644 --- a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp +++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp @@ -355,8 +355,6 @@ class go_acherus_soul_prison : public GameObjectScript // 51519 - Death Knight Initiate Visual class spell_death_knight_initiate_visual : public SpellScript { - PrepareSpellScript(spell_death_knight_initiate_visual); - void HandleScriptEffect(SpellEffIndex /* effIndex */) { Creature* target = GetHitCreature(); @@ -841,8 +839,6 @@ enum HorseSeats // 52265 - Repo class spell_stable_master_repo : public AuraScript { - PrepareAuraScript(spell_stable_master_repo); - void AfterApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { Creature* creature = GetTarget()->ToCreature(); @@ -865,8 +861,6 @@ class spell_stable_master_repo : public AuraScript // 52264 - Deliver Stolen Horse class spell_deliver_stolen_horse : public SpellScript { - PrepareSpellScript(spell_deliver_stolen_horse); - bool Validate(SpellInfo const* /*spellInfo*/) override { return ValidateSpellInfo({ SPELL_DELIVER_STOLEN_HORSE, SPELL_EFFECT_STOLEN_HORSE }); @@ -1079,8 +1073,6 @@ enum GiftOfTheHarvester // 52479 - Gift of the Harvester class spell_gift_of_the_harvester : public SpellScript { - PrepareSpellScript(spell_gift_of_the_harvester); - bool Validate(SpellInfo const* /*spell*/) override { return ValidateSpellInfo( @@ -1125,8 +1117,6 @@ enum Runeforging 327082 - Rune of the Apocalypse */ class spell_chapter1_runeforging_credit : public SpellScript { - PrepareSpellScript(spell_chapter1_runeforging_credit); - bool Validate(SpellInfo const* /*spellInfo*/) override { return ValidateSpellInfo({ SPELL_RUNEFORGING_CREDIT }) && diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp index 11cc168d497..b93c1646e46 100644 --- a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp +++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp @@ -614,8 +614,6 @@ public: // 53110 - Devour Humanoid class spell_death_knight_devour_humanoid : public SpellScript { - PrepareSpellScript(spell_death_knight_devour_humanoid); - void HandleScriptEffect(SpellEffIndex /* effIndex */) { GetHitUnit()->CastSpell(GetCaster(), GetEffectValue(), true); |
