mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
Fix False Positive water walking when resurrection
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user