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

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 04-23-2003, 04:54 PM
monkboy
Fire Beetle
 
Join Date: Apr 2003
Posts: 17
Default

Speaking about AC.. I don't know if this is a bug or working as intended (tm):

My monk on my local EQEmu server currently got 1066 AC. Checking his AC value with #showstats, only returns a total of 316 raw AC points. Now, I tried to fiddle around with some of the numbers checking and changing the EQemu code. From what I can tell ( doesn't mean much =) ) it's the value that's shown with #showstats that's calculated with GetAC.. not the value showed to the player on his character information screen. The old mitigation test

if (damage > 1 && spell_id == 0xFFFF){
//Reduce Dmg based on AC
//.5 less damage at 1000 AC
double damage2=damage;
double calc1=(1000+this->GetAC())/1000+.5;
double calc2=(damage2/calc1);
damage=damage-(sint32)calc2;
}

doesn't work. If you replace the 1000 with 310 (which seem to be the "internal" AC value), you'll get a .5 reduction worth of damage.

Sorry if I ramble and this is a known issue, just wanted to give you a heads up about it =)
Reply With Quote
 


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