Player12
An open source football management simulator
Loading...
Searching...
No Matches
WorldTuning::FreeAgents Struct Referencefinal

#include <world_tuning.h>

Static Public Attributes

static constexpr double EXIT_CHANCE_YOUNG = 0.05
 
static constexpr double EXIT_CHANCE_PRIME = 0.10
 
static constexpr double EXIT_CHANCE_LATE = 0.15
 
static constexpr double EXIT_CHANCE_VETERAN = 0.25
 
static constexpr double LEVEL_MARGIN = 5.0
 
static constexpr double ABOVE_LEVEL_FACTOR = 0.4
 
static constexpr double BELOW_LEVEL_FACTOR = 2.0
 
static constexpr double PROSPECT_POTENTIAL_MARGIN = 10.0
 
static constexpr double PROSPECT_FACTOR = 0.3
 
static constexpr double LEVEL_QUANTILE = 0.25
 

Detailed Description

The world has two divisions per country; players nobody signs drop below them (lower leagues, abroad) or stop playing. From September to May an unsigned free agent leaves the world with a monthly chance by age, scaled by his level against the weakest quarter of second-tier players. [P: most players released in the summer and still unsigned after the window sign at a lower level within the season]

Member Data Documentation

◆ ABOVE_LEVEL_FACTOR

constexpr double WorldTuning::FreeAgents::ABOVE_LEVEL_FACTOR = 0.4
staticconstexpr

◆ BELOW_LEVEL_FACTOR

constexpr double WorldTuning::FreeAgents::BELOW_LEVEL_FACTOR = 2.0
staticconstexpr

◆ EXIT_CHANCE_LATE

constexpr double WorldTuning::FreeAgents::EXIT_CHANCE_LATE = 0.15
staticconstexpr

28-31.

◆ EXIT_CHANCE_PRIME

constexpr double WorldTuning::FreeAgents::EXIT_CHANCE_PRIME = 0.10
staticconstexpr

22-27.

◆ EXIT_CHANCE_VETERAN

constexpr double WorldTuning::FreeAgents::EXIT_CHANCE_VETERAN = 0.25
staticconstexpr

32 and older.

◆ EXIT_CHANCE_YOUNG

constexpr double WorldTuning::FreeAgents::EXIT_CHANCE_YOUNG = 0.05
staticconstexpr

Up to 21.

◆ LEVEL_MARGIN

constexpr double WorldTuning::FreeAgents::LEVEL_MARGIN = 5.0
staticconstexpr

Level gap (overall points) that counts as clearly above/below.

◆ LEVEL_QUANTILE

constexpr double WorldTuning::FreeAgents::LEVEL_QUANTILE = 0.25
staticconstexpr

Share of second-tier senior players below the reference level.

◆ PROSPECT_FACTOR

constexpr double WorldTuning::FreeAgents::PROSPECT_FACTOR = 0.3
staticconstexpr

◆ PROSPECT_POTENTIAL_MARGIN

constexpr double WorldTuning::FreeAgents::PROSPECT_POTENTIAL_MARGIN = 10.0
staticconstexpr

Prospects (21 or younger, potential this far above the level) are kept in the pool for clubs to find.


The documentation for this struct was generated from the following file: