From 9d86215b955392c9e80180d2274eb18af2ac0656 Mon Sep 17 00:00:00 2001 From: ccrs Date: Fri, 10 Oct 2025 21:12:33 +0200 Subject: Revert "Scripts/ICC: override default jump behavior in Sindragosa's Icy Grip Jump - she pulls everyone up and into the model, not just to the unit's margin" This reverts commit e7cb86d369b8e5e92daa3a8b9f123fea380fcc8c. --- .../Northrend/IcecrownCitadel/boss_sindragosa.cpp | 26 ---------------------- 1 file changed, 26 deletions(-) (limited to 'src/server/scripts') diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp index d14184d4120..c3a6050d473 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp @@ -1359,31 +1359,6 @@ class spell_sindragosa_icy_grip : public SpellScript } }; -// 70122 - Icy Grip Jump -class spell_sindragosa_icy_grip_jump : public SpellScript -{ - PrepareSpellScript(spell_sindragosa_icy_grip_jump); - - void HandleEffect(SpellEffIndex effIndex) - { - PreventHitDefaultEffect(effIndex); - - Unit* target = GetHitUnit(); - Unit* caster = GetCaster(); - if (!target || !caster) - return; - - Position destination = target->GetPosition(); - destination.m_positionZ += 1.5f; - caster->GetMotionMaster()->MoveJump(destination, caster->GetExactDist2d(destination), 10.f); - } - - void Register() override - { - OnEffectLaunchTarget += SpellEffectFn(spell_sindragosa_icy_grip_jump::HandleEffect, EFFECT_0, SPELL_EFFECT_JUMP); - } -}; - class MysticBuffetTargetFilter { public: @@ -1622,7 +1597,6 @@ void AddSC_boss_sindragosa() RegisterSpellScript(spell_sindragosa_frost_beacon); RegisterSpellScript(spell_sindragosa_ice_tomb_trap); RegisterSpellScript(spell_sindragosa_icy_grip); - RegisterSpellScript(spell_sindragosa_icy_grip_jump); RegisterSpellScript(spell_sindragosa_mystic_buffet); RegisterSpellScript(spell_rimefang_icy_blast); RegisterSpellScript(spell_frostwarden_handler_order_whelp); -- cgit v1.2.3