rrrix
New Member
- Joined
- Jul 11, 2010
- Messages
- 3,449
- Reaction score
- 61
Armory
Author: rrrix
Contributions by: Gniller, Nuok
Author: rrrix
Contributions by: Gniller, Nuok
What is Armory?
Armory is the new "AutoEquipper".
Armory also includes support for purchasing items from "Kadala", the mystery item vendor in Adventure Mode.
How do Upgrades in Armory work?
Armory uses the in-game Tool Tip percentage calculations to determine if an item is an upgrade or not.

What's the default upgrade formula?
Default, it's basically this:
Code:
if (damage > -0.05 && damage + toughness > 0)
isUpgrade = true;
if (damage > -0.15 && damage + toughness > 0 && healing > 0)
isUpgrade = true;
If we lose up to 5% damage but gain more toughness than we lost, it is an upgrade.
If we lose up to 15% damage, gain more toughness than we lost, and gain healing it is an upgrade.
Out of the box, this is pretty good for a hardcore character, but not so much for a softcore character (better to be safe than sorry, though!).
What can I configure?
Almost everything except "custom" formulas. For those, you will need to go into the ItemEvaluator.cs file, find the "CalculateUpgrade" method and from there you are free to create your own upgrade formulas.
I personally use the "Basic Upgrade" formula with 1% damage minimum and -200% toughness until I get to level 70.

Customization
You can customize the formulas used by un-commenting the following and editing as necessary, in ItemEvaluator.cs
Code:
/*
* Want to DIY? Uncomment below as needed!
*/
// Additive Damage Formula - Damage reduced up to 5% but toughness compensates
//if (damage > -0.05f && damage + toughness > 0)
// isUpgrade = true;
// Healing Formula - Damage reduced max 15% but toughness buff is "good enough" and healing is > 0%
//if (damage > -0.15f && damage + toughness > 0 && healing > 0)
// isUpgrade = true;
// Basic Upgrade Formula
//if (damage > 0 && toughness > 0)
// isUpgrade = true;
Kadala a.k.a. The Mystery Item Vendor
Armory can also purchase items from Kadala. You can specify which kinds of items to purchase and if you want to purchase in sequential or random order.

If you like this and want to support my work, click here:

Bitcoin: 1NLbH6HJf5wCANFzpAAPUtkAtUqg2WmKGL
When upgrading from a version before 1.2.5, you will need to RESET all your options. The settings will be reset when upgrading from 1.2.x to 1.2.5. It now uses per-battletag settings.
Attachments
Last edited: