WoWInterface - View Single Post - GetSpellInfo changes in WOD beta
View Single Post
10-11-14, 11:17 AM   #9
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 29
Originally Posted by Phanx View Post
You can use tooltip scanning. Set the spell to a tooltip, and then look at the text in the tooltip. Do a forum search if you need examples; I know there are tons, but I'm too lazy to find them for you right now.

Strange, though, that they'd remove information that's actually relevant, but leave the rank return, when spells haven't had ranks in years...
I'm searching for a way to do this that's locale-independent. The tooltip has the information in a consistent place, but the format of that line differs between locales and also has to deal with singular/plural variations. I'm mostly struggling with the singular/plural part of it. Are there existing examples of getting this spell cost information from the tooltip?