mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
Fix False Flag (Killing Spree)
Rogue's Kill Spree was giving a false detection on speed hack when on a single target. We add the aura and class combination as a exception to not flag legit rouge players.
This commit is contained in:
@@ -413,6 +413,12 @@ void AnticheatMgr::SpeedHackDetection(Player* player, MovementInfo movementInfo)
|
||||
if (!timeDiff)
|
||||
timeDiff = 1;
|
||||
|
||||
// Rouge Class Killing Spree causes false flags so we add the exception here
|
||||
if (player->getClass() == CLASS_ROGUE && player->GetAura(51690))
|
||||
{
|
||||
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