View Single Post
  #6  
Old 09-29-2008, 07:18 PM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

Wow, I feel really special... Keep forgetting that you have to add 1.

Code:
			//Veteran's Wrath AA
			//first, find out of we have it (don't multiply by 0 :-\ )
			int32 AAdmgmod = GetAA(aaVeteransWrath);
			if (AAdmgmod > 0) {
				//now, make sure it's not a special attack
				if (skill == _1H_BLUNT
					|| skill == _2H_BLUNT
					|| skill == _1H_SLASHING
					|| skill == _2H_SLASHING
					|| skill == PIERCING
					|| skill == HAND_TO_HAND
					/*|| skill == ARCHERY*/ //AndMetal: not sure if we should be giving this to rangers
					)
					damage *= ((AAdmgmod * 15) / 100) + 100; //AndMetal: guessing
			}
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote