WoWInterface SVN sStats_Durability

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 7 to Rev 8
    Reverse comparison

Rev 7 → Rev 8

trunk/sStats_Durability/sStats_Durability.toc
2,7 → 2,7
## Title: sStats_Durability
## Author: Seerah
## Notes: A durability module for sStats
## Version: 1.0.5
## Version: 1.0.6
## Dependencies: sStats
 
durability.lua
\ No newline at end of file
trunk/sStats_Durability/durability.lua
19,7 → 19,12
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)