diff options
-rw-r--r-- | sql/updates/world/master/2025_08_31_05_world.sql | 1 | ||||
-rw-r--r-- | src/server/scripts/Spells/spell_dk.cpp | 28 |
2 files changed, 1 insertions, 28 deletions
diff --git a/sql/updates/world/master/2025_08_31_05_world.sql b/sql/updates/world/master/2025_08_31_05_world.sql new file mode 100644 index 00000000000..3801986661d --- /dev/null +++ b/sql/updates/world/master/2025_08_31_05_world.sql @@ -0,0 +1 @@ +DELETE FROM `spell_script_names` WHERE `spell_id`=188290 AND `ScriptName`='spell_dk_death_and_decay_increase_targets'; 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); |