mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
Add (Anticheat Exemption) DK stuff
Add DK stuff to speed hack exemption. Add Default to Map.
This commit is contained in:
@@ -342,6 +342,18 @@ void AnticheatMgr::SpeedHackDetection(Player* player, MovementInfo movementInfo)
|
||||
case 718: //Transport: The Mighty Wind (Icecrown Citadel Raid)
|
||||
return;
|
||||
break;
|
||||
default:
|
||||
break;// Should never happen
|
||||
}
|
||||
|
||||
switch (player->GetAreaId())
|
||||
{
|
||||
case 4281: //Acherus: The Ebon Hold
|
||||
case 4342: //Acherus: The Ebon Hold
|
||||
return;
|
||||
break;
|
||||
default:
|
||||
break;// Should never happen
|
||||
}
|
||||
|
||||
uint32 distance2D = (uint32)movementInfo.pos.GetExactDist2d(&m_Players[key].GetLastMovementInfo().pos);
|
||||
@@ -387,7 +399,7 @@ void AnticheatMgr::SpeedHackDetection(Player* player, MovementInfo movementInfo)
|
||||
return;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
break;// Should never happen
|
||||
}
|
||||
|
||||
// this is the distance doable by the player in 1 sec, using the time done to move to this point.
|
||||
|
||||
Reference in New Issue
Block a user