mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 09:07:22 +00:00
False hit Reduction: Climb Hack
Climb Hack should only check if climbing not when falling.
This commit is contained in:
@@ -354,7 +354,7 @@ void AnticheatMgr::ClimbHackDetection(Player* player, MovementInfo movementInfo,
|
||||
|
||||
float angle = Position::NormalizeOrientation(tan(deltaZ / deltaXY));
|
||||
|
||||
if (angle > CLIMB_ANGLE)
|
||||
if ((angle > CLIMB_ANGLE) && !m_Players[key].GetLastMovementInfo().HasMovementFlag(MOVEMENTFLAG_FALLING))
|
||||
{
|
||||
if (sConfigMgr->GetOption<bool>("Anticheat.WriteLog", true))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user