Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bug Reports

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-21-2009, 10:34 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

-We have a resist chance = acting resists * 0.4
-We have a full resist chance = resist chance * 0.3 (1 - partial hit chance)
-We do a roll 0-100

-If our roll is greater than our resist chance then we return 100 which is no resist at all.
-else:
-if our roll is less than or equal to our full chance we return 0, a full resist.
-Else
-we return 100 * (roll - full chance) / (resist chance - full chance)

So basically the 30% chance we have to fully resist is stored at the bottom of our value. So as our chance to resist overall increases the chance to fully resist a partial spell increases despite that all spells are technically being resisted in some way.

Also when we do hit a resist because the end of the partial hit is beyond the scope of our roll the ability to make higher rolls diminishes. So not only is the chance to partial reducing but also the amount we partial for is reducing.

And so for your numbers I'll do them both:

250 = 100% chance to resist
1-30 = full resist
31-100 = partial resist
Your roll is 1-100 so you have a 70% chance to partial and 30% chance to full resist and if it's a partial you can get anywhere from about 1.5-100% damage on the spell.

400 = 160% chance to resist
1-48 full resist
49-100 partial resist
Your roll is 1-100 so you have a 52% chance to partial and 48% chance to full resist and if it's a partial you can get anywhere from about 0.8-46% damage on the spell.

That's using a spell that can partial hit which is quite a few but not all of them there are plenty of binary effects out there like slows and snares.
Reply With Quote
  #2  
Old 02-22-2009, 01:42 AM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

ok, thank you KLS, I can see now that keeps building up resist still going to be beneficial. Thats what I wanted to be sure off. The rules make much more sence now =)
Reply With Quote
  #3  
Old 02-22-2009, 02:52 AM
thepoetwarrior
Discordant
 
Join Date: Aug 2007
Posts: 307
Default

Thanks KLS, we appreciate your time and explaining. Makes much more sense and will help us.
Reply With Quote
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 06:48 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3