Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Server Code Submissions

Reply
 
Thread Tools Display Modes
  #1  
Old 03-07-2009, 07:10 AM
Wolftousen
Sarnak
 
Join Date: Apr 2008
Posts: 49
Default Berserker Dead Aim AA fix

File: zone/attack.cpp
line: 272

Insert:

Code:
//Wolftousen - Add Berserker Dead Aim AA accuracy bonus for throwing
	if(skillinuse == THROWING)
	{
		switch(GetAA(aaDeadAim))
		{
			case 1:
				chancetohit = chancetohit * 105/100;
				break;
			case 2:
				chancetohit = chancetohit * 110/100;
				break;
			case 3:
				chancetohit = chancetohit * 115/100;
				break;
		}
	}
Description: This adds the Berserkers Dead Aim AA to their throwing accuracy. It may not be in the right place in the function, but is in the right function I believe.
Reply With Quote
  #2  
Old 03-07-2009, 08:46 AM
Wolftousen
Sarnak
 
Join Date: Apr 2008
Posts: 49
Default

To add to the above for the Rage Volley Discipline to work properly you also need to do the following to the same segment:

Code:
//Wolftousen - Add Berserker Dead Aim AA accuracy bonus for throwing
if(skillinuse == THROWING)
{
	if(isCasting() && CastingSpellID() == 6754) //if we are casting Rage Volley Discipline, we should always hit with it
	{
		chancetohit = 1001; //Rage volley is gaurenteed to hit
	}
	else
	{
		switch(GetAA(aaDeadAim))
		{
			case 1:
				chancetohit = chancetohit * 105/100;
				break;
			case 2:
				chancetohit = chancetohit * 110/100;
				break;
			case 3:
				chancetohit = chancetohit * 115/100;
				break;
		}
	}
}
Reply With Quote
  #3  
Old 03-08-2009, 02:36 AM
Wolftousen
Sarnak
 
Join Date: Apr 2008
Posts: 49
Default

this is actually Line 468 in the latest SVN, the original line number is from the downloaded source on eq emu site.
Reply With Quote
Reply


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 11:53 AM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3