update (deteciton) Ignore control stun removal

remove stun as we are getting some false hits with it
This commit is contained in:
MDIC
2022-08-12 15:08:25 -04:00
parent 854c48fb04
commit 9bdcc96b52

View File

@@ -467,7 +467,8 @@ void AnticheatMgr::IgnoreControlHackDetection(Player* player, MovementInfo movem
uint32 latency = 0;
latency = player->GetSession()->GetLatency() >= 400;
if ((player->HasAuraType(SPELL_AURA_MOD_STUN) || player->HasAuraType(SPELL_AURA_MOD_ROOT)) && !player->GetVehicle() && !latency)
if ((player->HasAuraType(SPELL_AURA_MOD_ROOT)) && !player->GetVehicle() && !latency)
{
bool unrestricted = newX != lastX || newY != lastY;
if (unrestricted)
@@ -505,7 +506,6 @@ void AnticheatMgr::IgnoreControlHackDetection(Player* player, MovementInfo movem
BuildReport(player, IGNORE_CONTROL_REPORT);
}
}
}
void AnticheatMgr::GravityHackDetection(Player* player, MovementInfo movementInfo)