Fix False Positive Blink

Added Mage's Blink to the exception list as it was making false positives.
This commit is contained in:
MDIC
2022-03-09 12:42:33 -05:00
parent 75532a21e6
commit 7126f90a67

View File

@@ -419,6 +419,12 @@ void AnticheatMgr::SpeedHackDetection(Player* player, MovementInfo movementInfo)
return;
}
// Mage Class Blink causes false flags so we add the exception here
if (player->getClass() == CLASS_MAGE && player->GetAura(1953))
{
return;
}
// this is the distance doable by the player in 1 sec, using the time done to move to this point.
uint32 clientSpeedRate = distance2D * 1000 / timeDiff;