WoW:API GetWeaponEnchantInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 16: Line 16:
Reference the default interface BuffFrame.Lua for its usage.
Reference the default interface BuffFrame.Lua for its usage.


[[Category:API Functions|GetWeaponEnchantInfo]]
----
[[Category:API Inventory Functions|GetWeaponEnchantInfo]]
{{WoW API}}
[[Category:API Buff Functions|GetWeaponEnchantInfo]]

Revision as of 04:41, 4 January 2006

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.


Template:WoW API