Thread: Bot Fixes
View Single Post
  #3  
Old 11-22-2010, 02:34 PM
Caryatis
Dragon
 
Join Date: May 2009
Location: Milky Way
Posts: 541
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