mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Script/Spells: Remove outdated Sudden Death spell script (#31028)
This commit is contained in:
1
sql/updates/world/master/2025_06_06_03_world.sql
Normal file
1
sql/updates/world/master/2025_06_06_03_world.sql
Normal file
@@ -0,0 +1 @@
|
||||
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_warr_sudden_death';
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user