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/Pet | |
parent | 228c56f3c5e23345cf2b5a391c614e52f61fe7f9 (diff) |
Scripts/Spells: Removed unneccessary PrepareSpellScript and PrepareAuraScript uses
Diffstat (limited to 'src/server/scripts/Pet')
-rw-r--r-- | src/server/scripts/Pet/pet_generic.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/server/scripts/Pet/pet_generic.cpp b/src/server/scripts/Pet/pet_generic.cpp index f63db95a1a2..b35dfeade3a 100644 --- a/src/server/scripts/Pet/pet_generic.cpp +++ b/src/server/scripts/Pet/pet_generic.cpp @@ -151,8 +151,6 @@ enum LichPet // 69735 - Lich Pet OnSummon class spell_pet_gen_lich_pet_onsummon : public SpellScript { - PrepareSpellScript(spell_pet_gen_lich_pet_onsummon); - bool Validate(SpellInfo const* /*spellInfo*/) override { return ValidateSpellInfo({ SPELL_LICH_PET_AURA }); @@ -173,8 +171,6 @@ class spell_pet_gen_lich_pet_onsummon : public SpellScript // 69736 - Lich Pet Aura Remove class spell_pet_gen_lich_pet_aura_remove : public SpellScript { - PrepareSpellScript(spell_pet_gen_lich_pet_aura_remove); - bool Validate(SpellInfo const* /*spellInfo*/) override { return ValidateSpellInfo({ SPELL_LICH_PET_AURA }); @@ -194,8 +190,6 @@ class spell_pet_gen_lich_pet_aura_remove : public SpellScript // 69732 - Lich Pet Aura class spell_pet_gen_lich_pet_aura : public AuraScript { - PrepareAuraScript(spell_pet_gen_lich_pet_aura); - bool Validate(SpellInfo const* /*spellInfo*/) override { return ValidateSpellInfo({ SPELL_LICH_PET_AURA_ONKILL }); @@ -228,8 +222,6 @@ class spell_pet_gen_lich_pet_aura : public AuraScript // 70050 - [DND] Lich Pet class spell_pet_gen_lich_pet_periodic_emote : public AuraScript { - PrepareAuraScript(spell_pet_gen_lich_pet_periodic_emote); - bool Validate(SpellInfo const* /*spellInfo*/) override { return ValidateSpellInfo({ SPELL_LICH_PET_EMOTE }); @@ -257,8 +249,6 @@ class spell_pet_gen_lich_pet_periodic_emote : public AuraScript // 70049 - [DND] Lich Pet class spell_pet_gen_lich_pet_emote : public AuraScript { - PrepareAuraScript(spell_pet_gen_lich_pet_emote); - void AfterApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { GetTarget()->HandleEmoteCommand(EMOTE_ONESHOT_CUSTOM_SPELL_01); @@ -273,8 +263,6 @@ class spell_pet_gen_lich_pet_emote : public AuraScript // 69682 - Lil' K.T. Focus class spell_pet_gen_lich_pet_focus : public SpellScript { - PrepareSpellScript(spell_pet_gen_lich_pet_focus); - bool Validate(SpellInfo const* spellInfo) override { return ValidateSpellInfo({ uint32(spellInfo->GetEffect(EFFECT_0).CalcValue()) }); |