View Single Post
  #1  
Old 01-31-2013, 09:18 AM
Thuz989
Sarnak
 
Join Date: Jan 2006
Posts: 45
Default Bots dont proc on main hand fix

Hi,

I am not a programmer but i have come up with a fix for bots not proccing off main hand...

In bot.cpp on line 3763 it used to read

Code:
//try main hand first
				if(attack_timer.Check()) {
					
					bool tripleSuccess = false;
I added the following and tested and it works now

Code:
//try main hand first
				if(attack_timer.Check()) {
					Attack(GetTarget(), SLOT_PRIMARY);
					ItemInst *wpn = GetBotItem(SLOT_PRIMARY);
					TryWeaponProc(wpn, GetTarget(), SLOT_PRIMARY);

					bool tripleSuccess = false;
Reply With Quote