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

#include <match_tuning.h>

Static Public Attributes

static constexpr float BASE_HAZARD_PER_MINUTE = 0.00009f
 
static constexpr float FATIGUE_HAZARD_MULTIPLIER = 3.0f
 
static constexpr float INTENSITY_HAZARD_MULTIPLIER = 1.5f
 
static constexpr float CONTACT_INJURY_CHANCE = 0.006f
 
static constexpr float RECKLESS_CONTACT_INJURY_CHANCE = 0.03f
 
static constexpr float INJURED_SPEED_SCALE = 0.55f
 
static constexpr float CHECK_INTERVAL_MINUTES = 1.0f
 

Member Data Documentation

◆ BASE_HAZARD_PER_MINUTE

constexpr float MatchTuning::Injury::BASE_HAZARD_PER_MINUTE = 0.00009f
staticconstexpr

◆ CHECK_INTERVAL_MINUTES

constexpr float MatchTuning::Injury::CHECK_INTERVAL_MINUTES = 1.0f
staticconstexpr

◆ CONTACT_INJURY_CHANCE

constexpr float MatchTuning::Injury::CONTACT_INJURY_CHANCE = 0.006f
staticconstexpr

◆ FATIGUE_HAZARD_MULTIPLIER

constexpr float MatchTuning::Injury::FATIGUE_HAZARD_MULTIPLIER = 3.0f
staticconstexpr

◆ INJURED_SPEED_SCALE

constexpr float MatchTuning::Injury::INJURED_SPEED_SCALE = 0.55f
staticconstexpr

◆ INTENSITY_HAZARD_MULTIPLIER

constexpr float MatchTuning::Injury::INTENSITY_HAZARD_MULTIPLIER = 1.5f
staticconstexpr

◆ RECKLESS_CONTACT_INJURY_CHANCE

constexpr float MatchTuning::Injury::RECKLESS_CONTACT_INJURY_CHANCE = 0.03f
staticconstexpr

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