From 490ed50c9f334a47ec294dd9711b047d13e29b8d Mon Sep 17 00:00:00 2001 From: Alex King <89047260+Kinglykrab@users.noreply.github.com> Date: Thu, 1 Feb 2024 05:26:25 -0500 Subject: [PATCH] [Bug Fix] Fix Issue with Bot Dual wield (#4037) # Notes - Bots were using primary weapons even for dual wield attacks so they were never attacking with their secondary even when they should be. --- zone/attack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/attack.cpp b/zone/attack.cpp index aa228aac5..2c6555ade 100644 --- a/zone/attack.cpp +++ b/zone/attack.cpp @@ -1504,7 +1504,7 @@ bool Mob::Attack(Mob* other, int Hand, bool bRiposte, bool IsStrikethrough, bool } if (Hand == EQ::invslot::slotSecondary) { - weapon = (IsClient()) ? GetInv().GetItem(EQ::invslot::slotSecondary) : CastToBot()->GetBotItem(EQ::invslot::slotPrimary); + weapon = (IsClient()) ? GetInv().GetItem(EQ::invslot::slotSecondary) : CastToBot()->GetBotItem(EQ::invslot::slotSecondary); OffHandAtk(true); } else {