Download
(12 Kb)
Download
Updated: 06/05/14 06:22 PM
Pictures
File Info
Compatibility:
Craglorn (1.1)
Updated:06/05/14 06:22 PM
Created:05/31/14 01:45 AM
Monthly downloads:17
Total downloads:7,386
Favorites:48
MD5:
MitigationValue  Popular! (More than 5000 hits)
Version: 1.04
by: fosley [More]
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.

For more detail, my formula is:

percentDisplay = (displayRating - 100) / currentLevel

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
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.
Optional Files (0)


Archived Files (4)
File Name
Version
Size
Uploader
Date
1.03
12kB
fosley
06/04/14 10:33 PM
1.02
12kB
fosley
06/03/14 02:56 AM
1.01
6kB
fosley
06/01/14 05:21 PM
1.00
6kB
fosley
05/31/14 03:37 AM


Post A Reply Comment Options
Unread 03/21/15, 08:53 AM  
coolmodi
AddOn Author - Click to view AddOns

Forum posts: 47
File comments: 55
Uploads: 3
Originally Posted by Dingodan
It would be nice if you have time to fix your addon tro work with 1.6.x
I made something similiar myself now, i also uploded it here for people who are also looking for something like that again
http://www.esoui.com/downloads/info9...onPercent.html
Report comment to moderator  
Reply With Quote
Unread 03/11/15, 02:14 PM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
Originally Posted by Dingodan
It would be nice if you have time to fix your addon tro work with 1.6.x
double it
Report comment to moderator  
Reply With Quote
Unread 03/04/15, 04:32 PM  
Dingodan
 
Dingodan's Avatar

Forum posts: 50
File comments: 276
Uploads: 0
It would be nice if you have time to fix your addon tro work with 1.6.x
Report comment to moderator  
Reply With Quote
Unread 09/30/14, 05:05 PM  
fosley
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 33
Uploads: 1
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.
Last edited by fosley : 09/30/14 at 05:08 PM.
Report comment to moderator  
Reply With Quote
Unread 08/22/14, 07:18 AM  
Subotai
 
Subotai's Avatar

Forum posts: 3
File comments: 28
Uploads: 0
Originally Posted by fosley
Originally Posted by Enigma
Any chance of a patch update?
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!
Report comment to moderator  
Reply With Quote
Unread 08/07/14, 05:14 AM  
Morwo
 
Morwo's Avatar

Forum posts: 44
File comments: 100
Uploads: 0
Originally Posted by fosley
Originally Posted by Enigma
Any chance of a patch update?
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.
Report comment to moderator  
Reply With Quote
Unread 07/10/14, 02:09 PM  
fosley
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 33
Uploads: 1
Originally Posted by Enigma
Any chance of a patch update?
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.
Report comment to moderator  
Reply With Quote
Unread 06/30/14, 07:22 PM  
Enigma

Forum posts: 0
File comments: 65
Uploads: 0
Any chance of a patch update?
Report comment to moderator  
Reply With Quote
Unread 06/05/14, 06:24 PM  
fosley
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 33
Uploads: 1
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.
Report comment to moderator  
Reply With Quote
Unread 06/05/14, 04:02 PM  
fosley
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 33
Uploads: 1
Originally Posted by wmrojer
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.
Report comment to moderator  
Reply With Quote
Unread 06/05/14, 10:55 AM  
wmrojer

Forum posts: 2
File comments: 51
Uploads: 0
You should probably calculate all characters as level 50 when in Cyrodiil.
For my lvl 10 it said 50% when I enterd Cyrodiil.
Report comment to moderator  
Reply With Quote
Unread 06/04/14, 10:35 PM  
fosley
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 33
Uploads: 1
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.
Last edited by fosley : 06/04/14 at 10:56 PM.
Report comment to moderator  
Reply With Quote
Unread 06/03/14, 06:05 AM  
SektaNZ

Forum posts: 10
File comments: 118
Uploads: 0
Originally Posted by fosley
It appears that you are correct, but they look identical on my screen. Does it look wrong on your screen?
It only becomes important when people use font changers. I've only seen 2 but they aren't on ESOUI. I noticed it because your text was bigger.
Last edited by SektaNZ : 06/03/14 at 06:05 AM.
Report comment to moderator  
Reply With Quote
Unread 06/03/14, 04:38 AM  
fosley
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 33
Uploads: 1
It appears that you are correct, but they look identical on my screen. Does it look wrong on your screen?
Report comment to moderator  
Reply With Quote
Unread 06/03/14, 04:28 AM  
SektaNZ

Forum posts: 10
File comments: 118
Uploads: 0
You got the wrong font values. The character sheet is ZoFontHeader, not ZoFontWinH4.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: