Stanzilla / WoWUIBugs

World of Warcraft UI Bug Tracker
153 stars 7 forks source link

Retail (10.2): GetSpellTexture returns the texture of Avenging Wrath when provided invalid input and Avenging Wrath is glyphed. #503

Open ascott18 opened 7 months ago

ascott18 commented 7 months ago

Originally reported at https://github.com/ascott18/TellMeWhen/issues/2114.

When providing any input to GetSpellTexture that is not a valid spell (for example, GetSpellTexture("asdfghjkl")), texture 135875 is returned, which is the texture of Avenging Wrath. This only appears to happen on a Ret pally with Glyph of Winged Vengeance applied to Avenging Wrath. Removing the glyph from the spell allows the GetSpellTexture to once again return nil for invalid input.