#include <transfer_tuning.h>
Player side of a contract negotiation.
◆ AGENT_AMBITION_MARGIN
| constexpr float TransferTuning::Negotiation::AGENT_AMBITION_MARGIN = 0.12f |
|
staticconstexpr |
◆ AGENT_ASK_ROUNDING
| constexpr std::uint32_t TransferTuning::Negotiation::AGENT_ASK_ROUNDING = 100 |
|
staticconstexpr |
◆ AGENT_BASE_MARGIN
| constexpr float TransferTuning::Negotiation::AGENT_BASE_MARGIN = 0.06f |
|
staticconstexpr |
The agent opens above what the player will sign for: a base margin plus more for ambitious players and for a step down in stature (per reputation point, capped). The ask falls to the real demand by the last round. [P]
◆ AGENT_FEE_AMBITION_MARGIN
| constexpr float TransferTuning::Negotiation::AGENT_FEE_AMBITION_MARGIN = 0.15f |
|
staticconstexpr |
◆ AGENT_FEE_BASE_MARGIN
| constexpr float TransferTuning::Negotiation::AGENT_FEE_BASE_MARGIN = 0.10f |
|
staticconstexpr |
◆ AGENT_FEE_FLOOR
| constexpr float TransferTuning::Negotiation::AGENT_FEE_FLOOR = 0.90f |
|
staticconstexpr |
The agent's own fee: clubs usually pay the standard (AGENT_FEE_PERCENT of a fee, FREE_AGENT_FEE_WEEKS of wage on a free move); he opens above it by a margin that grows with the player's ambition, comes down to the standard by the last round and settles for no less than AGENT_FEE_FLOOR of it. [P]
◆ AGENT_PUSHBACK_BAND
| constexpr float TransferTuning::Negotiation::AGENT_PUSHBACK_BAND = 0.10f |
|
staticconstexpr |
Wage offers this close below the demand get the agent's pushback instead of a flat refusal. [P]
◆ AGENT_STATURE_MARGIN_CAP
| constexpr float TransferTuning::Negotiation::AGENT_STATURE_MARGIN_CAP = 0.10f |
|
staticconstexpr |
◆ AGENT_STATURE_MARGIN_PER_POINT
| constexpr float TransferTuning::Negotiation::AGENT_STATURE_MARGIN_PER_POINT = 0.005f |
|
staticconstexpr |
◆ AMBITION_RAISE
| constexpr float TransferTuning::Negotiation::AMBITION_RAISE = 0.15f |
|
staticconstexpr |
◆ APPEARANCE_BONUS_REGULAR_SHARE
| constexpr float TransferTuning::Negotiation::APPEARANCE_BONUS_REGULAR_SHARE = 0.15f |
|
staticconstexpr |
◆ APPEARANCE_BONUS_SQUAD_SHARE
| constexpr float TransferTuning::Negotiation::APPEARANCE_BONUS_SQUAD_SHARE = 0.30f |
|
staticconstexpr |
◆ BACKUP_APPS_PER_WEEK
| constexpr float TransferTuning::Negotiation::BACKUP_APPS_PER_WEEK = 0.35f |
|
staticconstexpr |
◆ BASE_TRANSFER_RAISE
| constexpr float TransferTuning::Negotiation::BASE_TRANSFER_RAISE = 1.10f |
|
staticconstexpr |
Wage raise asked for a transfer, scaled up by ambition. [P]
◆ BROKEN_PROMISE_LEVELS
| constexpr int TransferTuning::Negotiation::BROKEN_PROMISE_LEVELS = 2 |
|
staticconstexpr |
A promise broken by this many levels after the grace period costs morale. [P]
◆ BROKEN_PROMISE_MORALE
| constexpr float TransferTuning::Negotiation::BROKEN_PROMISE_MORALE = 12.0f |
|
staticconstexpr |
◆ FIRST_TEAM_APPS_PER_WEEK
| constexpr float TransferTuning::Negotiation::FIRST_TEAM_APPS_PER_WEEK = 0.85f |
|
staticconstexpr |
◆ FREE_SIGNING_BONUS_WEEKS
| constexpr std::uint32_t TransferTuning::Negotiation::FREE_SIGNING_BONUS_WEEKS = 12 |
|
staticconstexpr |
Free agents and pre-contracts ask for a signing bonus instead of a fee, in weeks of the asked wage. [P]
◆ FRINGE_APPS_PER_WEEK
| constexpr float TransferTuning::Negotiation::FRINGE_APPS_PER_WEEK = 0.15f |
|
staticconstexpr |
◆ INSULT_WAGE_SHARE
| constexpr float TransferTuning::Negotiation::INSULT_WAGE_SHARE = 0.75f |
|
staticconstexpr |
A wage below this share of his demand insults the agent.
◆ KEY_APPS_PER_WEEK
| constexpr float TransferTuning::Negotiation::KEY_APPS_PER_WEEK = 0.95f |
|
staticconstexpr |
Competitive appearances per week by playing-time role (about 45 competitive matches over a 40-week season for a key player). [P]
◆ LOYALTY_PREMIUM
| constexpr float TransferTuning::Negotiation::LOYALTY_PREMIUM = 1.10f |
|
staticconstexpr |
◆ LOYALTY_THRESHOLD
| constexpr std::uint8_t TransferTuning::Negotiation::LOYALTY_THRESHOLD = 75 |
|
staticconstexpr |
Loyal players ask more to leave their club. [P]
◆ MAX_PLAYER_ROUNDS
| constexpr std::uint8_t TransferTuning::Negotiation::MAX_PLAYER_ROUNDS = 3 |
|
staticconstexpr |
Proposals a player considers before ending the talks. [P]
◆ PROMISE_CREDIBILITY_LEVELS
| constexpr int TransferTuning::Negotiation::PROMISE_CREDIBILITY_LEVELS = 1 |
|
staticconstexpr |
Promises are believed up to one level above the projected role.
◆ PROMISE_GRACE_DAYS
| constexpr int TransferTuning::Negotiation::PROMISE_GRACE_DAYS = 90 |
|
staticconstexpr |
◆ RELEASE_CLAUSE_AMBITION
| constexpr std::uint8_t TransferTuning::Negotiation::RELEASE_CLAUSE_AMBITION = 70 |
|
staticconstexpr |
Ambitious players moving to a modest club want a release clause of at most this multiple of their market value. [P]
◆ RELEASE_CLAUSE_CLUB_REPUTATION
| constexpr std::uint8_t TransferTuning::Negotiation::RELEASE_CLAUSE_CLUB_REPUTATION = 75 |
|
staticconstexpr |
◆ RELEASE_CLAUSE_VALUE_MULTIPLE
| constexpr float TransferTuning::Negotiation::RELEASE_CLAUSE_VALUE_MULTIPLE = 2.5f |
|
staticconstexpr |
◆ RISE_HIGH
| constexpr std::uint8_t TransferTuning::Negotiation::RISE_HIGH = 8 |
|
staticconstexpr |
◆ RISE_HIGH_AMBITION
| constexpr std::uint8_t TransferTuning::Negotiation::RISE_HIGH_AMBITION = 75 |
|
staticconstexpr |
◆ RISE_LOW
| constexpr std::uint8_t TransferTuning::Negotiation::RISE_LOW = 3 |
|
staticconstexpr |
◆ RISE_LOW_AMBITION
| constexpr std::uint8_t TransferTuning::Negotiation::RISE_LOW_AMBITION = 25 |
|
staticconstexpr |
◆ RISE_MAX_AGE
| constexpr int TransferTuning::Negotiation::RISE_MAX_AGE = 29 |
|
staticconstexpr |
Structure the agent asks for: a yearly rise for players up to RISE_MAX_AGE on multi-year deals (by ambition), appearance money as a share of the weekly wage (more for players unsure of a place) and a signing-on fee of some weeks of wage on a transfer. The structure is worth his flat ask: the base wage is lowered to match. [P]
◆ RISE_MEDIUM
| constexpr std::uint8_t TransferTuning::Negotiation::RISE_MEDIUM = 5 |
|
staticconstexpr |
◆ RISE_MEDIUM_AMBITION
| constexpr std::uint8_t TransferTuning::Negotiation::RISE_MEDIUM_AMBITION = 50 |
|
staticconstexpr |
◆ ROTATION_APPS_PER_WEEK
| constexpr float TransferTuning::Negotiation::ROTATION_APPS_PER_WEEK = 0.60f |
|
staticconstexpr |
◆ STATURE_AMBITION
| constexpr std::uint8_t TransferTuning::Negotiation::STATURE_AMBITION = 70 |
|
staticconstexpr |
◆ STATURE_REFUSAL_GAP
| constexpr int TransferTuning::Negotiation::STATURE_REFUSAL_GAP = 25 |
|
staticconstexpr |
Ambitious players refuse clubs this far below their level. [P]
◆ STATURE_WAGE_SLOPE
| constexpr float TransferTuning::Negotiation::STATURE_WAGE_SLOPE = 0.03f |
|
staticconstexpr |
Extra wage asked per reputation point the new club is below the current one, times ambition (0-1). [P]
◆ TRANSFER_SIGNING_WEEKS
| constexpr std::uint32_t TransferTuning::Negotiation::TRANSFER_SIGNING_WEEKS = 4 |
|
staticconstexpr |
◆ UNSETTLED_DISCOUNT
| constexpr float TransferTuning::Negotiation::UNSETTLED_DISCOUNT = 0.95f |
|
staticconstexpr |
Players unsettled by interest accept a little less. [P]
The documentation for this struct was generated from the following file: