Download
(8 Kb)
Download
Updated: 11/29/21 11:41 AM
Pictures
File Info
Compatibility:
Deadlands (7.2.5)
Updated:11/29/21 11:41 AM
Created:11/03/21 03:28 AM
Monthly downloads:25
Total downloads:3,096
Favorites:1
MD5:
Categories:Combat Mods, Beta-version AddOns
Luck Meter: Critical Strikes
Version: 0.3.1
by: Psiioniic [More]
beta release:
It should in general work, but for some classes/sets there might be still issues, as only a small fraction has been tested yet. Please report bugs or feature requests in the comments.


Info Update 32: Something seems to be wrong with Sorc pets when major savagery is active via potion. Real crit chance is around 10% higher compared that what is reported by the game/libCombat. This will cause high "luck" values for stam sorcs.

Crit cap warning moved to stand-alone addon:
https://www.esoui.com/downloads/info3243-Overcrit.html

Info

Computes exactly how lucky a parse was regarding critical strikes and returns a single number.
This makes it easier to compare different setups, eliminating the variance coming from critical strike luck.



The main panel shows the following stats:

DPS: actual DPS / expected mean DPS (time in seconds)
Luck: luck (x expected DPS standard deviation)


for which:

actual DPS - expected mean DPS = luck * expected DPS standard deviation


The luck number is:
  • +3: very lucky
  • +2
  • +1
  • 0: neutral
  • -1
  • -2
  • -3: very unlucky

Roughly 95% of parses should result in luck numbers between -2 and +2.

So with the same setup and rotation, you can easily reach

actual DPS = expected mean DPS + 2 * expected DPS standard deviation

but will probably stay below

actual DPS = expected mean DPS + 3 * expected DPS standard deviation

when trying a few more times.
If you use random proc sets, ther variance will be higher, but taking this into account in the computation is probably a nightmare and I don't plan to do this...


The addon needs to learn whether a damage event can actually critically strike or not, so whenever new skills are used, it needs a short training phase, during which a (???) is added to denote numbers are not accurate in this case.
In most cases, training phase should be completed after one dummy parse or even faster.



Detailed explanation

the "luck" number is the difference of actual DPS to the mean of the expected sum of Bernoulli random variables for all damage events divided by their standard deviation. This takes into account the different damage the abilities do: e.g., if your critical chance is 60%, getting 70% critical strikes for blastbones counts more than 70% critical strikes for degeneration. Stats are provides by libCombat, if backstabber is used, enemies are assumed to be always flanked. In this early beta version, only single target fights provide an accurate result. Fights with multiple targets will be fixed in a future version, flanking can not be determined currently due to API limitations. Very short fights can also result in weird numbers. If the addon is not updated after an API change, saved variables should be cleared.
0.3.1: fix for permanent minor brittle buffs, e.g. on target iron atronach
0.3.0: some fixes for pet crit damage, hide UI when in menus, remove hardcoded skill lists, add missing weapon enchants. Remove crit cap warning, this will be moved to standalone addon.
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Uploader
Date
0.3.0
8kB
Psiioniic
11/29/21 09:40 AM
0.2.1
7kB
Psiioniic
11/03/21 03:28 AM


Post A Reply Comment Options
Unread 11/29/21, 01:54 AM  
Psiioniic
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 31
Uploads: 4
Originally Posted by Kyzeragon
Hi, handy addon! It's interesting to see extra data like this. Could I suggest to put the UI in the HUD and HUD_UI scenes only, so that it doesn't cover up other things when in menus? e.g.
Hi, thanks, good idea! I'll add this to the next version
Report comment to moderator  
Reply With Quote
Unread 11/15/21, 02:37 PM  
Kyzeragon
 
Kyzeragon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 266
Uploads: 8
Hi, handy addon! It's interesting to see extra data like this. Could I suggest to put the UI in the HUD and HUD_UI scenes only, so that it doesn't cover up other things when in menus? e.g.
Code:
HUD_SCENE:AddFragment(ZO_SimpleSceneFragment:New(LuckMeter))
HUD_UI_SCENE:AddFragment(ZO_SimpleSceneFragment:New(LuckMeter))
Report comment to moderator  
Reply With Quote
Unread 11/03/21, 05:55 AM  
Psiioniic
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 31
Uploads: 4
Originally Posted by Baertram
Code:
## DependsOn: LibAddonMenu-2.0>=32
Thanks! I'll add this in the next version.
Report comment to moderator  
Reply With Quote
Unread 11/03/21, 04:41 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4913
File comments: 5990
Uploads: 78
Thanks for this addons.
If you create new addons please make sure that the libraries you add to the dependsOn / optionaldependsOn list are added with the newest version.

LibAddonMenu-2.0 e.g. versiosn < 28 won't support the global lib name LibAddonMenu2 and will only work using LibStub, which is obsolete!
So pelase use the >= version suffix at the lib/addon name like this:

Code:
## DependsOn: LibAddonMenu-2.0>=32
32 is the actual version. The actual version can be found in the librarie's txt files at the tag ## AddOnVersion: <unsignedIntegerVersionValue>
This way you assure you do not run into issues cuz someone uses a very old LAM version. The addon will just not enable if not the most current version is found and enabled at the user's side.

Thanks
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: