View Single Post
  #4  
Old 09-29-2008, 02:40 PM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

My apologies. I blame the lack of sleep. This should fix it (and I'll update to SVN):

In zone/attack.cpp around line 3157, change
Code:
			//Veteran's Wrath AA
			//first, 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 *= GetAA(aaVeteransWrath) * 15; //AndMetal: guessing
to
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; //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