From 1d17c6ce4c3056b8291680b27d5de6fd7071065c Mon Sep 17 00:00:00 2001 From: acidmanifesto Date: Mon, 7 Feb 2022 13:46:49 -0500 Subject: [PATCH] Fix False Positive water walking when resurrection --- src/AnticheatMgr.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index 0b3a56a..9735076 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -57,6 +57,11 @@ void AnticheatMgr::WalkOnWaterHackDetection(Player* player, MovementInfo moveme if (!player->IsAlive()) return; + // Prevents the False Positive for water walking when you ressurrect. + // Aura 15007 (Resurrectino sickness) is given while dead before returning back to life. + if (!player->IsAlive() && player->HasAura(15007)) + return; + if (player->HasAuraType(SPELL_AURA_FEATHER_FALL) || player->HasAuraType(SPELL_AURA_SAFE_FALL) || player->HasAuraType(SPELL_AURA_WATER_WALK))