Core/Spells: Fixed applying glyphs without exclusive category
Port From (https://github.com/TrinityCore/TrinityCore/commit/20ac55ffef0576fba8fb6fa166fcdcf56d30ea3b)
This commit is contained in:
@@ -5523,10 +5523,13 @@ 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;
|
||||
}
|
||||
case SpellEffectName.FeedPet:
|
||||
|
||||
Reference in New Issue
Block a user