EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Bots (https://www.eqemulator.org/forums/forumdisplay.php?f=676)
-   -   Bots dont proc on main hand fix (https://www.eqemulator.org/forums/showthread.php?t=36382)

Thuz989 01-31-2013 09:18 AM

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;



All times are GMT -4. The time now is 09:56 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.