mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-24 06:06:23 +00:00
fix(Core/SpellEffect): Increase speed of cat charge (#4795)
This commit is contained in:
@@ -1136,11 +1136,12 @@ void Spell::EffectJumpDest(SpellEffIndex effIndex)
|
||||
// Override, calculations are incorrect
|
||||
if (m_spellInfo->Id == 49376) // feral charge
|
||||
{
|
||||
speedXY = pow(speedZ * 10, 2);
|
||||
speedXY = pow(speedZ * 10, 8);
|
||||
m_caster->GetMotionMaster()->MoveJump(x, y, z, speedXY, speedZ, 0, ObjectAccessor::GetUnit(*m_caster, m_caster->GetUInt64Value(UNIT_FIELD_TARGET)));
|
||||
return;
|
||||
}
|
||||
else if (m_spellInfo->Id == 57604) // death grip
|
||||
|
||||
if (m_spellInfo->Id == 57604) // death grip
|
||||
{
|
||||
speedZ = 3.0f;
|
||||
speedXY = 50.0f;
|
||||
|
||||
Reference in New Issue
Block a user