WoWInterface - View Single Post - Getting item weapon speed
View Single Post
08-18-19, 05:07 PM   #4
A Pyroguard Emberseer
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,124
You could do it in steps, unless there is a better way.
Get the percent that Haste gives you for ranged attacks: https://wow.gamepedia.com/API_GetCombatRatingBonus
local hastePercent = GetCombatRatingBonus(CR_HASTE_RANGED)
Then multiply the weapon's base attack speed by the above, and subtract that amount from the base.

GetRangedHaste() might also work, but the API isn't documented on Wowpedia; you'll have to check the API docs.

  Reply With Quote