diff --git a/Source/Framework/Constants/Spells/SpellConst.cs b/Source/Framework/Constants/Spells/SpellConst.cs index 234a45b1e..cf6eddefd 100644 --- a/Source/Framework/Constants/Spells/SpellConst.cs +++ b/Source/Framework/Constants/Spells/SpellConst.cs @@ -1967,7 +1967,7 @@ namespace Framework.Constants public enum SpellAttr9 : uint { ForceDestLocation = 0x01, // Force Dest Location DESCRIPTION Ignores collision with terrain (unsure if it also ignores terrain height and can go under map) - Unk1 = 0x02, // 1 + ModInvisIncludesParty = 0x02, // Mod Invis Includes Party 1@Attr9 DESCRIPTION Causes invisibility auras to ignore "can always see party member invis" rule RestrictedFlightArea = 0x04, // 2 Unk3 = 0x08, // 3 SpecialDelayCalculation = 0x10, // 4 diff --git a/Source/Game/Entities/Player/Player.cs b/Source/Game/Entities/Player/Player.cs index 64d8eedb3..9244fb3b2 100644 --- a/Source/Game/Entities/Player/Player.cs +++ b/Source/Game/Entities/Player/Player.cs @@ -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;