Quantcast
A way to get known spells - WoWInterface
Thread Tools Display Modes
08-28-09, 05:16 PM   #1
GenkoKitsu
A Murloc Raider
Join Date: Aug 2009
Posts: 4
A way to get known spells

I know there's a way for an addon to get a list of known spells/abilities, but I can't figure out how to go about doing that. Anyone have any suggestions?

The second thing I was wondering is this: is there a way for an addon to query the server about the speed of a mount the player knows?

(Sorry if these answers are out there somewhere, search keeps giving me a huge mass of irrelevant threads.)
  Reply With Quote
08-28-09, 06:05 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,766
making dinner atm, but here's something to get you started: http://wowprogramming.com/docs/api_categories#spell
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
09-02-09, 04:08 PM   #3
GenkoKitsu
A Murloc Raider
Join Date: Aug 2009
Posts: 4
Thanks that helps out alot. More poking has shown me that there isn't anyway of getting the mount speed of a mount short of reading the buff off the player when they summon it. Not helpful for what I want to do.

So my question becomes; is there an existing database of mounts and speeds? or do I need to make it myself? And if so, any suggestions of a better way to do so then a huge if elseif chain?
  Reply With Quote
09-02-09, 10:46 PM   #4
inph
A Kobold Labourer
Join Date: Apr 2008
Posts: 1
Try looking at: GoGoMountData.lua

http://www.wowinterface.com/download...GoGoMount.html
  Reply With Quote
09-03-09, 02:20 AM   #5
Slakah
A Molten Giant
 
Slakah's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2007
Posts: 863
Heres a dataminer for mounts, http://github.com/tekkub/squire/blob.../Dataminer.lua .
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » A way to get known spells

Thread Tools
Display Modes

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