diff --git a/Source/Framework/Constants/CreatureConst.cs b/Source/Framework/Constants/CreatureConst.cs index 1fbef7af2..268ba1968 100644 --- a/Source/Framework/Constants/CreatureConst.cs +++ b/Source/Framework/Constants/CreatureConst.cs @@ -77,7 +77,7 @@ namespace Framework.Constants Skinnable = 0x4000000, Mount = 0x8000000, Unk28 = 0x10000000, - Unk29 = 0x20000000, + PreventEmotesFromChatText = 0x20000000, // Prevent automatically playing emotes from parsing chat text, for example "lol" in /say, ending message with ? or !, or using /yell Sheathe = 0x40000000, Immune = 0x80000000 } diff --git a/Source/Game/Spells/Auras/AuraEffect.cs b/Source/Game/Spells/Auras/AuraEffect.cs index 30152b89f..d83fd13c4 100644 --- a/Source/Game/Spells/Auras/AuraEffect.cs +++ b/Source/Game/Spells/Auras/AuraEffect.cs @@ -1689,7 +1689,7 @@ namespace Game.Spells if (aurApp.HasRemoveMode()) return; - target.AddUnitFlag(UnitFlags.Unk29); + target.AddUnitFlag(UnitFlags.PreventEmotesFromChatText); target.AddUnitFlag2(UnitFlags2.FeignDeath); target.AddDynamicFlag(UnitDynFlags.Dead); target.AddUnitState(UnitState.Died); @@ -1700,7 +1700,7 @@ namespace Game.Spells } else { - target.RemoveUnitFlag(UnitFlags.Unk29); + target.RemoveUnitFlag(UnitFlags.PreventEmotesFromChatText); target.RemoveUnitFlag2(UnitFlags2.FeignDeath); target.RemoveDynamicFlag(UnitDynFlags.Dead); target.ClearUnitState(UnitState.Died);