You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you change offhand out-of-combat and then start swinging at a target, your swing timers get reset as expected, and the offhand speed reported by the WoW API for that swing is correct.
If you do the same in-combat, the offhand's initial swing will be set at the speed of your mainhand weapon, possibly a little higher because the mainhand always swings first. The WoW UnitAttackSpeed endpoint does not account for this, and will just return the offhand speed for that swing.
To get an accurate timer on the initial swing for an in-combat offhand weapon change will necessitate some additional logic when we detect a weapon change.
If you change offhand out-of-combat and then start swinging at a target, your swing timers get reset as expected, and the offhand speed reported by the WoW API for that swing is correct.
If you do the same in-combat, the offhand's initial swing will be set at the speed of your mainhand weapon, possibly a little higher because the mainhand always swings first. The WoW
UnitAttackSpeedendpoint does not account for this, and will just return the offhand speed for that swing.To get an accurate timer on the initial swing for an in-combat offhand weapon change will necessitate some additional logic when we detect a weapon change.
offhand_incombat_change.mp4