Module:WeaponDPS: Difference between revisions

No edit summary
No edit summary
Line 18: Line 18:
     local dps = maxHit / seconds
     local dps = maxHit / seconds


    return "<abbr title=\"Estimated damage per second\">"+string.format("%.2f", (dps * 10))+"</abbr>"
return '<abbr title="Estimated damage per second">' .. string.format('%.2f', (dps * 10)) .. '</abbr>'
 
end
end


return p
return p