udpate (BG): Horde AV BG fine tuning

Horde AV BG fine tuning
This commit is contained in:
M'Dic
2022-10-01 13:24:48 -04:00
committed by GitHub

View File

@@ -935,7 +935,9 @@ void AnticheatMgr::BGStartExploit(Player* player, MovementInfo movementInfo)
{
sAnticheatMgr->BGreport(player);
}
if (player->GetTeamId() == TEAM_HORDE && movementInfo.pos.GetPositionY() > -536.0f)
if ((player->GetTeamId() == TEAM_HORDE && movementInfo.pos.GetPositionY() > -536.0f) ||
(player->GetTeamId() == TEAM_HORDE && movementInfo.pos.GetPositionX() > -1283.33f) ||
(player->GetTeamId() == TEAM_HORDE && movementInfo.pos.GetPositionY() < -716.0f))
{
sAnticheatMgr->BGreport(player);
}