Gaming
 

API CancelItemTempEnchantment

From WoWWiki

Main Menu


Removes temporary item buffs, such as Rogue poisons, Shaman weapon buffs, and sharpening stones from either the Main Hand or Off Hand equipment slots.

CancelItemTempEnchantment(slot)


Arguments

(slot)
slot 
Integer - 1 or 2
1 = Main Hand
2 = Off Hand

Returns

nil - Returns nil regardless of whether or not a buff was dispelled.

Details

Only accepts the integers 1 or 2. Slot identifiers returned by GetInventorySlotInfo, and InventorySlotName values do not work.