Core/Spells: SPELL_AURA_MOD_PACIFY will no longer block victim updates and return false in Attack method

This commit is contained in:
Ovahlord committed 2020-02-23 22:29:32 +01:00
1 parent 64d990ba4f
commit 091e337574
2 files changed
-6

No files matched your search

-3
View File
@@ -5664,9 +5664,6 @@ bool Unit::Attack(Unit* victim, bool meleeAttack)
if (creature && creature->IsInEvadeMode())
return false;
if (HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PACIFIED))
return false;
// nobody can attack GM in GM-mode
if (victim->GetTypeId() == TYPEID_PLAYER)
{