a guest Jul 18th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- local p = math.max(UnitPower("player",0)) / math.max(UnitPowerMax("player",0)) * 100;
- return string.format("%.f", p) .. "%";
RAW Paste Data