Fix False Positive water walking when resurrection

This commit is contained in:
acidmanifesto
2022-02-07 13:46:49 -05:00
committed by GitHub
parent 1529b73ebd
commit 1d17c6ce4c

View File

@@ -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))