Thread Tools Display Modes
Prev Previous Post   Next Post Next
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,904
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
 

WoWInterface » Developer Discussions » Lua/XML Help » "SPELL_DAMAGE" and "SPELL_PERIODIC_DAMAGE" Crit bool is nil


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off