PDA

View Full Version : Bots dont proc on main hand fix


Thuz989
01-31-2013, 09:18 AM
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

//try main hand first
if(attack_timer.Check()) {

bool tripleSuccess = false;

I added the following and tested and it works now

//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;