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

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 08-18-2012, 07:07 PM
jdoran
Hill Giant
 
Join Date: Jul 2012
Posts: 212
Default migitation, thac0 cap

I am trying to model EQ combat, and was looking through the code to extract the relevant info. A few things surprise me, and I wonder if anyone can explain them.

When using the default interval-ac rule, weapon damage is always calculated at the max. Mitigation seems to the the source of all the randomness in damage done. (I haven't completed going over the mitigation code, so this may become clear later). I found this puzzling, and wanted to mention this in case anyone is curious about this stuff too.

I also see that thac0 is capped in Mob::MeleeMitigation, yet this occurs after the value is used (and the variable goes out of scope immediately afterwards). A search of the forum shows that this issue was raised 2 years ago, with no response or code change. If the caps aren't desired would someone remove this dead code please. If this is intentional, it would help me to know what is going on here.
Reply With Quote
Reply


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 05:13 AM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3