Ac?
			 
			 
			
		
		
		
		I was playing around with my parser last night and ac didn't seem to be making any difference no matter how high I upped the ac of the char I was using. 
 
I was just poking around a bit in zone/attack.cpp Mob::MeleeMitigation and I found this. 
 
int acfail=1000; 
char tmp[10]; 
 
if (database.GetVariable("ACfail", tmp, 9)) { 
        acfail = (int) (atof(tmp) * 100); 
        if (acfail>100) acfail=100; 
} 
 
if (acfail<=0 || rand%101>acfail) { 
   ..reduces damage according to the ac of whoever is being hit and whateva acrandom is set to.... 
} 
 
So if I'm reading that right no matter what ACFail is set to in the database the AC check has a 99% chance to fail, and damage will almost always be applied as if the mob/char being hit is not weiring any armor.  Of course that section of code may not be being used, or I could just be off my head.  Anyways, I've changed mine.  Just thought you might wanna take a look...? 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 |