Returns information about temporary enchantments on the player's weapons. Does not return information about permanent enchantments added via Enchanting, Runeforging, etc; refers instead to temporary buffs such as wizard oils, sharpening stones, rogue poisons, and shaman weapon enhancements.
See also Buff functions.
Signature:
hasMainHandEnchant, mainHandExpiration, mainHandCharges, hasOffHandEnchant, offHandExpiration, offHandCharges = GetWeaponEnchantInfo()
Returns:
hasMainHandEnchant- 1 if the main hand weapon has a temporary enchant (1nil)mainHandExpiration- The time until the enchant expires, in milliseconds (number)mainHandCharges- The number of charges left on the enchantment (number)hasOffHandEnchant- 1 if the offhand weapon has a temporary enchant (1nil)offHandExpiration- The time until the enchant expires, in milliseconds (number)offHandCharges- The number of charges left on the enchantment (number)