WoW:API GetWeaponEnchantInfo: Difference between revisions
Jump to navigation
Jump to search
(upgraded deprecated template) |
No edit summary |
||
Line 5: | Line 5: | ||
;Returns | ;Returns | ||
hasMainHandEnchant, mainHandExpiration, mainHandCharges, hasOffHandEnchant, offHandExpiration, offHandCharges | hasMainHandEnchant, mainHandExpiration, mainHandCharges, hasOffHandEnchant, offHandExpiration, offHandCharges, hasThrownEnchant, thrownExpiration, thrownCharges | ||
hasMainHandEnchant = 1(true) or nil | hasMainHandEnchant = 1 (true) or nil | ||
mainHandExpiration = time remaining as | mainHandExpiration = time remaining as thousandths of seconds | ||
mainHandCharges = charges remaining | mainHandCharges = charges remaining | ||
hasOffHandEnchant = 1(true) or nil | hasOffHandEnchant = 1 (true) or nil | ||
offHandExpiration = time remaining as | offHandExpiration = time remaining as thousandths of seconds | ||
offHandCharges = charges remaining | offHandCharges = charges remaining | ||
hasThrownEnchant = 1 (true) or nil (new in 4.0.1) | |||
thrownExpiration = time remaining as thousandths of seconds (new in 4.0.1) | |||
thrownCharges = charges remaining (new in 4.0.1) | |||
Reference the default interface BuffFrame.Lua for its usage. | Reference the default interface BuffFrame.Lua for its usage. |
Revision as of 22:48, 15 October 2010
← WoW API < GetWeaponEnchantInfo
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, hasThrownEnchant, thrownExpiration, thrownCharges
hasMainHandEnchant = 1 (true) or nil mainHandExpiration = time remaining as thousandths of seconds mainHandCharges = charges remaining hasOffHandEnchant = 1 (true) or nil offHandExpiration = time remaining as thousandths of seconds offHandCharges = charges remaining hasThrownEnchant = 1 (true) or nil (new in 4.0.1) thrownExpiration = time remaining as thousandths of seconds (new in 4.0.1) thrownCharges = charges remaining (new in 4.0.1)
Reference the default interface BuffFrame.Lua for its usage.