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. :-)"
If I don't get an answer (since it hasn't been updated since 5 months) I'll take it as a yes
I did some math, and I think the best values are (for epic) -345 * 4, because everyone got around 350 itemlvl atm, and I think the gear DKP cost should be determined with howmuch it would improve your gear so these will be the DKP costs of these items (without gear slots, I think those are fine):
» Epic itemlvl 359 = 14 * 4 = 56
» Epic itemlvl 378 = 33 * 4 = 132
With your calculations it would be ((itemLevel - 1.3) / 5.2):
» Epic itemlvl 359 = 357.7 / 5.2 = ~69
» Epic itemlvl 378 = 376.7 / 5.2 = ~72
And that while an item with itemlvl 378 is way better than an item with itemlvl 359
Anyway, with the inputfields these values will be customizable and it doesn't quite matter what we think is best, since all users can change it
Thanks, Dridzt.
Well I have some time scheduled after a raid tonight to go digging deeper into calculations and what not with the addon rather than a quick fix as it's currently at, so that comment will be a big help!
Just a note that with Cataclysm the item quality is nothing but a color.
It has no effect at all on stat budget, the only thing that matters is itemlevel.
This spans all item qualities starting from uncommon (green) up to epic (purple).
In layman's terms an item for a specific slot that is an ilvl312 green is actually better (has more stats) than an ilvl306 blue.
The tiers of loot are separated by 13 itemlevels, intermediate/extra loot coming between tiers.
5man/honored rep = 333
hc5man/revered rep = 333+13 = 346
(4.1) ZA/ZG hc5man = 346+7 = 353 - - intermediate
normalRaid/exalted rep = 346+13 = 359
hcRaid = 359+13 = 372
Sinestra = 372+7 = 379 - - intermediate
(4.2) t12 = 372+13 = 385
and so on.
The first two are "rare" the last two are "epic" but this is irrelevant to the stat budget.
Bottom-line:
While the item value formula you are referencing was valid for previous expansions quality multipliers are entirely obsolete and should be removed from the calculation.
This change is not exactly advertised by Blizz for obvious (QQ prevention) reasons but this is how things stand.
Interface\AddOns\ItemLevelDKP\core.lua:105: attempt to compare number with nil
Count: 1
Call Stack:
[C]: ?
Interface\AddOns\ItemLevelDKP\core.lua:105: in function `ilvlDKP'
Interface\AddOns\ItemLevelDKP\core.lua:84: in function <Interface\AddOns\ItemLevelDKP\core.lua:79>
[C]: ?
[C]: ?
[C]: in function `SetHyperlink'
Interface\FrameXML\ItemRef.lua:96: in function <Interface\FrameXML\ItemRef.lua:2>
...ace\AddOns\Blizzard_CombatLog\Blizzard_CombatLog.lua:3603: in function <...ace\AddOns\Blizzard_CombatLog\Blizzard_CombatLog.lua:3547>
[C]: in function `orgfunc'
Interface\AddOns\Prat-3.0\services\links.lua:108: in function <Interface\AddOns\Prat-3.0\services\links.lua:98>
(tail call): ?
(tail call): ?
Interface\FrameXML\ChatFrame.lua:2588: in function <Interface\FrameXML\ChatFrame.lua:2587>
[C]: ?
[C]: in function `ChatFrame_OnHyperlinkShow'
[string "*:OnHyperlinkClick"]:1: in function <[string "*:OnHyperlinkClick"]:1>
[C]: ?
Adding the check "if not itemRarity then return -1000,0 end" before that line seems to of fixed it. A better way might be to integrate the check into the (itemRarity > 2 and itemRarity < 6) check.
Patch is
diff -ud ItemLevelDKP r35/core.lua ItemLevelDKP/core.lua
--- ItemLevelDKP r35/core.lua 2008-12-01 00:18:27.000000000 -0800
+++ ItemLevelDKP/core.lua 2009-02-21 13:52:39.000000000 -0800
@@ -102,6 +102,7 @@
if ItemLevelDKP_List[name] then
return -1,ItemLevelDKP_List[name]
else
+ if not itemRarity then return -1000,0 end
if (not (itemRarity > 2 and itemRarity < 6)) then
return -1000,0
end
Common subdirectories: ItemLevelDKP r35/libs and ItemLevelDKP/libs
original:
if (not ((itemType == "weapon" or itemType == "armor") and
for the german client:
if (not ((itemType == "Waffe" or itemType == "R\195\188stung") and
greetings, mac
Seems the comment thing is broken on Curse.com, but works on http://www.wowace.com/projects/item-level-dkp/
FYI in case you want to comment.
Corbism - I'll look into it. Haven't had any errors myself though. May be Buggrabber catching it.
QuizTIC - I wouldn't recommend it. Any DKP system should work like an economy; What you withdraw from the DKP pool should be given to the participants. So if you award DKP based on time attendance instead of what they spend, you should use variable prices to compensate and thus remove fractions of the winner's DKP. (Maybe implement support for percentage "prices" that you can multiply the winner's DKP pool with, but this still leaves you with the problem of scaling). If you use fixed prices for items, but award a non-related amount of DKP per week, you may have your guild spend 1000 DKP one week, but gain 2000 the same week. Give this a few months and you have insanely DKP rich people while new members have no chance of ever competing with your old timers.
Khallah - Thanks :)
Ethias - I don't really know how you want to implement that, but you can use the function ilvlDKP() to get the actual price for the item. You can call this fuction from another addon if you want, as long as you have ItenLevelDKP installed. I'm also thinking of how to make personal modifications implemented.