aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy <Golrag@users.noreply.github.com>2025-06-06 21:11:52 +0200
committerGitHub <noreply@github.com>2025-06-06 21:11:52 +0200
commit5d4bde1d15924e2838c181ab102afd59586e501f (patch)
treeee2113848c761f90d89992e502978f2d98425cbc /src
parentf25ca4165e720ece61a44b1c734ce53cfe31367b (diff)
Script/Spells: Remove outdated Sudden Death spell script (#31028)
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_warrior.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/server/scripts/Spells/spell_warrior.cpp b/src/server/scripts/Spells/spell_warrior.cpp
index 1564a5efe30..bfe379b1ed6 100644
--- a/src/server/scripts/Spells/spell_warrior.cpp
+++ b/src/server/scripts/Spells/spell_warrior.cpp
@@ -744,27 +744,6 @@ class spell_warr_strategist : public AuraScript
}
};
-// 52437 - Sudden Death
-class spell_warr_sudden_death : public AuraScript
-{
- bool Validate(SpellInfo const* /*spellInfo*/) override
- {
- return ValidateSpellInfo({ SPELL_WARRIOR_COLOSSUS_SMASH });
- }
-
- void HandleApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
- {
- // Remove cooldown on Colossus Smash
- if (Player* player = GetTarget()->ToPlayer())
- player->GetSpellHistory()->ResetCooldown(SPELL_WARRIOR_COLOSSUS_SMASH, true);
- }
-
- void Register() override
- {
- AfterEffectApply += AuraEffectRemoveFn(spell_warr_sudden_death::HandleApply, EFFECT_0, SPELL_AURA_DUMMY, AURA_EFFECT_HANDLE_REAL); // correct?
- }
-};
-
// 12328, 18765, 35429 - Sweeping Strikes
class spell_warr_sweeping_strikes : public AuraScript
{
@@ -928,7 +907,6 @@ void AddSC_warrior_spell_scripts()
RegisterSpellScript(spell_warr_storm_bolt);
RegisterSpellScript(spell_warr_storm_bolts);
RegisterSpellScript(spell_warr_strategist);
- RegisterSpellScript(spell_warr_sudden_death);
RegisterSpellScript(spell_warr_sweeping_strikes);
RegisterSpellScript(spell_warr_trauma);
RegisterSpellScript(spell_warr_t3_prot_8p_bonus);