1. What is it?
This addon adds an extra pair of stats to the character screen that show the approximate mitigation percentage you currently have. After extensive testing, the new formula appears to be exact for lower-level characters. I still need confirmation it's working for Veteran Ranks.
An options screen is included. You can select to cap the displayed value at 50%, and/or display anything over 50% as a separate percentage. Even though your rating can go arbitrarily high, you'll never get more than a 50% damage reduction, so values over that amount could be misleading.
The addon works with SoftCapInfo and Harven's Extended Stats, but I haven't tested any other addons. It currently doesn't have localization support -- it's only in English. If anyone wants to give me translated strings, I'll learn how to put them in the addon.
Where currentLevel is 50 for VR1, 51 for VR2, 61 for VR12, etc.
Anything under 0% gets set to 0%, since the game doesn't allow negative damage reduction.
2. How do I install it?
The best way is probably to install Minion from http://minion.mmoui.com. From there, you can search for MitigationValue under the "Find More" tab, then click the "Install" button. Minion will tell you if any addons have been updated, and allow you to install the update. There's even an option to automagically install updates when you run the program.
The other way is to install manually. There is a tutorial at http://www.esoui.com/forums/faq.php?..._howto_install, or you can read my instructions in the included ReadMe.rtf file after downloading (note that you can open the file with any text reader -- the extension is just because .txt files don't play nicely with ESO).
If you install while logged in, type /reloadui <press enter>, then if it doesn't show up, press Escape to open the main menu, click Add-Ons, check "Allow out of date add-ons" if mine is red, check the checkbox next to my addon, click "Reload UI".
3. Change Log
1.04 - Added code that should have been in 1.03 to prevent armor value from dropping below 0%.
- Added code to assume level 50 stats when battle leveling is in play.
1.03 - Updated to a new, improved formula that works better for very low levels and very low armor ratings.
- Updated the font style on my control to match the stock stats controls for those using font replacers.
1.02 - Added an options menu to choose different display methods.
1.01 - The control caps values over 50%, because the game has a 50% hard-cap in damage reduction. So if you have enough rating for 52%, it will display 50%.
1.00 - Release version.
4. Credits
Me, @Fosley.
Harvin and Garkin gave me some lua help on the forums, so thanks!
Septemvri helped me figure out the correct formula, so more thanks!
Seerah for LibAddonMenu (used to display the options menu)
5. Copyright
I'm pretty certain there's a giant bit of legalese we all agreed to that says every addon made for ESO belongs to Zenimax, so as long as they don't care this code is more-or-less public domain.
However, if that legalese somehow doesn't actually apply, or I'm just retarded and can't read, or whatever, here's some stuff I copied out of another guy's addon that looks like it fits the bill (TL;DR: do whatever, just give me credit if you copy my code):
Warning: Spoiler
The MIT License (MIT)
Copyright (c) 2014 @Fosley
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
1.04 - Added code that should have been in 1.03 to prevent armor value from dropping below 0%.
- Added code to assume level 50 stats when battle leveling is in play.
1.03 - Updated to a new, improved formula that works better for very low levels and very low armor ratings.
- Updated the font style on my control to match the stock stats controls for those using font replacers.
1.02 - Added an options menu to choose different display methods.
1.01 - The control caps values over 50%, because the game has a 50% hard-cap in damage reduction. So if you have enough rating for 52%, it will display 50%.
1.00 - Release version.
Sorry I haven't posted anything yet, but I'm currently without a job and haven't had much time for ESO.
I added fire and poison resistance labels and some customization options, with the intent of giving vampires and werewolves a better look at those weaknesses. The werewolf detection is a little buggy still, but it's not too bad as far as I know.
Also, I was waiting for confirmation that some fire/poison based abilities use armor, rather than spell resistance, as the primary reduction. If so, things should be good, but if not, there are a bunch of wasted controls I could remove.
As an aside, if anyone happens to know of any entry-level positions for programmers, network admins, computer engineers or paralegals in the Tucson, AZ area, let me know and maybe I'll be able to start playing ESO sooner.
Are you having a problem with the addon now? I do have a new version coming with updated features, but I'm not quite finished with it. In the meantime, the current version works fine for me, so I hadn't done any specific updates.
Woot! Was gonna' ask but this is all the answer I need. Looking forward to the update! Thanks for the great work!
Are you having a problem with the addon now? I do have a new version coming with updated features, but I'm not quite finished with it. In the meantime, the current version works fine for me, so I hadn't done any specific updates.
im awaiting the update. i realy apprichiate your work to maintain this.
Are you having a problem with the addon now? I do have a new version coming with updated features, but I'm not quite finished with it. In the meantime, the current version works fine for me, so I hadn't done any specific updates.
Version 1.04 prevents armor value from dropping below 0% (not sure how I didn't include that code before :/ ), and scales the armor for battle leveling.
You should probably calculate all characters as level 50 when in Cyrodiil.
For my lvl 10 it said 50% when I enterd Cyrodiil.
I hadn't even thought of that, as I don't pvp much. I'll look into detecting Cyrodiil and adjusting appropriately. I think now I also have to check the option for battle leveling in the menu. It shouldn't be too hard, I'll see what I can do.
Version 1.03 uses the new, improved formula that Septemvri came up with. It appears to be perfectly accurate for lower-level characters, and is presumably correct for veteran ranks, but I don't have a vet rank yet, so I can't test it myself.
I also changed the font style to match the rest of the stat screen for those using font replacers.
Edit: Fyi, any armor up to 100 rating will display as a 0% damage reduction. This isn't noticable on high-level characters, but on low-level characters it may seem odd. However, this is correct. The formula would normally give low-level characters a negative percentage, but the game doesn't let it go below zero, so you have 100 points of 0%, then you start gaining armor value.