ItemLevelDKP
ABOUT
ItemLevelDKP is an addon for calculating DKP based on the item's item level, quality and slot. The result is a price tuned to an item's worth based on what Blizz gives the item of stats. The calculation is based around the fact that the quality of an item will decide some of the price:
Blue = (itemLevel - 1.84) / 6.4 Epic = (itemLevel - 1.3) / 5.2 Legendary = itemLevelilvl 359 gives:
Blue = 55.8 Epic = 68.8 Legendary = 359This is the factor which you base your cost on. Secondly you have a slot mod which is a factor that deal with items getting less item budget based on slot.
head = 1 neck = 0.54 shoulder = 0.74 chest = 1 waist = 0.74 legs = 1 feet = 0.74 wrist = 0.54 hand = 0.74 finger = 0.54 trinket = 0.68 cloak = 0.54 weapon = 1 shield = 0.65 2h weapon = 1.5 MH weapon = 1 OH weapon = 1 off hand = 0.52 bow/xbow/gun = 1.5 wand = 0.50 relic = 0.30This is multiplied with the base cost from item level and quality. A epic, ilvl 359 2h sword will be:
DKP = (itemLevel - 1.3) / 5.2 * 1.5 DKP = 103.2Pricing is limited to armor and weapons, but stuff like tabards and thrown weapons are not included.
TODOS AND BUGS
- Make a config panel to edit some factors and numbers.
- Support lists of item priority?
- Work out a formula for Legendary Items (Just using item level isn't going to work anymore)
CONTRIBUTE
Send me patches on either of the channels listed below. I cannot guarantee all modifications implemented into the addon, but I will do my best to expand ItemLevelDKP.
CREDITS
Written by Raut of Exodus, DraenorEU. You may be able to contact him at
- http://www.exodus-guild.eu/
- http://draenor.eu
- Horde on DraenorEU
- http://equilibrium-eu.enjin.com/
- Ally on Laughing Skull EU
http://www.wowwiki.com/Formulas:Item_ValuesThanks to Lorgoth of Exodus, DraenorEU for input and advice. Also thanks to draenoreu.com and my old guild, the-cabal.net, for healthy discussions. Based on Lazare of LightbringerUS work, PriceTag. He claims to have gotten code from the following people:
"Most of the credit goes to Vita's DKP Tooltip mod and to Ratings Buster. The blame is mine alone. :-)"
works like a dream.. keep it up :P
Blast! -_- I have to look through those extra libs. I'm pretty sure I use only one of them. Thanks again.
its now missing: aceDB-2.0
but with the ace addon instaled the problem is solved
Nice idea, however your slot values are using the pre 1.11 patch slot modifiers the current values can be seen on wowwiki at http://www.wowwiki.com/Formulas:Item_Values
I note that you say your thinking is taken from this page in any case. Can you explain why you changed the slot multipliers to their old pre patch 1.11 values though?
Current values are :
Head, Chest, Legs, 2H weapon 1.00 Shoulder, Hands, Waist, Feet 0.777 Trinket 0.70 Wrist, Neck, Back, Finger, Off-hand/Shield 0.55 1H weapon 0.42 Ranged 0.30
In particular you are using a massive imbalance of bow/gun/xbow vs wand/idol thus heavily penalising DKP values for hunters/rogues/warriors, I play a priest so wouldn't mind :-) With your formula a hunter would pay THREE TIMES the DKP for a ranged slot item that a priest would pay and FIVE TIMES the DKP for a ranged item that a Druid would pay. That is a truly massive imbalance in your DKP system, for which I suspect you must have a good reason for implementing that.
Weapons cost more than the formula at http://www.wowwiki.com/Formulas:Item_Values because I don't agree with the cost it would produce. You can easily find 1h caster daggers/swords with a hell of a lot more stats than an off-hand. The suggested slotmod would be plain wrong. Melee ranged is hard to compare with other gear since the damage range has to be represented in the cost.
There is an imbalance in pricing as of now and it is by design. ItemLevelDKP is supposed to get two prices for all 1h, 2h and ranged "melee" weapons. This to fit into my guild's DKP system. The idea is that warriors and rogues pay 1/3 of the cost of a ranged item, while hunters pay 1/3 of the cost of melee weapons. The reason is what you pointed out. There will be small differences between classes still, but your surrounding DKP system should compensate for that. This addon will not try to solve issues with classes having to pay for several sets of armor and such.
http://www.wowwiki.com/Formulas:Item_Values is educated guesswork. So is most of my addon. Some of these factors are different simply because the people at wowwiki and I disagree.
You are of course allowed to change the numbers. I would advise against changing the factors by a lot, since the numbers match how items compare, but you do as you see fit.
The AceOO issue should be solved. Thanks for pointing it out.
Am i allowed to change some numbers in ure addons lua file so it would fit my guilds DKP a bid more.
for the rest.. realy nice addon...
edit: found a litle bug.. it keeps asking for a ACEOO-2.0 file