1. #1

    oUF Mono .lua help

    Can anyone help me out with removing the health deficit on the raid frames? I removed a line in the tags.lua and they're gone, but instead Ghost/D/C pops up until they're over 90% health. It sounds like a conditional where if the deficit is absent, then the Ghost or D/C replaces it.

    The line I removed was around line 130.
    Rabsies
    <The Horsemen> US25 - Shadowmoon US - 14/14 25H
    "Just play the game"
    _________________________________________
    CPU: i5 2500k @3.3Ghz; GPU: MSi GTX560Ti Twin Frozr II
    RAM: 8GB 1600Mhz Corsair Vengeance; MB: MSi Z68-G45 G3

  2. #2
    Had a look at it, and from line 180 I found this:
    Code:
    oUF.Tags.Methods['mono:hpraid']  = function(u) 
    	local min, max = UnitHealth(u), UnitHealthMax(u)
    	local per = oUF.Tags.Methods['perhp'](u)
    	local def = oUF.Tags.Methods['missinghp'](u)
    	if UnitIsDead(u) or UnitIsGhost(u) or not UnitIsConnected(u) then
    		return oUF.Tags.Methods['mono:DDG'](u)
    	elseif min~=max and per < 90 then
    		return "|cffe15f8b-"..SVal(def).."|r"
    	end
    end
    If I'm not mistaken, this is what should control HP on raid frames. I would try removing
    Code:
    local def = oUF.Tags.Methods['missinghp'](u)
    from that part and see if it helps.

  3. #3
    That's actually the part I removed, and the problem I described is what happens as a result.
    Rabsies
    <The Horsemen> US25 - Shadowmoon US - 14/14 25H
    "Just play the game"
    _________________________________________
    CPU: i5 2500k @3.3Ghz; GPU: MSi GTX560Ti Twin Frozr II
    RAM: 8GB 1600Mhz Corsair Vengeance; MB: MSi Z68-G45 G3

  4. #4
    Try to remove
    Code:
    	elseif min~=max and per < 90 then
    		return "|cffe15f8b-"..SVal(def).."|r"
    aswell.

    If that doesn't work just put this back in and reduce the number in the first line. It controls when health deficit pops up in the frame, so if you put it to 1 or something it won't show until a player in the raid is below 1% hp.

  5. #5
    I'll put it as 1 and see what happens, I'll remove it if it keeps up. Thanks.
    Rabsies
    <The Horsemen> US25 - Shadowmoon US - 14/14 25H
    "Just play the game"
    _________________________________________
    CPU: i5 2500k @3.3Ghz; GPU: MSi GTX560Ti Twin Frozr II
    RAM: 8GB 1600Mhz Corsair Vengeance; MB: MSi Z68-G45 G3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •