This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Classic Theme
Thottbot Theme
Enchant Item Permanent Effect id to spell api?
Post Reply
Return to board index
Post by
TegoZanduba
I'd like to be able to pass in the 'permanent enchant' id and get back the spell that has the effect.
I've poked around but don't see this ability -- any chance of it getting added or have others used other work-arounds?
E.g.
http://www.wowhead.com/?spell=27927
is 2931.
Why?
The 'equipment histories' feature @
http://apps.facebook.com/hearthstone/
uses the armory data to track when you upgrade your gear -- I'd like to be able to say "Tego enchanted 'An Awesome Ring' with 'Enchant Ring - Stats'" instead of just "Tego enchanted 'An Awesome Ring'" and make the user over over the link to see what the enchant was.
I do this fine with gems because the gems in the armory are just an item id as it stands now. So it'd say "Tego socketed X with Y and Z".
Regarding the hover over, if you could expose the description of the spell's effect too -- e.g. "+4 to all Stats" which appears in the tooltip that'd be cool too.
Post by
Erorus
I asked Wowhead for this a while back, and ended up digging thru
Spell.dbc
for the values.
Also, for extra fun, what would you return for enchant 929?
Enchant Boots - Greater Stamina
?
Enchant Bracer - Greater Stamina
?
Enchant Shield - Greater Stamina
?
Post by
TegoZanduba
Thanks for that link Erorus.
So it looks like the 'effect is the +7 stam, and we in addition have to figure out the slot to determine the enchant -- hmpf.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.