Skip to content
Snippets Groups Projects
Commit 5b2e563a authored by deuce's avatar deuce
Browse files

Fix Sol price calculations.

parent 130dab41
No related branches found
No related tags found
No related merge requests found
...@@ -62,6 +62,7 @@ var PortProperties = [ ...@@ -62,6 +62,7 @@ var PortProperties = [
function SolReport() function SolReport()
{ {
var today=system.datestr(system.datestr());
var holdprice=parseInt(50*Math.sin(0.89756*(today/86400)) + 0.5)+500; var holdprice=parseInt(50*Math.sin(0.89756*(today/86400)) + 0.5)+500;
var fighterprice=parseInt(10*Math.sin(0.89714*(today/86400) + 1.5707) + 0.5)+100; var fighterprice=parseInt(10*Math.sin(0.89714*(today/86400) + 1.5707) + 0.5)+100;
var turnprice=300; var turnprice=300;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment