Update sports presets

This commit is contained in:
Brian Miyaji
2015-03-03 17:21:04 +11:00
parent 0ce341f33a
commit b06475e0c9
3 changed files with 18 additions and 13 deletions

View File

@@ -35,7 +35,7 @@
{ "name" : "D", "equation" : "$draw", "description" : "Draws" }, { "name" : "D", "equation" : "$draw", "description" : "Draws" },
{ "name" : "F", "equation" : "$pointsfor", "priority" : 3, "description" : "Points for" }, { "name" : "F", "equation" : "$pointsfor", "priority" : 3, "description" : "Points for" },
{ "name" : "A", "equation" : "$pointsagainst", "description" : "Points against" }, { "name" : "A", "equation" : "$pointsagainst", "description" : "Points against" },
{ "name" : "%", "id" : "pct", "equation" : "$pointsfor / $eventsplayed", "priority" : 2, "description" : "Season percentage" }, { "name" : "%", "id" : "pct", "equation" : "$win / $eventsplayed", "priority" : 2, "description" : "Season percentage" },
{ "name" : "Pts", "equation" : "$win * 4 + $draw * 2", "priority" : 1, "description" : "Points" } { "name" : "Pts", "equation" : "$win * 4 + $draw * 2", "priority" : 1, "description" : "Points" }
], ],
"metrics": [ "metrics": [

View File

@@ -1,8 +1,7 @@
{ {
"name": "Ice Hockey", "name": "Ice Hockey",
"positions": [ "positions": [
"Forward", "Skater",
"Defenseman",
"Goalie" "Goalie"
], ],
"outcomes": [ "outcomes": [
@@ -20,14 +19,14 @@
{ "name" : "T", "id" : "goals", "description" : "Total goals", "primary" : 1 } { "name" : "T", "id" : "goals", "description" : "Total goals", "primary" : 1 }
], ],
"performance": [ "performance": [
{ "name" : "G", "description" : "Goals" }, { "name" : "G", "position" : "Skater", "description" : "Goals" },
{ "name" : "A", "description" : "Assists" }, { "name" : "A", "position" : "Skater", "description" : "Assists" },
{ "name" : "H", "description" : "Hits" }, { "name" : "H", "position" : "Skater", "description" : "Hits" },
{ "name" : "SOG", "id" : "s", "description" : "Shots on goal" }, { "name" : "SOG", "position" : "Skater", "id" : "s", "description" : "Shots on goal" },
{ "name" : "PIM", "description" : "Penalty in minutes" }, { "name" : "PIM", "position" : "Skater", "description" : "Penalty in minutes" },
{ "name" : "SA", "description" : "Shots against" }, { "name" : "SA", "position" : "Goalie", "description" : "Shots against" },
{ "name" : "GA", "description" : "Goals against" }, { "name" : "GA", "position" : "Goalie", "description" : "Goals against" },
{ "name" : "SV", "description" : "Saves" } { "name" : "SV", "position" : "Goalie", "description" : "Saves" }
], ],
"columns": [ "columns": [
{ "name" : "GP", "equation" : "$eventsplayed", "description" : "Games played" }, { "name" : "GP", "equation" : "$eventsplayed", "description" : "Games played" },
@@ -56,5 +55,11 @@
{ "name" : "P", "equation" : "$g + $assists", "description" : "Points" }, { "name" : "P", "equation" : "$g + $assists", "description" : "Points" },
{ "name" : "S%", "equation" : "$g / $s * 100", "precision" : 2, "description" : "Shot percentage" }, { "name" : "S%", "equation" : "$g / $s * 100", "precision" : 2, "description" : "Shot percentage" },
{ "name" : "SV%", "equation" : "$sv / $sa * 100", "precision" : 2, "description" : "Save percentage" } { "name" : "SV%", "equation" : "$sv / $sa * 100", "precision" : 2, "description" : "Save percentage" }
],
"options": [
{ "load_individual_mode_module" : "no" },
{ "event_show_total" : "no" },
{ "event_show_player_numbers" : "yes" },
{ "event_split_players_by_position" : "yes" }
] ]
} }

View File

@@ -8,8 +8,8 @@
], ],
"outcomes": [ "outcomes": [
{ "name" : "Win", "condition" : ">" }, { "name" : "Win", "condition" : ">" },
{ "name" : "Loss", "condition" : "<" }, { "name" : "Draw", "condition" : "=" },
{ "name" : "Draw", "condition" : "=" } { "name" : "Loss", "condition" : "<" }
], ],
"results": [ "results": [
{ "name" : "1st Half", "description" : "1st half goals" }, { "name" : "1st Half", "description" : "1st half goals" },