WoW BonusIds

API Discussion
I've found some old lists of BonusIds, but none that were comprehensive or correct for Legion.

Is there any official documentation that lists all of the ones active in Legion?
There is no official list.

I updated my csv & json here:
https://gist.github.com/erorus/35705144b1a4ad015924
Could someone explain me how to calculate the stats with a bonus ID? This wuld be very helpful for my upcommuning guild managment tool: (German preview, english will be avaible soon) https://test.sylvanasgarde.com/index.php?armory-char/348
You can include bonus IDs in an item request to see the stats, quality and tertiary stats associated with an item.

Expected Format:
https://us.api.battle.net/wow/item/<Item ID>?bl=<List of Bonus IDs Separated by Commas>&locale=en_US&apikey=<API Key>
Example:
https://us.api.battle.net/wow/item/144624?bl=3568,1706,1517,3337&locale=en_US&apikey=<API Key>
You should, however, make a check to ensure that the item has bonus IDs. If it has no bonus IDs, use this format instead:
https://us.api.battle.net/wow/item/<Item ID>?locale=en_US&apikey=<API Key>
At the moment I use 2 differnt tables:

_wow_items contains the "plain" item without context/bonus including all API data.
_wow_itembonus saves itemID+context+bonus also including all API data.

ATM I've ~4k bounsitems and it's growing with every new synchronization. If I could calculate the stats/ ilvl/ etc. on the fly I would save a ton of database entry and queries.

Internally I build my Items with the following code:

$item = new ViewableWowItem(new WowItem($id), $context, $bonus, $gems, $enchant, $transmog, $set);

This is the result:
http://imgur.com/a/XferW

Long story short: If I could calculate itemstats by my own, everything will be easier, faster and "thinner".
04/20/2017 06:21 AMPosted by erorus
There is no official list.

I updated my csv & json here:
https://gist.github.com/erorus/35705144b1a4ad015924


Thank you for that. It's quite extensive!

However, it is missing the tertiary stats, at least.

40 avoidance
41 leech
42 speed
43 indestructible

Not sure why Blizzard doesn't just publish this data. I don't know if you're familiar with Eve Online, but CCP regularly does a dump of their entire static database, which makes developing 3rd party apps so much nicer!

Anyhow, thank you very much!
04/22/2017 01:29 AMPosted by Jockles
However, it is missing the tertiary stats, at least.

40 avoidance
41 leech
42 speed
43 indestructible


Thanks, but this list only shows changes to item quality, level, preview level, level curve, item tag, and item name. It does not include changes to stats, icons, textures, or anything else bonuses do.

Join the Conversation

Return to Forum