Core/Units: UNIT_FLAG_PACIFIED will no longer block victim updates (#24190)

* Core/Units: UNIT_FLAG_PACIFIED will no longer block victim updates

* pacified units should only have their melee attacks blocked as counterpart to silence mechanics

* Core/Spells: removed unnecessary attack stop call from pacify aura effect handler
This commit is contained in:
Ovah
2020-02-28 19:22:25 +01:00
committed by GitHub
parent 0583445c05
commit 6cbfda2fce
2 changed files with 0 additions and 6 deletions
-3
View File
@@ -5493,9 +5493,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)
{