Quantcast
WoWInterface - View Single Post - Adding line of text to player tooltip
View Single Post
09-13-19, 07:25 AM   #2
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,739
You can do it like so:
lua Code:
  1. GameTooltip:HookScript("OnTooltipSetUnit", OnTooltipSetUnit)
https://github.com/zorker/rothui/blo.../core.lua#L211
https://github.com/zorker/rothui/blo...p/core.lua#L44
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
  Reply With Quote