mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 09:07:22 +00:00
Fix False Positive Blink
Added Mage's Blink to the exception list as it was making false positives.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user