I don't really like the idea that an addon hooks into the AddLine function, as it is used by basically any addon that creates custom tooltips. IMO it would be cleaner to try and change the source of the message and change what is passed to the tooltip there. In your case you could take a look at the crafting screen where the tooltip is generated and hook into ALCHEMY:UpdateTooltipLayout().
|