View Single Post
12-13-19, 03:23 PM   #5
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
Originally Posted by MuffinManKen View Post
Then why even include the function? Interestingly, Blizzard addons use GetSpellLink. So just a lazy conversion from Retail?
Short answer, yes. There are many features they stripped out just by altering the returns of the API functions.



Originally Posted by Ketho View Post
Hey that could be a fun idea with chat addons to parse messages for any plain text spell links, to still make it show as a link and show to tooltip
If only. There's no reliable way to obtain a SpellID, which is necessary to reconstruct a link. There are many name collisions and you can't query the API for a spell you don't know by name.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote