Code Reduction

No long need to make these two spell exceptions due to last commit.
This commit is contained in:
MDIC
2022-04-09 12:26:57 -04:00
parent 93b3570234
commit a0bca3d8f2

View File

@@ -454,23 +454,6 @@ void AnticheatMgr::SpeedHackDetection(Player* player, MovementInfo movementInfo)
if (!timeDiff)
timeDiff = 1;
// Exceptions
switch (player->getClass())
{
case CLASS_ROGUE:
// Killing Spree
if (player->GetAura(51690))
return;
break;
case CLASS_MAGE:
// Blink
if (player->GetAura(1953))
return;
break;
default:
break;// Should never happen
}
// 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;