Quantcast
Display Incoming Healing (default raid frames) - WoWInterface
Thread Tools Display Modes
12-18-15, 02:25 AM   #1
Lesteryoung
A Cliff Giant
Join Date: Aug 2015
Posts: 76
Display Incoming Healing (default raid frames)

In the default raid frames, there's an option to display incoming healing. I don't want to see the overlay that it gives for incoming casts/HoTs. However, this option also controls the display of the absorb overlay for shields.. etc.

Is it possible to only display the absorb overlay on the raid frames without showing the annoying incoming healing overlay?
  Reply With Quote
12-22-15, 04:18 AM   #2
Lesteryoung
A Cliff Giant
Join Date: Aug 2015
Posts: 76
Found the name of the frames using /fstack.

The absorb is called CompactRaidFrame#AbsorbOverlay and the incoming healing part is called MyHealPrediction.

Just not sure how to disable the "healprediction" part.
  Reply With Quote
12-22-15, 03:08 PM   #3
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,961
This isn't as simple as other unitframes since the raidframes are dynamically created and shuffled around as needed to facilitate sorting and filters. Also, the handling of the heal prediction and absorb bars are passed to a centralized function that would affect other unitframes using the same template.

If this doesn't bother you, you can try this.
Lua Code:
  1. local oldfunc=CompactUnitFrameUtil_UpdateFillBar;
  2. function CompactUnitFrameUtil_UpdateFillBar(frame,previous,bar,...)
  3.     if bar==frame.myHealPrediction or bar==frame.otherHealPrediction then
  4.         return previous;
  5.     end
  6.  
  7.     return oldfunc(frame,previous,bar,...);
  8. end
  9.  
  10. hooksecurefunc("CompactUnitFrame_SetUpFrame",function(frame)
  11.     frame.myHealPrediction:Hide();
  12.     frame.otherHealPrediction:Hide();
  13. end);
__________________
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 12-22-15 at 03:44 PM.
  Reply With Quote
12-23-15, 12:50 AM   #4
Lesteryoung
A Cliff Giant
Join Date: Aug 2015
Posts: 76
Thanks, the code you gave seems to be working fine.

Really annoying that simple stuff like this isn't an option considering the two things involved are completely different.

An absorb is actual healing that's already done and is critical to see. Healing prediction is just that.

Default UI sucks in lots of small ways, but I hate complete replacement addons at the same time.

Last edited by Lesteryoung : 12-23-15 at 01:40 AM.
  Reply With Quote
01-24-16, 01:28 AM   #5
Lesteryoung
A Cliff Giant
Join Date: Aug 2015
Posts: 76
Would it be possible to rewrite this to show the absorb overlay on the 40 default raid frames instead of hiding the healprediction overlay?
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Display Incoming Healing (default raid frames)

Thread Tools
Display Modes

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