diff --git a/presets/footy.json b/presets/footy.json index 89962a09..32b288ba 100644 --- a/presets/footy.json +++ b/presets/footy.json @@ -35,7 +35,7 @@ { "name" : "D", "equation" : "$draw", "description" : "Draws" }, { "name" : "F", "equation" : "$pointsfor", "priority" : 3, "description" : "Points for" }, { "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" } ], "metrics": [ diff --git a/presets/ice-hockey.json b/presets/ice-hockey.json index 5fe4af26..7958bf11 100644 --- a/presets/ice-hockey.json +++ b/presets/ice-hockey.json @@ -1,8 +1,7 @@ { "name": "Ice Hockey", "positions": [ - "Forward", - "Defenseman", + "Skater", "Goalie" ], "outcomes": [ @@ -20,14 +19,14 @@ { "name" : "T", "id" : "goals", "description" : "Total goals", "primary" : 1 } ], "performance": [ - { "name" : "G", "description" : "Goals" }, - { "name" : "A", "description" : "Assists" }, - { "name" : "H", "description" : "Hits" }, - { "name" : "SOG", "id" : "s", "description" : "Shots on goal" }, - { "name" : "PIM", "description" : "Penalty in minutes" }, - { "name" : "SA", "description" : "Shots against" }, - { "name" : "GA", "description" : "Goals against" }, - { "name" : "SV", "description" : "Saves" } + { "name" : "G", "position" : "Skater", "description" : "Goals" }, + { "name" : "A", "position" : "Skater", "description" : "Assists" }, + { "name" : "H", "position" : "Skater", "description" : "Hits" }, + { "name" : "SOG", "position" : "Skater", "id" : "s", "description" : "Shots on goal" }, + { "name" : "PIM", "position" : "Skater", "description" : "Penalty in minutes" }, + { "name" : "SA", "position" : "Goalie", "description" : "Shots against" }, + { "name" : "GA", "position" : "Goalie", "description" : "Goals against" }, + { "name" : "SV", "position" : "Goalie", "description" : "Saves" } ], "columns": [ { "name" : "GP", "equation" : "$eventsplayed", "description" : "Games played" }, @@ -56,5 +55,11 @@ { "name" : "P", "equation" : "$g + $assists", "description" : "Points" }, { "name" : "S%", "equation" : "$g / $s * 100", "precision" : 2, "description" : "Shot 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" } ] } \ No newline at end of file diff --git a/presets/soccer.json b/presets/soccer.json index 83367f3f..1f6689f6 100644 --- a/presets/soccer.json +++ b/presets/soccer.json @@ -8,8 +8,8 @@ ], "outcomes": [ { "name" : "Win", "condition" : ">" }, - { "name" : "Loss", "condition" : "<" }, - { "name" : "Draw", "condition" : "=" } + { "name" : "Draw", "condition" : "=" }, + { "name" : "Loss", "condition" : "<" } ], "results": [ { "name" : "1st Half", "description" : "1st half goals" },