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)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #25  
Old 04-06-2013, 06:20 PM
Armm
Sarnak
 
Join Date: Feb 2013
Posts: 70
Default

Thank you.

I agree the attack code is confusiing. Since you asked for a specific example ill give you one with the level 50 scenario above. The example below ASSUMES i know what the code is doing. I am going to leave ATK values out of it because im not sure what is being calced here.

Mob is level 50 Froglok Dar Knight from sebilis who has an AC of 429 in DB.

Level 50 Merc attack the Froglok. Merc has str of 267, and warrior for that level has offense of 210. Running that through formuyla listed above WIHTOUT the ATK added onto it gives you 463 for attack RATING.

Froglok is an NPC so the NPCACfactor rule is 2.25 by default.

Code:
else if(IsNPC())
		{
			armor = CastToNPC()->GetRawAC();

			if(!IsPet()) 
			{
				armor = (armor / RuleR(Combat, NPCACFactor));
			}

			armor += spellbonuses.AC + itembonuses.AC + 1;
		}
so the Frogloks armor is AC/2.25 + spells and item bonuses which means his AC before class armor caps is 190.

You can see the problem is that the attack rating is already over 2 times the AC to begin with. Now if you add (im working from memory) several hundred or thousand ATK once or twice you can see that the attack rating to AC ratio is someplace from 3x to 20x.

To be fair , you are remarkably close on your AC settings for mercs tanking NPCs.
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 05:47 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