manxan / www.murloc.org

0 stars 1 forks source link

Average ilevel #11

Open manxan opened 11 years ago

manxan commented 11 years ago

Get average item level from wow-api data and print it in character profile.

apokryfos commented 11 years ago

Added in 9e68363a05d9595e1bc4e150f2782033f89154bb displaying only equipped iLvl (there's lot's more data to work with though)

manxan commented 11 years ago

The order ilevel, Raid role and note ended up needs to be adjusteed. But I can see it the code does not work that way.

I want it to be something like: BLOODSAIL ADMIRAL MANXAN

[avatar]

Healer Raid Leader

iLvl: 482/485

(other fun data)

link link link link

apokryfos commented 11 years ago

Fixed in eeb91136b473756f7eb6c25c931e827dc3beb955

I am (still) a bit worried about the inconsistency of declared roles and actual active role at the moment the API call is made. It may give bad or meaningless data (do you have any idea if wow-heroes offers an API, it caches a lot of information about offspecs).

Edit: Desired features will soon "force" us to use server-side scripts rather than just javascript.

apokryfos commented 11 years ago

Check out http://xml.wow-heroes.com/xml-guild.php?z=eu&r=Ghostlands&g=The%20Undertakers Maybe it could be of use