Core/Unit: UNIT_FLAG renames
Port From (https://github.com/TrinityCore/TrinityCore/commit/f1ac141f25500a0f6ffd3c32b1185de2d9f9c940)
This commit is contained in:
@@ -782,7 +782,7 @@ namespace Game.Combat
|
||||
if (a.IsCreature() && a.ToCreature().IsTrigger())
|
||||
return false;
|
||||
|
||||
if (a.HasUnitFlag(UnitFlags.PvpAttackable))
|
||||
if (a.HasUnitFlag(UnitFlags.PlayerControlled))
|
||||
{
|
||||
if (b.HasUnitFlag(UnitFlags.ImmuneToPc))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user