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/ScarletMonastery | |
| parent | 228c56f3c5e23345cf2b5a391c614e52f61fe7f9 (diff) | |
Scripts/Spells: Removed unneccessary PrepareSpellScript and PrepareAuraScript uses
Diffstat (limited to 'src/server/scripts/EasternKingdoms/ScarletMonastery')
| -rw-r--r-- | src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp index 83850147e3f..8a16c962d0a 100644 --- a/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp +++ b/src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp @@ -793,8 +793,6 @@ private: // 42432 - Headless Horseman Yell Timer class spell_headless_horseman_yell_timer : public AuraScript { - PrepareAuraScript(spell_headless_horseman_yell_timer); - void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { Creature* horseman = GetTarget()->ToCreature(); @@ -813,8 +811,6 @@ class spell_headless_horseman_yell_timer : public AuraScript // 43893 - Headless Horseman - Maniacal Laugh, Maniacal, Delayed 8 class spell_headless_horseman_maniacal_laugh : public AuraScript { - PrepareAuraScript(spell_headless_horseman_maniacal_laugh); - void HandleSound(AuraEffect const* /*aurEff*/) { GetTarget()->PlayDirectSound(SOUNDID_MANIACAL_LAUGH); @@ -829,8 +825,6 @@ class spell_headless_horseman_maniacal_laugh : public AuraScript // 42410 - Headless Horseman Climax - Command, Head Repositions class spell_headless_horseman_head_reposition : public SpellScript { - PrepareSpellScript(spell_headless_horseman_head_reposition); - void HandleScriptEffect(SpellEffIndex /*effIndex*/) { Position random = GetCaster()->GetRandomNearPosition(30.0f); @@ -846,8 +840,6 @@ class spell_headless_horseman_head_reposition : public SpellScript // 42399 - Headless Horseman Climax - Send Head class spell_headless_horseman_send_head : public SpellScript { - PrepareSpellScript(spell_headless_horseman_send_head); - void HandleScriptEffect(SpellEffIndex /*effIndex*/) { Unit* head = GetHitUnit(); @@ -864,8 +856,6 @@ class spell_headless_horseman_send_head : public SpellScript // 42603 - Headless Horseman Climax, Head: Periodic class spell_headless_horseman_head_periodic : public AuraScript { - PrepareAuraScript(spell_headless_horseman_head_periodic); - void HandleHPCheck(AuraEffect const* /*aurEff*/) { Unit* target = GetTarget(); @@ -886,8 +876,6 @@ class spell_headless_horseman_head_periodic : public AuraScript // 43101 - Headless Horseman Climax - Command, Head Requests Body class spell_headless_horseman_command_head_request_body : public SpellScript { - PrepareSpellScript(spell_headless_horseman_command_head_request_body); - void HandleScriptEffect(SpellEffIndex /*effIndex*/) { Unit* horseman = GetHitUnit(); @@ -904,8 +892,6 @@ class spell_headless_horseman_command_head_request_body : public SpellScript // 42401 - Headless Horseman Climax - Return Head class spell_headless_horseman_return_head : public SpellScript { - PrepareSpellScript(spell_headless_horseman_return_head); - void HandleScriptEffect(SpellEffIndex /*effIndex*/) { Unit* horseman = GetHitUnit(); @@ -922,8 +908,6 @@ class spell_headless_horseman_return_head : public SpellScript // 52236 - Summon Pumpkin Burst Delay class spell_summon_pumpkin_burst_delay : public AuraScript { - PrepareAuraScript(spell_summon_pumpkin_burst_delay); - void HandleText(AuraEffect const* /*aurEff*/) { if (Creature* horseman = GetTarget()->ToCreature()) @@ -939,8 +923,6 @@ class spell_summon_pumpkin_burst_delay : public AuraScript // 42428 - Headless Horseman Climax - Head Is Dead class spell_headless_horseman_head_is_dead : public SpellScript { - PrepareSpellScript(spell_headless_horseman_head_is_dead); - void HandleDummy(SpellEffIndex /*effIndex*/) { Creature* target = GetHitCreature(); @@ -970,8 +952,6 @@ class spell_headless_horseman_head_is_dead : public SpellScript // 42879 - Headless Horseman Climax - Summoning Rhyme Aura class spell_headless_horseman_summoning_rhyme_aura : public AuraScript { - PrepareAuraScript(spell_headless_horseman_summoning_rhyme_aura); - void PeriodicTick(AuraEffect const* aurEff) { if (!GetCaster()) @@ -1013,8 +993,6 @@ class spell_headless_horseman_summoning_rhyme_aura : public AuraScript // 42281 - Sprouting class spell_headless_horseman_sprouting : public SpellScript { - PrepareSpellScript(spell_headless_horseman_sprouting); - void HandleScriptEffect(SpellEffIndex /*effIndex*/) { Unit* pumpkin = GetHitUnit(); @@ -1032,8 +1010,6 @@ class spell_headless_horseman_sprouting : public SpellScript // 42818 - Headless Horseman - Wisp Flight Port class spell_headless_horseman_wisp_teleport : public SpellScript { - PrepareSpellScript(spell_headless_horseman_wisp_teleport); - void SetDest(SpellDestination& dest) { dest.Relocate(EarthBunnySpawnPosition); |
