Player12
An open source football management simulator
Loading...
Searching...
No Matches
StaffEffects Struct Reference

What a club's staff does for the squad (all bounded). More...

#include <staff.h>

Public Attributes

float coaching_fitness = 0.25f
 
float coaching_attacking = 0.25f
 
float coaching_defending = 0.25f
 
float coaching_tactical = 0.25f
 
float coaching_goalkeeping = 0.25f
 
float coaching_youth = 0.25f
 
float training_quality = 0.25f
 
float injury_prevention = 1.08f
 
float layoff_multiplier = 1.12f
 
float youth_potential_bonus = -2.0f
 
float scouting_accuracy = 0.0f
 
float familiarity_rate = 0.8f
 
std::int64_t weekly_payroll = 0
 

Detailed Description

What a club's staff does for the squad (all bounded).

Coaching qualities are 0-1 per area (the best specialist, else 80% of the assistant manager, else an untrained baseline of 0.25).

Member Data Documentation

◆ coaching_attacking

float StaffEffects::coaching_attacking = 0.25f

◆ coaching_defending

float StaffEffects::coaching_defending = 0.25f

◆ coaching_fitness

float StaffEffects::coaching_fitness = 0.25f

◆ coaching_goalkeeping

float StaffEffects::coaching_goalkeeping = 0.25f

◆ coaching_tactical

float StaffEffects::coaching_tactical = 0.25f

◆ coaching_youth

float StaffEffects::coaching_youth = 0.25f

◆ familiarity_rate

float StaffEffects::familiarity_rate = 0.8f

Multiplier of tactical familiarity growth (0.8-1.2).

◆ injury_prevention

float StaffEffects::injury_prevention = 1.08f

Injury hazard multiplier (0.88-1.08).

◆ layoff_multiplier

float StaffEffects::layoff_multiplier = 1.12f

Layoff length multiplier applied to new injuries (0.85-1.12).

◆ scouting_accuracy

float StaffEffects::scouting_accuracy = 0.0f

Scouting accuracy (0-1). Maps to discrimination d' = 0.8 + 1.3 * accuracy (0.8 single weak source, 1.3 good scout, 2.1 elite department; world-realism 1.4/9.1); see StaffModel::potentialErrorSd().

◆ training_quality

float StaffEffects::training_quality = 0.25f

Mean coaching quality (0-1), shown as training effectiveness.

◆ weekly_payroll

std::int64_t StaffEffects::weekly_payroll = 0

◆ youth_potential_bonus

float StaffEffects::youth_potential_bonus = -2.0f

Potential bonus of academy graduates in overall points (-2..+4).


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