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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 11-22-2010, 02:34 PM
Caryatis
Dragon
 
Join Date: May 2009
Location: Milky Way
Posts: 539
Default

In regards to the AA stuff in bot.cpp, I don't really understand it. Do bots actually have AAs? As I understand the code, somebody left the client AA calcs in to show why they were giving bots bonuses, ie:

Code:
// Bot AA's for CombatFury and FuryoftheAges
	if(GetLevel() >= 64) {
		critChance += 12;
	}
	else if(GetLevel() >= 63) {
		critChance += 10;
	}
	else if(GetLevel() >= 62) {
		critChance += 8;
	}
	else if(GetLevel() >= 57) {
		critChance += 7;
	}
	else if(GetLevel() >= 56) {
		critChance += 4;
	}
	else if(GetLevel() >= 55) {
		critChance += 2;
	}

	switch(GetAA(aaCombatFury))
	{
	case 1:
		critChance += 2;
		break;
	case 2:
		critChance += 4;
		break;
	case 3:
		critChance += 7;
		break;
	default:
		break;
	}
If Bots have AAs then they are getting double bonuses, however since I doubt bots have AAs I think most of the GetAA stuff can be removed(or commented out like the other stuff). However, not sure how sold I am on the idea of bots automatically getting all AAs(or the equivalent bonuses) just by leveling up, guess its always been like that but just doesnt seem right to me.

Besides that though, nice update, I'm sure people who use bots will be very happy with this.
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 06:56 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3