Player12
An open source football management simulator
Loading...
Searching...
No Matches
MatchTuning::Substitution Struct Referencefinal

#include <match_tuning.h>

Static Public Attributes

static constexpr int MAX_WINDOWS = 3
 
static constexpr float EARLIEST_TACTICAL_MINUTE = 68.0f
 
static constexpr float FATIGUE_THRESHOLD = 0.60f
 
static constexpr float FATIGUE_THRESHOLD_LATE_GAIN = 0.12f
 
static constexpr float LATE_GAME_MINUTE = 80.0f
 
static constexpr float CARD_RISK_MINUTE = 64.0f
 
static constexpr float CARD_RISK_NEED = 0.22f
 
static constexpr float TRAILING_CHASE_MINUTE = 66.0f
 
static constexpr float LEADING_PROTECT_MINUTE = 75.0f
 
static constexpr float TACTICAL_NEED = 0.12f
 
static constexpr float MINIMUM_NEED = 0.22f
 
static constexpr float LATE_NEED_SHARE = 0.4f
 
static constexpr float WINDOW_NEED_SHARE = 0.95f
 
static constexpr float MINUTE_NEED_GAIN = 0.012f
 
static constexpr float FATIGUE_NEED_SCALE = 2.2f
 
static constexpr float ATTACKER_FATIGUE_NEED_FACTOR = 1.6f
 
static constexpr float ATTACKER_ROTATION_MINUTE = 64.0f
 
static constexpr float ATTACKER_ROTATION_NEED_PER_MINUTE = 0.045f
 
static constexpr float ROLE_FIT_BONUS = 0.5f
 

Member Data Documentation

◆ ATTACKER_FATIGUE_NEED_FACTOR

constexpr float MatchTuning::Substitution::ATTACKER_FATIGUE_NEED_FACTOR = 1.6f
staticconstexpr

Forwards lose their sharpness first and are replaced most often.

◆ ATTACKER_ROTATION_MINUTE

constexpr float MatchTuning::Substitution::ATTACKER_ROTATION_MINUTE = 64.0f
staticconstexpr

From this minute a tiring forward is also freshened up tactically (need per minute, scaled by the condition he has lost).

◆ ATTACKER_ROTATION_NEED_PER_MINUTE

constexpr float MatchTuning::Substitution::ATTACKER_ROTATION_NEED_PER_MINUTE = 0.045f
staticconstexpr

◆ CARD_RISK_MINUTE

constexpr float MatchTuning::Substitution::CARD_RISK_MINUTE = 64.0f
staticconstexpr

◆ CARD_RISK_NEED

constexpr float MatchTuning::Substitution::CARD_RISK_NEED = 0.22f
staticconstexpr

◆ EARLIEST_TACTICAL_MINUTE

constexpr float MatchTuning::Substitution::EARLIEST_TACTICAL_MINUTE = 68.0f
staticconstexpr

◆ FATIGUE_NEED_SCALE

constexpr float MatchTuning::Substitution::FATIGUE_NEED_SCALE = 2.2f
staticconstexpr

◆ FATIGUE_THRESHOLD

constexpr float MatchTuning::Substitution::FATIGUE_THRESHOLD = 0.60f
staticconstexpr

◆ FATIGUE_THRESHOLD_LATE_GAIN

constexpr float MatchTuning::Substitution::FATIGUE_THRESHOLD_LATE_GAIN = 0.12f
staticconstexpr

◆ LATE_GAME_MINUTE

constexpr float MatchTuning::Substitution::LATE_GAME_MINUTE = 80.0f
staticconstexpr

◆ LATE_NEED_SHARE

constexpr float MatchTuning::Substitution::LATE_NEED_SHARE = 0.4f
staticconstexpr

Share of the minimum need that suffices in the last minutes.

◆ LEADING_PROTECT_MINUTE

constexpr float MatchTuning::Substitution::LEADING_PROTECT_MINUTE = 75.0f
staticconstexpr

◆ MAX_WINDOWS

constexpr int MatchTuning::Substitution::MAX_WINDOWS = 3
staticconstexpr

◆ MINIMUM_NEED

constexpr float MatchTuning::Substitution::MINIMUM_NEED = 0.22f
staticconstexpr

◆ MINUTE_NEED_GAIN

constexpr float MatchTuning::Substitution::MINUTE_NEED_GAIN = 0.012f
staticconstexpr

◆ ROLE_FIT_BONUS

constexpr float MatchTuning::Substitution::ROLE_FIT_BONUS = 0.5f
staticconstexpr

◆ TACTICAL_NEED

constexpr float MatchTuning::Substitution::TACTICAL_NEED = 0.12f
staticconstexpr

◆ TRAILING_CHASE_MINUTE

constexpr float MatchTuning::Substitution::TRAILING_CHASE_MINUTE = 66.0f
staticconstexpr

◆ WINDOW_NEED_SHARE

constexpr float MatchTuning::Substitution::WINDOW_NEED_SHARE = 0.95f
staticconstexpr

Share of the minimum need that joins a change already being made.


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