WoW:API CancelItemTempEnchantment: Difference between revisions

m
no edit summary
(Page created)
 
mNo edit summary
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}}
 
Removes temporary item buffs, such as Rogue poisons, Shaman weapon buffs, and sharpening stones from either the Main Hand or Off Hand equipment slots.
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)
  CancelItemTempEnchantment(weaponHand);
 


== Arguments ==
== Arguments ==
:(slot)
; weaponHand : Number - '''1''' for Main Hand, '''2''' for Off Hand.
 
:;slot : Integer - '''1''' or '''2'''<br>'''1''' = Main Hand<br>'''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 [[API_GetInventorySlotInfo|GetInventorySlotInfo]], and [[API_TYPE_InventorySlotName|InventorySlotName]] values do not work.