Thread Tools Display Modes
06-14-17, 02:45 PM   #1
pas06
A Theradrim Guardian
Join Date: Apr 2009
Posts: 62
GetSpellTexture() in 7.2.5

Hi, i noticed that Blizzard added a new return value to the function GetSpellTexture. In Blizzard_ArenaUI.lua it says: local spellTexture, spellTextureNoOverride = GetSpellTexture(spellID)
Does anyone know why this function does returns 2 fileIDs now?
  Reply With Quote
06-14-17, 03:29 PM   #2
Kakjens
A Cliff Giant
Join Date: Apr 2017
Posts: 75
Blizzard_TalentUI.lua has a line
Lua Code:
  1. local _, icon = GetSpellTexture(bonuses[i]);
I believe that line didn't change for a long time.
  Reply With Quote
06-15-17, 04:46 AM   #3
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
It's been like that since build 15544, April 2012, the API might pre-date that though:
https://github.com/tekkub/wow-ui-sou...947af77acR1260
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » GetSpellTexture() in 7.2.5


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off