View Single Post
03-13-22, 05:29 PM   #4
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 666
The purpose behind macros in WoW is for a secure way to do Blizzard-approved things in combat.

UseInventoryItem(8), which will activate whatever is in your feet slot, should work in combat in a macro since it requires a hardware event (clicking the macro or pressing the key assigned to the macro). However, EquipItemByName("itemName") used in combat will pick up the item instead as if you clicked and dragged it.

The first function was changed to require a hardware event back in 1.6 to prevent addons from automatically using equipped items, such as trinkets. The second function was changed to pick the item up back in 3.3.0 to prevent rogues from efficiently switching weapons for ones that had a different poison.
  Reply With Quote