From a2729ba8f619771b3476140a2c59a9c67bc14f13 Mon Sep 17 00:00:00 2001 From: MDIC Date: Tue, 10 May 2022 09:11:14 -0400 Subject: [PATCH] fix (module): Reduce False Hit Gravity Hack --- src/AnticheatMgr.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index 4eed785..18573bc 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -518,6 +518,11 @@ void AnticheatMgr::GravityHackDetection(Player* player, MovementInfo movementInf if (!sConfigMgr->GetOption("Anticheat.DetectGravityHack", true)) return; + if (player->HasAuraType(SPELL_AURA_FEATHER_FALL)) + { + return; + } + if (!player->HasUnitMovementFlag(MOVEMENTFLAG_DISABLE_GRAVITY) && movementInfo.jump.zspeed < -10.0f) { if (sConfigMgr->GetOption("Anticheat.WriteLog", true))