Quantcast
WoWInterface - View Single Post - Spell cost
Thread: Spell cost
View Single Post
03-15-18, 03:16 PM   #6
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by Seerah View Post
According to the UI source, it's not a nested table.

ex., https://github.com/tomrus88/Blizzard...teBar.lua#L148
Look again. The line you highlights assigns the returned outer table to a variable, and then the very next line loops over the inner table(s).
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
  Reply With Quote