/
## Title: sStats_Durability |
## Author: Seerah |
## Notes: A durability module for sStats |
## Version: 1.0.5 |
## Version: 1.0.6 |
## Dependencies: sStats |
durability.lua |
maxDur = maxDur + maxD |
end |
end |
local durPercent = strformat("%d%%", mathfloor((curDur/maxDur)*100)) |
local durPercent |
if maxDur == 0 then |
durPercent = "--" |
else |
durPercent = strformat("%d%%", mathfloor((curDur/maxDur)*100)) |
end |
sStats:SetModuleText(sStats_durText, durPercent, " durability") |
end) |