Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
mNo edit summary
mNo edit summary
Line 17: Line 17:
   
 
[[Category:API Functions|GetWeaponEnchantInfo]]
 
[[Category:API Functions|GetWeaponEnchantInfo]]
  +
[[Category:API Inventory Functions|GetWeaponEnchantInfo]]
 
[[Category:API Buff Functions|GetWeaponEnchantInfo]]
 
[[Category:API Buff Functions|GetWeaponEnchantInfo]]

Revision as of 18:27, 29 August 2005

GetWeaponEnchantInfo();

This appears to be used for handling TEMPORARY enchants to weapons - like POISONS. Also appears to be self-only.

Returns

hasMainHandEnchant, mainHandExpiration, mainHandCharges, hasOffHandEnchant, offHandExpiration, offHandCharges

hasMainHandEnchant = 1(true) or nil
mainHandExpiration = time remaining as thousands of seconds
mainHandCharges = charges remaining
hasOffHandEnchant = 1(true) or nil
offHandExpiration = time remaining as thousands of seconds
offHandCharges = charges remaining


Reference the default interface BuffFrame.Lua for its usage.