Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I changed the 'greyish' color of the 'lost health' text from the default raid frames to red.
- Unfortunately this applies to the other frame-text like "dead" too. Can somebody please help me with the hook to correct it/get it clean. I ripped this from an older file so the function with the smaller text is useless. Maybe someone can rewrite it correctly.
- hooksecurefunc("CompactUnitFrame_UpdateStatusText",function(self)
- if self.optionTable.healthText=="losthealth" and tonumber(self.statusText:GetText() or "") then
- local losthp = UnitHealth(self.displayedUnit)
- self.statusText:SetTextColor(.95,.20,.200)
- if not self.smallStatus then
- self.statusText:SetFont("Fonts\\ARIALN.TTF",16)
- self.smallStatus = false
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement