mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
update (detection): False flag reduction
Exempt the Celestial Planetarium Observer Battle that has a narrow path that false flags for jump hack
This commit is contained in:
@@ -319,6 +319,10 @@ void AnticheatMgr::JumpHackDetection(Player* player, MovementInfo movementInfo,
|
|||||||
if (!sConfigMgr->GetOption<bool>("Anticheat.StricterDetectJumpHack", true))
|
if (!sConfigMgr->GetOption<bool>("Anticheat.StricterDetectJumpHack", true))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
//Celestial Planetarium Observer Battle has a narrow path that false flags
|
||||||
|
if (player && GetWMOAreaTableEntryByTripple(5202, 0, 24083))
|
||||||
|
return;
|
||||||
|
|
||||||
if (m_Players[key].GetLastOpcode() == MSG_MOVE_JUMP && !player->IsFalling())
|
if (m_Players[key].GetLastOpcode() == MSG_MOVE_JUMP && !player->IsFalling())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user