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
  #4  
Old 03-25-2004, 02:31 AM
killspree
Dragon
 
Join Date: Jun 2002
Posts: 776
Default

Quote:
Originally Posted by Scorpious2k
I took a slightly different approach to this.

I would think that AC should always give *some* protection against damage. The amount should vary with each hit. I agree with you that it should not be a constant.

Here's what I did:

Code:
	if (IsClient() && damage>0)
	{
		int acwork=GetAC()/20;
				
		if (acwork>0)
		{
			damage-=acwork;
			damage-=rand()%acwork;
			if (damage<0) damage=0;
		}
	}
So you get 5% to 10% protection from each hit. These values need to be adjusted. But it doesn't seem to me that if you have a lot of AC that you should ever get hit for the maxdmg.
That's a really good idea as well. One of the main reasons I thought it would be good to always make max possible when factoring raw AC is because of other variables that I'll be adding on my server, such as certain stats lowering max hit, etc.
__________________
Xeldan
Lead Content Designer
Shards of Dalaya
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 05:14 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