DressToKill is a very simple add which aims to take the guesswork out of choosing the "best" equipment for a given situation. Rather than including a complicated item parsing library that can break and change over time it sacrifices speed for accuracy.
Main benefits:
- Rather than needing to know how much attack power each unit of strength gives you, you just simply test attack power.
- This addon encourages you to consider the EFFECTIVE stats (such as attack power, crit, +healing, etc.) rather than the confusing raw statistics.
- Farging fun to watch ;-)
Commands:
- /dress is the primary slash command, and will automatically execute the selected evaluation.
- /dress config can be used to open the interface options, or you can get them from the Blizzard Interface Options menu
- /dress <name of weight function> can be used to execute a specific weight function from a macro or slash command. For example /dress Attack Power will evaluate using the Attack Power function.
- /dress debug - Opens a window in the interface options screen that provides more detailed information about the selection process.
This addon moves through each inventory slot, finding the local optimum given a particular "weight" function. For example the following function can be used to create a healing/mana outfit, weighting every unit of +healing at 1.0, and every unit of mana as 0.7.
Code:
local healing = GetSpellBonusHealing()
local mana = UnitManaMax("player")
return (healing * 1.0) + (mana * 0.7)
The weight functions are also passed the link of the item being evaluated. For example, the following code will create a outfit for the highest possible health, requiring that the item "Regal Protectorate" be chosen:
Code:
local name = GetItemInfo(link)
if name == "Regal Protectorate" then
return math.huge
end
local health = UnitHealthMax("player")
return health
The way this addon works can be pretty tempermental and is effected by your buffs and shapeshifts. Therefore if you want to test for armor contribution in Bear Form, you need to be in Bear Form in order for the results to be accurate. You also should not try to modify your inventory or bags while this addon is working.
This is an early release of a working addon, so there may be bugs that need to be worked out. Please let me know if you have any issues.
It's been pointed out to the there is another addon that does something similar on the wowace repository (http://svn.wowace.com/wowace/trunk/GearEvaluator/), but after looking at it this addon uses item scanning, and there doesnt' seem to be much support for the various evaluator functions. I plan to continue updating mine as necessary.
Credits:
Aska on StormReaver(EU) - Name
Krka - For all Indents and Purposes
[Ammo] - Base code for the options screen