View Single Post
08-01-23, 01:06 PM   #9
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,895
One Possability, in your OnEvent you could do something like:

Lua Code:
  1. GameToolip.CritMaticDataShowHeals = nil
  2. if eventType == "xxx" or eventType == "yyy"  then
  3.     GameToolip.CritMaticDataShowHeals = true
  4. end

Then your Tooltip code could check for
Lua Code:
  1. self.CritMaticDataShowHeals

And if found, set whatever tooltp, clearing self.CritMaticDataShowHeals in the process if required.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 08-01-23 at 01:20 PM.
  Reply With Quote