mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Core/Movement: Corrected all speed checks after 23b6991273
Ref issue #19210
This commit is contained in:
@@ -4528,7 +4528,7 @@ void Spell::EffectKnockBack(SpellEffIndex effIndex)
|
||||
float ratio = 0.1f;
|
||||
float speedxy = float(m_spellInfo->Effects[effIndex].MiscValue) * ratio;
|
||||
float speedz = float(damage) * ratio;
|
||||
if (speedxy < 0.1f && speedz < 0.1f)
|
||||
if (speedxy < 0.01f && speedz < 0.01f)
|
||||
return;
|
||||
|
||||
float x, y;
|
||||
|
||||
Reference in New Issue
Block a user