Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-21-2013, 10:49 AM
Armm
Sarnak
 
Join Date: Feb 2013
Posts: 70
Default Pets and AC

Do pets actually use the AC value in database?

I ask this because i had tested a level 60 pet who at first had roughly 1300 ac against a flame lord (level 64) and in parsing i noticed that over 75% of hits were max hit.

I then doubled the AC to 3000 and ran the same test with exactly the same results leading me to believe that AC either it is not working for pets, or i am misunderstanding something.

Do pets use the Mob::MeleeMitigation function in attack.cpp or is there someplace else i am missing? I was looking at this chunk of it..

Code:
else if(IsNPC())
		{
			armor = spellbonuses.AC + itembonuses.AC + (CastToNPC()->GetRawAC() / RuleR(Combat, NPCACFactor)) + 1;
		}
So it seems to pull raw ac value from database then divide by 2.25(rule value, no idea why they divide this).

Anyhow, anyone have a clue what i am missing here or someplace i can look to get pet AC working? Thanks!
Reply With Quote
 

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 04:57 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