Quantcast
WoWInterface - View Single Post - Raidframe HealPrediction Texture
View Single Post
05-07-21, 11:58 AM   #14
Vrul
A Scalebane Royal Guard
 
Vrul's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 404
It should be something as simple as:
Lua Code:
  1. hooksecurefunc("DefaultCompactUnitFrameSetup", function(frame)
  2.     frame.myHealPrediction:SetTexture([[Raid-Bar-Hp-Fill.blp]])
  3.     frame.myHealPrediction:SetVertexColor(19/510, 229/510, 177/510)
  4.     frame.otherHealPrediction:SetTexture([[Raid-Bar-Hp-Fill.blp]])
  5.     frame.otherHealPrediction:SetVertexColor(32/510, 142/510, 115/510)
  6. end)
  7.  
  8. hooksecurefunc("DefaultCompactMiniFrameSetup", function(frame)
  9.     frame.myHealPrediction:SetTexture([[Raid-Bar-Hp-Fill.blp]])
  10.     frame.myHealPrediction:SetVertexColor(19/510, 229/510, 177/510)
  11.     frame.otherHealPrediction:SetTexture([[Raid-Bar-Hp-Fill.blp]])
  12.     frame.otherHealPrediction:SetVertexColor(5/510, 5173/510, 23/510)
  13. end)
Remove/change SetVertexColor as desired.
  Reply With Quote