@@ -1359,6 +1359,31 @@ class spell_sindragosa_icy_grip : public SpellScript
13591359 }
13601360};
13611361
1362+ // 70122 - Icy Grip Jump
1363+ class spell_sindragosa_icy_grip_jump : public SpellScript
1364+ {
1365+ PrepareSpellScript (spell_sindragosa_icy_grip_jump);
1366+
1367+ void HandleEffect (SpellEffIndex effIndex)
1368+ {
1369+ PreventHitDefaultEffect (effIndex);
1370+
1371+ Unit* target = GetHitUnit ();
1372+ Unit* caster = GetCaster ();
1373+ if (!target || !caster)
1374+ return ;
1375+
1376+ Position destination = target->GetPosition ();
1377+ destination.m_positionZ += 1 .5f ;
1378+ caster->GetMotionMaster ()->MoveJump (destination, caster->GetExactDist2d (destination), 10 .f );
1379+ }
1380+
1381+ void Register () override
1382+ {
1383+ OnEffectLaunchTarget += SpellEffectFn (spell_sindragosa_icy_grip_jump::HandleEffect, EFFECT_0, SPELL_EFFECT_JUMP);
1384+ }
1385+ };
1386+
13621387class MysticBuffetTargetFilter
13631388{
13641389 public:
@@ -1597,6 +1622,7 @@ void AddSC_boss_sindragosa()
15971622 RegisterSpellScript (spell_sindragosa_frost_beacon);
15981623 RegisterSpellScript (spell_sindragosa_ice_tomb_trap);
15991624 RegisterSpellScript (spell_sindragosa_icy_grip);
1625+ RegisterSpellScript (spell_sindragosa_icy_grip_jump);
16001626 RegisterSpellScript (spell_sindragosa_mystic_buffet);
16011627 RegisterSpellScript (spell_rimefang_icy_blast);
16021628 RegisterSpellScript (spell_frostwarden_handler_order_whelp);
0 commit comments