aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorAqua Deus <95978183+aquadeus@users.noreply.github.com>2025-08-31 15:28:39 +0200
committerGitHub <noreply@github.com>2025-08-31 15:28:39 +0200
commit9c89fc957ce8e6d0fc6a7da0352f153a3a3261ec (patch)
treea8d87bc52aa655beea132d1e477da1ea589c8e9c /src/server/scripts
parent187e74ac722747192d4a26508c58c857221a6703 (diff)
Scripts/Spells: Delete death knight spell scripts removed in patch 11.2 (#31227)
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Spells/spell_dk.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/server/scripts/Spells/spell_dk.cpp b/src/server/scripts/Spells/spell_dk.cpp
index ff2babcf667..7ba94820ccc 100644
--- a/src/server/scripts/Spells/spell_dk.cpp
+++ b/src/server/scripts/Spells/spell_dk.cpp
@@ -102,8 +102,6 @@ enum DeathKnightSpells
SPELL_DK_SUBDUING_GRASP_DEBUFF = 454824,
SPELL_DK_SUBDUING_GRASP_TALENT = 454822,
SPELL_DK_UNHOLY = 137007,
- SPELL_DK_UNHOLY_GROUND_HASTE = 374271,
- SPELL_DK_UNHOLY_GROUND_TALENT = 374265,
SPELL_DK_UNHOLY_VIGOR = 196263,
SPELL_DH_VORACIOUS_LEECH = 274009,
SPELL_DH_VORACIOUS_TALENT = 273953
@@ -522,25 +520,6 @@ class spell_dk_death_and_decay : public AuraScript
}
};
-// 188290 - Death and Decay (triggered by 316916 - Cleaving Strikes)
-class spell_dk_death_and_decay_increase_targets : public AuraScript
-{
- bool Validate(SpellInfo const* /*spell*/) override
- {
- return ValidateSpellInfo({ SPELL_DK_UNHOLY_GROUND_HASTE });
- }
-
- void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) const
- {
- GetTarget()->RemoveAurasDueToSpell(SPELL_DK_UNHOLY_GROUND_HASTE);
- }
-
- void Register() override
- {
- AfterEffectRemove += AuraEffectRemoveFn(spell_dk_death_and_decay_increase_targets::OnRemove, EFFECT_0, SPELL_AURA_DUMMY, AURA_EFFECT_HANDLE_REAL);
- }
-};
-
// 47541 - Death Coil
class spell_dk_death_coil : public SpellScript
{
@@ -1413,9 +1392,6 @@ struct at_dk_death_and_decay : AreaTriggerAI
if (unit->HasAura(SPELL_DK_CLEAVING_STRIKES))
unit->CastSpell(unit, SPELL_DK_DEATH_AND_DECAY_INCREASE_TARGETS, TRIGGERED_DONT_REPORT_CAST_ERROR);
- if (unit->HasAura(SPELL_DK_UNHOLY_GROUND_TALENT))
- unit->CastSpell(unit, SPELL_DK_UNHOLY_GROUND_HASTE);
-
if (unit->HasAura(SPELL_DK_SANGUINE_GROUND_TALENT))
unit->CastSpell(unit, SPELL_DK_SANGUINE_GROUND);
}
@@ -1425,9 +1401,6 @@ struct at_dk_death_and_decay : AreaTriggerAI
if (unit->GetGUID() != at->GetCasterGuid())
return;
- if (!unit->HasAura(SPELL_DK_CLEAVING_STRIKES))
- unit->RemoveAurasDueToSpell(SPELL_DK_UNHOLY_GROUND_HASTE);
-
if (Aura* deathAndDecay = unit->GetAura(SPELL_DK_DEATH_AND_DECAY_INCREASE_TARGETS))
{
if (AuraEffect* const cleavingStrikes = unit->GetAuraEffect(SPELL_DK_CLEAVING_STRIKES, EFFECT_3))
@@ -1454,7 +1427,6 @@ void AddSC_deathknight_spell_scripts()
RegisterSpellScript(spell_dk_dark_simulacrum);
RegisterSpellScript(spell_dk_dark_simulacrum_buff);
RegisterSpellScript(spell_dk_death_and_decay);
- RegisterSpellScript(spell_dk_death_and_decay_increase_targets);
RegisterSpellScript(spell_dk_death_coil);
RegisterSpellScript(spell_dk_death_gate);
RegisterSpellScript(spell_dk_death_grip_initial);