Economy, weekly processing and side ratings follow Diamond 3.7

Credit limit 8 million, fee base 10000 per 10000 of value, DFB fee 150 %,
championship bonus 700000, club-popularity premiums 400000/850000/1000000/850000,
periphery prices, advertising base 0x87, start capital step 3 million, the
broke limit -4 million, the training-injury chance, retirement after an injury
of more than 20 matchdays (1 in 40), the contract-talk limit and the side
rhythm (human: no balance term, computers: at least 48). Values read from the
3.7 programme; the earlier build the engine was derived from used other numbers.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Sonnet 5.5 committed 2026-11-06 14:21:10 +01:00
1 parent f63c0217ef
commit 96d52202fc
6 files changed
+33 -27

No files matched your search

+5 -4
View File
@@ -136,12 +136,13 @@ void rate_side(GameState& g, const MatchSetup& m, int side, int previous6, Watco
// (the original lets two cheat codes, CareerSession_FormatError_RuntimeField9, set a human side's six ratings to
// fixed values; not ported)
if (manager < 0) {
int rhythm = r[6] >> 1; // computer teams: half the balance, at least 50
r[7] = uint8_t(rhythm < 50 ? 50 : rhythm);
int rhythm = r[6] >> 1; // computer teams: half the balance, at least 48
r[7] = uint8_t(rhythm < 48 ? 48 : rhythm); // Diamond 3.7: at least 48 (50 before)
} else {
// human teams: record +0xd9 (signed) * 5 plus the balance, scaled to 0-100
// human teams: record +0xd9 (signed) * 5 plus a constant 110, scaled to 0-100. Diamond 3.7: the
// condition/technique balance r[6] no longer enters (before: d9 * 5 + r[6]).
const int8_t d9 = int8_t(g.manager_records.at(size_t(manager) * 0xB0C + 0xd9));
r[7] = uint8_t((d9 * 5 + r[6]) * 100 / 0xFF);
r[7] = uint8_t((d9 * 5 + 110) * 100 / 0xFF);
}
}