WoWInterface - View Single Post - Get item armor/damage/speed info
View Single Post
03-06-20, 11:41 AM   #1
A Cyclonian
AddOn Author - Click to view addons
Join Date: May 2019
Posts: 47
Get item armor/damage/speed info

Note: This is on classic.

I know you can get an item's link/stats as follows
link = GetInventoryItemLink("player",1)
stats = GetItemStats(link)
for k, v in pairs(stats) do
   print(k .. "-" .. v)
How would I go about getting the item's armor? In this case, I was wearing Dreadmist Mask, so the armor would've been 71.

Similarly, how would I get a weapon's damage/speed from a link? Or is this just not possible? I'm currently only able to retrieve the damage per second stat via this method. I know a long time ago I tried to retrieve a weapon's speed back in beta but I wasn't sure if they've added a way since then.
  Reply With Quote