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/ZulGurub | |
| parent | 228c56f3c5e23345cf2b5a391c614e52f61fe7f9 (diff) | |
Scripts/Spells: Removed unneccessary PrepareSpellScript and PrepareAuraScript uses
Diffstat (limited to 'src/server/scripts/EasternKingdoms/ZulGurub')
| -rw-r--r-- | src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp index f7de0c791ac..d5e0e4f31d5 100644 --- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp +++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp @@ -410,8 +410,6 @@ private: // 96682 - Decapitate class spell_mandokir_decapitate : public SpellScript { - PrepareSpellScript(spell_mandokir_decapitate); - void FilterTargets(std::list<WorldObject*>& targets) { if (targets.empty()) @@ -439,8 +437,6 @@ class spell_mandokir_decapitate : public SpellScript // 96776 - Bloodletting class spell_mandokir_bloodletting : public AuraScript { - PrepareAuraScript(spell_mandokir_bloodletting); - bool Validate(SpellInfo const* /*spell*/) override { return ValidateSpellInfo({ SPELL_BLOODLETTING_DAMAGE, SPELL_BLOODLETTING_HEAL }); @@ -470,8 +466,6 @@ class spell_mandokir_bloodletting : public AuraScript // 96821 - Spirit's Vengeance Cancel class spell_mandokir_spirit_vengeance_cancel : public SpellScript { - PrepareSpellScript(spell_mandokir_spirit_vengeance_cancel); - void HandleScript(SpellEffIndex /*effIndex*/) { if (Player* target = GetHitPlayer()) @@ -508,8 +502,6 @@ class DevastatingSlamTargetSelector // 96761 - Devastating Slam class spell_mandokir_devastating_slam : public SpellScript { - PrepareSpellScript(spell_mandokir_devastating_slam); - void FilterTargets(std::list<WorldObject*>& targets) { targets.remove_if(DevastatingSlamTargetSelector(GetCaster()->ToCreature(), GetCaster()->GetVictim())); @@ -556,8 +548,6 @@ class spell_mandokir_devastating_slam : public SpellScript // 96721 - Ohgan's Orders class spell_mandokir_ohgan_orders : public SpellScript { - PrepareSpellScript(spell_mandokir_ohgan_orders); - void FilterTargets(std::list<WorldObject*>& targets) { if (targets.empty()) @@ -585,8 +575,6 @@ class spell_mandokir_ohgan_orders : public SpellScript // 96722 - Ohgan's Orders class spell_mandokir_ohgan_orders_trigger : public AuraScript { - PrepareAuraScript(spell_mandokir_ohgan_orders_trigger); - void HandleEffectApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { Unit* target = GetTarget(); @@ -610,8 +598,6 @@ class spell_mandokir_ohgan_orders_trigger : public AuraScript // 96724 - Reanimate Ohgan class spell_mandokir_reanimate_ohgan : public SpellScript { - PrepareSpellScript(spell_mandokir_reanimate_ohgan); - void HandleScript(SpellEffIndex /*effIndex*/) { if (Unit* target = GetHitUnit()) |
