Hey guys!
Updated my pastebins on page 2.
Stagger has a new custom function (thanks to my friend GfxAMK) with shortened numbers, so it looks like the Guard one where it says "20k" instead of 20.000.
Here is the code for a quick switch
Code:
function() local stagger = select(14, UnitAura("player", "light stagger", nil, "HARMFUL")) or select(14, UnitAura("player", "moderate stagger", nil, "HARMFUL")) or select(14, UnitAura("player", "heavy stagger", nil, "HARMFUL"));if(stagger > 999) then stagger = math.floor(stagger/1000) .. "k" end;return stagger; end
He also polished the Guard one a little bit so here is the code for that
Code:
function () local name,_,icon,_,_,_,_,_,_,_,_,_,_,value=UnitBuff("player", "Guard"); if(value > 999) then value = math.floor(value/1000) .. "k" end; return(value) end
He took the Million part out of both functions so it is a little bit more lightweight.
Hope you guys enjoy thos
cheers