From becd7b5c2492bc8d9667fb9e665fa9a36abb9cba Mon Sep 17 00:00:00 2001 From: Uleat Date: Sun, 5 Mar 2017 05:12:54 -0500 Subject: [PATCH] This probably resolves a long-term bug with bots who are conscientious objectors to fighting... (Had a rash of reports concerning this -- obscure attack timer bug within inherited NPC class ctor) --- zone/bot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/bot.cpp b/zone/bot.cpp index 06a25af78..6a3e774b0 100644 --- a/zone/bot.cpp +++ b/zone/bot.cpp @@ -5444,7 +5444,7 @@ void Bot::SetAttackTimer() { } speed = (RuleB(Spells, Jun182014HundredHandsRevamp) ? static_cast(((delay / haste_mod) + ((hhe / 1000.0f) * (delay / haste_mod))) * 100) : static_cast(((delay / haste_mod) + ((hhe / 100.0f) * delay)) * 100)); - TimerToUse->SetAtTrigger(std::max(RuleI(Combat, MinHastedDelay), speed), true); + TimerToUse->SetAtTrigger(std::max(RuleI(Combat, MinHastedDelay), speed), true, true); if (i == EQEmu::inventory::slotPrimary) PrimaryWeapon = ItemToUse;