View Single Post
01-19-14, 08:52 PM   #5
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
You should hook it, but not like the code you quoted because every single time PAPERDOLL_STATINFO.ARMOR.updateFunc is called it's going to add another function to statFrame's OnEnter.

You need to make sure you only hook it once.

As ridiculous as it may seem, it's better to overwrite the content of the tooltip after it's been filled out than to pre-hook it and cause taint because taint spreading from seemingly benign hooks like this cause the glyph frame to stop working and random frame level issues.
  Reply With Quote