Skip to content

Commit 9d86215

Browse files
committed
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 e7cb86d.
1 parent 4957d0a commit 9d86215

File tree

2 files changed

+0
-28
lines changed

2 files changed

+0
-28
lines changed
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
-- Icy Grip Jump
22
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_sindragosa_icy_grip_jump';
3-
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
4-
(70122, 'spell_sindragosa_icy_grip_jump');

src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,31 +1359,6 @@ 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-
13871362
class MysticBuffetTargetFilter
13881363
{
13891364
public:
@@ -1622,7 +1597,6 @@ void AddSC_boss_sindragosa()
16221597
RegisterSpellScript(spell_sindragosa_frost_beacon);
16231598
RegisterSpellScript(spell_sindragosa_ice_tomb_trap);
16241599
RegisterSpellScript(spell_sindragosa_icy_grip);
1625-
RegisterSpellScript(spell_sindragosa_icy_grip_jump);
16261600
RegisterSpellScript(spell_sindragosa_mystic_buffet);
16271601
RegisterSpellScript(spell_rimefang_icy_blast);
16281602
RegisterSpellScript(spell_frostwarden_handler_order_whelp);

0 commit comments

Comments
 (0)