From 1c693d245faadf292cd86e65fcb44771c265a5a0 Mon Sep 17 00:00:00 2001 From: Hondacrx Date: Mon, 18 Aug 2025 09:49:21 -0400 Subject: [PATCH] Core/Spells: Fixed applying glyphs without exclusive category Port From (https://github.com/TrinityCore/TrinityCore/commit/20ac55ffef0576fba8fb6fa166fcdcf56d30ea3b) --- Source/Game/Spells/Spell.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Game/Spells/Spell.cs b/Source/Game/Spells/Spell.cs index 73424aeaa..f930e18d3 100644 --- a/Source/Game/Spells/Spell.cs +++ b/Source/Game/Spells/Spell.cs @@ -5523,8 +5523,11 @@ namespace Game.Spells if (activeGlyphId == glyphId) return SpellCastResult.UniqueGlyph; - if (CliDB.GlyphPropertiesStorage.LookupByKey(activeGlyphId).GlyphExclusiveCategoryID == glyphProperties.GlyphExclusiveCategoryID) + if (glyphProperties.GlyphExclusiveCategoryID != 0 && CliDB.GlyphPropertiesStorage.LookupByKey(activeGlyphId).GlyphExclusiveCategoryID == glyphProperties.GlyphExclusiveCategoryID) + { + param1 = glyphProperties.GlyphExclusiveCategoryID; return SpellCastResult.GlyphExclusiveCategory; + } } } break;