Hey
I'm quite new to coding addons and i'm trying to make an addon that adds a line to the tooltip of an item, describing the item's AP equivalent value. The calculations for the equivalence value are done and the addon works when i mouse over an item that i have equipped, have in bags or I find in the AH. But it does not add the line to the tooltip when i click on an itemlink in the chat or if I mouse over items in AtlasLoot.
I use the GameToolTip's OnShow event, and i guess it means that this isnt called when you click on an itemlink in the chat or anything else besides when mousing over the actual item.
Does anyone know how i can add this line to the tooltip, regardless of where i find the item? I've seen other addons do it but their source code has been too complex for me to find out where they do it (such as Wardrobe, ItempriceTooltip, EPGP etc).
Any help is appreciated