Use points as id for presets

This commit is contained in:
Brian Miyaji
2014-06-24 00:15:23 +10:00
parent feef6e5c4f
commit fc4933ad00
2 changed files with 5 additions and 5 deletions

View File

@@ -10,7 +10,7 @@
{ "name" : "3", "description" : "3rd quarter points" }, { "name" : "3", "description" : "3rd quarter points" },
{ "name" : "4", "description" : "4th quarter points" }, { "name" : "4", "description" : "4th quarter points" },
{ "name" : "", "id" : "ot", "description" : "Overtime points" }, { "name" : "", "id" : "ot", "description" : "Overtime points" },
{ "name" : "T", "description" : "Total points", "main" : 1 } { "name" : "T", "id" : "points", "description" : "Total points", "main" : 1 }
], ],
"performance": [ "performance": [
{ "name" : "MIN", "description" : "Minutes" }, { "name" : "MIN", "description" : "Minutes" },
@@ -34,9 +34,9 @@
{ "name" : "W", "equation" : "$win", "description" : "Wins" }, { "name" : "W", "equation" : "$win", "description" : "Wins" },
{ "name" : "L", "equation" : "$loss", "description" : "Losses" }, { "name" : "L", "equation" : "$loss", "description" : "Losses" },
{ "name" : "PCT", "equation" : "$win / $eventsplayed", "precision" : 3, "description" : "Win percentage" }, { "name" : "PCT", "equation" : "$win / $eventsplayed", "precision" : 3, "description" : "Win percentage" },
{ "name" : "PF", "equation" : "$tfor / $eventsplayed", "precision" : 1, "description" : "Average points for" }, { "name" : "PF", "equation" : "$pointsfor / $eventsplayed", "description" : "Average points for" },
{ "name" : "PA", "equation" : "$tagainst / $eventsplayed", "precision" : 1, "description" : "Average points against" }, { "name" : "PA", "equation" : "$pointsagainst / $eventsplayed", "description" : "Average points against" },
{ "name" : "DIFF", "equation" : "( $tfor - $tagainst ) / $eventsplayed", "precision" : 1, "description" : "Average point differential" }, { "name" : "DIFF", "equation" : "( $pointsfor - $pointsagainst ) / $eventsplayed", "description" : "Average point differential" },
{ "name" : "L10", "equation" : "$last10", "description" : "Last 10 games" }, { "name" : "L10", "equation" : "$last10", "description" : "Last 10 games" },
{ "name" : "STRK", "equation" : "$streak", "description" : "Current streak" } { "name" : "STRK", "equation" : "$streak", "description" : "Current streak" }
], ],

View File

@@ -17,7 +17,7 @@
{ "name" : "Q4", "description" : "Fourth quarter points" }, { "name" : "Q4", "description" : "Fourth quarter points" },
"Goals", "Goals",
"Behinds", "Behinds",
{ "name" : "Total", "description" : "Total points", "primary" : 1 } { "name" : "Total", "id" : "points", "description" : "Total points", "primary" : 1 }
], ],
"performance": [ "performance": [
"Kicks", "Kicks",