mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
update (conf): Added conf for Anti-Knock back
sorry about that. forgot to make one
This commit is contained in:
@@ -82,6 +82,7 @@ Anticheat.IgnoreControlHack = 1
|
||||
Anticheat.DetectZaxisHack =1
|
||||
Anticheat.AntiSwimHack = 1
|
||||
Anticheat.DetectGravityHack = 1
|
||||
Anticheat.AntiKnockBack = 1
|
||||
|
||||
# Anticheat.StricterFlyHackCheck
|
||||
# Description: Checks moveflag ascending (may give false positives)
|
||||
|
||||
@@ -693,6 +693,9 @@ void AnticheatMgr::AntiSwimHackDetection(Player* player, MovementInfo movementIn
|
||||
// basic detection
|
||||
void AnticheatMgr::AntiKnockBackHactDetection(Player* player, MovementInfo movementInfo)
|
||||
{
|
||||
if (!sConfigMgr->GetOption<bool>("Anticheat.AntiKnockBack", true))
|
||||
return;
|
||||
|
||||
ObjectGuid key = player->GetGUID();
|
||||
|
||||
//if a knockback helper is not passed then we ignore
|
||||
|
||||
Reference in New Issue
Block a user