Draft lottery updates
Today I made a few changes to the draft lottery.
First, it now uses the same method the NBA will be using for the 2019 NBA draft. However there is an option in God Mode to switch it back to the old lottery method, or to disable the lottery entirely.
There is also now better support for non-standard league configurations. In the past, the lottery was always 14 teams, which is the number of non-playoff teams in a default league. But for leagues with different numbers of teams or different playoff lengths, you would then either get playoff teams in the lottery or non-playoff teams missing the lottery. Now it will adjust the number of lottery teams so it is always equal to the number of non-playoff teams.