Core/Spells: Implemented SPELL_ATTR9_MOD_INVIS_INCLUDES_PARTY
Port From (https://github.com/TrinityCore/TrinityCore/commit/050bde08af9015e9adeaa3bf2b35f08dc210680e)
This commit is contained in:
@@ -3945,7 +3945,7 @@ namespace Game.Entities
|
||||
|
||||
Player seerPlayer = seer.ToPlayer();
|
||||
if (seerPlayer != null)
|
||||
if (IsGroupVisibleFor(seerPlayer))
|
||||
if (IsGroupVisibleFor(seerPlayer) && !GetAuraEffectsByType(AuraType.ModInvisibility).All(invis => invis.GetSpellInfo().HasAttribute(SpellAttr9.ModInvisIncludesParty)))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user