View Single Post
08-17-12, 10:44 AM   #221
Iza
A Cyclonian
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 43
GetSpellBookItemName(index, booktype) will cause an error ("... invalid spell slot ...") instead of returning <nil> values for non-existant spell slots it seems. I solved this by using pcall for the moment, but that's just not very smart. Is there way to tell how many slots there are?

Last edited by Iza : 08-17-12 at 10:59 AM.