WoW:API GetWeaponEnchantInfo

From AddOn Studio
Revision as of 14:30, 27 May 2005 by WoWWiki>Gnormy
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.