Thread Tools Display Modes
08-24-08, 07:23 PM   #1
kerrang
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Oct 2006
Posts: 109
GetSpellInfo and Rune/Runic Power spells

It appears the 'type' that GetSpellInfo returns has been extended to '5' for Runes and '6' for Runic Power spells.

There doesn't appear to be any way to see which Rune(s) or how much Runic Power a spell requires tho (cost being 0 in both cases)...

If anyone finds a way of working this out - plz do post it here

Thx

p.s. I realise I could scrape the tooltip but that's crude
  Reply With Quote
08-24-08, 08:29 PM   #2
LBXZero
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 61
Unfortunately, the list of global functions that I pulled do not show a function to return rune cost. GetSpellInfo shows no modifications. But Runic cost is the 4th value from GetSpellInfo. I got 40 returned from Death Coil.
  Reply With Quote
08-25-08, 08:27 AM   #3
kerrang
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Oct 2006
Posts: 109
Originally Posted by LBXZero View Post
Unfortunately, the list of global functions that I pulled do not show a function to return rune cost. GetSpellInfo shows no modifications. But Runic cost is the 4th value from GetSpellInfo. I got 40 returned from Death Coil.
That's weird because it returned 0 for me last night!?!?!?

I guess as I have to scrape tooltips for the runes I may as well do it for runic cost for now too - easily fixed later anyway - thanks!
  Reply With Quote
08-25-08, 11:23 AM   #4
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Had a similar problem with the maxrange value of GetSpellInfo returning 0 for all spells. I guess they're working on new stuff like this. Just be patient.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » GetSpellInfo and Rune/Runic Power 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