Skip to content

Commit

Permalink
Spell: Disable sending packet with aura removal for self when possessed
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Nov 21, 2023
1 parent 34cdef0 commit 883d565
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/game/Spells/SpellHandler.cpp
Expand Up @@ -531,6 +531,10 @@ void WorldSession::HandleCancelAuraOpcode(WorldPacket& recvPacket)
if (!holder)
return;

// cant remove any auras while possessed
if (_player->HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_POSSESSED) || _player->HasCharmer())
return;

if (!holder->IsPositive())
{
// ignore for remote control state
Expand Down

0 comments on commit 883d565

Please sign in to comment.