WoW:EnchantLink: Difference between revisions

214 bytes added ,  16 February 2008
no edit summary
(initial documentation)
 
No edit summary
Line 25: Line 25:


  local found, _, enchantString = string.find(enchantLink, "^|%x+|H(.+)|h%[.+%]")
  local found, _, enchantString = string.find(enchantLink, "^|%x+|H(.+)|h%[.+%]")
EnchantLinks are also used in profession/craft links; for example:
|cffffffff|Henchant:44157|h[Engineering: Turbo-Charged Flying Machine]|h|r
where 44157 is the spellId used to create the product of crafting.
Anonymous user