WoW API: CancelItemTempEnchantment

Revision as of 07:27, 12 April 2008 by WoWWiki>Saeljfkklhen (Page created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < CancelItemTempEnchantment

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.