EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > Wish List

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 07-26-2008, 03:32 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Send a message via AIM to Drumstix42 Send a message via MSN to Drumstix42 Send a message via Yahoo to Drumstix42
Default Avoidance Percent (dynamic data)

As far as I know and can see, there is no dynamic data for total Avoidance percentage. There is the avoidance number, and the percentages for each invididual percent (see attached screenshot).



My first thought was to just add these percents together, and code it up specially in the UI, but this does not equal the actual avoidance percentage. So, there's a problem with that. Currently we can display mitigation numbers and percent, but only the avoidance number. Could this be added?

Thanks
Attached Thumbnails
Click image for larger version

Name:	avoidance_percents.jpg
Views:	1086
Size:	60.3 KB
ID:	6482  
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
  #2  
Unread 07-26-2008, 04:13 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Interesting. I don't have any tanks so I never noticed.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #3  
Unread 07-27-2008, 01:33 PM
ObsidianDragon ObsidianDragon is offline
A Berserk Golem
 
Join Date: Aug 2005
Server: Oasis
Posts: 57
Default

they don't add, because each is a separate check - the total avoidance is the chance that one of your avoidance methods will kick in on any given attack. the way to find it is to calculate the inverse, that is, the chance that all avoidance chances fail, then subtract it from 100%

total avoidance = 1 - ( (1 - base) * (1 - block) * (1 - parry) * (1 - deflection) )

in your example:
total avoidance = 1 - ( (1 - 0.238) * (1 - 0.174) * (1 - 0.080) * (1 - 0) ) = 0.42094096 rounds to 0.421
Reply With Quote
  #4  
Unread 07-27-2008, 02:28 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Send a message via AIM to Drumstix42 Send a message via MSN to Drumstix42 Send a message via Yahoo to Drumstix42
Default

Nice. Guess I should have checked it that way, too.

The problem still remains, however. The dynamic data includes a % sign in it, and there is no way to subtract or add the data together in the UI.
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
  #5  
Unread 07-27-2008, 05:52 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Quote:
Originally Posted by Drumstix42 View Post
The problem still remains, however. The dynamic data includes a % sign in it, and there is no way to subtract or add the data together in the UI.
Make a database with elements like <Data Name="12%" Value="12"> and then perform a string comparison to find the correcte element.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #6  
Unread 07-27-2008, 06:10 PM
nluerdarea nluerdarea is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Jan 2005
Server: Crushbone
Posts: 115
Send a message via AIM to nluerdarea
Default Meh

Sounds like work to me...
__________________
Reply With Quote
  #7  
Unread 07-27-2008, 07:35 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Send a message via AIM to Drumstix42 Send a message via MSN to Drumstix42 Send a message via Yahoo to Drumstix42
Default

Quote:
Originally Posted by gm9 View Post
Make a database with elements like <Data Name="12%" Value="12"> and then perform a string comparison to find the correcte element.
LOL ...
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:57 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI