Skip to content

Commit

Permalink
Adding new variable to team structs
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebRose committed May 6, 2024
1 parent b141b2d commit 54bc07e
Show file tree
Hide file tree
Showing 6 changed files with 565 additions and 446 deletions.
2 changes: 2 additions & 0 deletions controller/CronController.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ func RunTheGamesViaCron() {
ts := managers.GetTimestamp()
if ts.RunCron {
if !ts.IsOffSeason && !ts.RunGames {
// Adjust depth charts that are broken
managers.FixBrokenGameplans()
managers.RunTheGames()
}
}
Expand Down
4 changes: 2 additions & 2 deletions managers/AssortedHelperManager.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ func GetHeismanScore(cp structs.CollegePlayer, weightMap map[string]float64, hom
statScore += (float64(stat.RushingYards) * 0.1)
statScore += (float64(stat.RushingTDs) * 6)
} else {
statScore += (float64(stat.RushingYards) * 0.0775)
statScore += (float64(stat.RushingTDs) * 4.75)
statScore += (float64(stat.RushingYards) * 0.1)
statScore += (float64(stat.RushingTDs) * 5)
}

drops := stat.Targets - stat.Catches
Expand Down
Loading

0 comments on commit 54bc07e

Please sign in to comment.