From c1647699cad5374b977e09c5e15e430d53e96430 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Fri, 3 Dec 2021 06:08:24 +0200 Subject: [PATCH 41/41] Update maybe_become_veteran_real() function header See osdn #43008 Signed-off-by: Marko Lindqvist --- server/unittools.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/server/unittools.c b/server/unittools.c index 0dba6b00f2..a0bc846e2a 100644 --- a/server/unittools.c +++ b/server/unittools.c @@ -215,12 +215,14 @@ bool maybe_make_veteran(struct unit *punit, int base_chance) } /**********************************************************************//** - After a battle, after diplomatic aggression and after surviving trireme - loss chance, this routine is called to decide whether or not the unit - should become more experienced. - - There is a specified chance for it to happen, (+50% if player got SUNTZU) - the chances are specified in the units.ruleset file. + After a battle and after diplomatic aggression this routine is called + to decide whether or not the unit should become more experienced. + + There is a specified chance for it to happen. The base chances are + specified in the units.ruleset file. Before the chance is passed to + this function, it might get modified by the factor related to how + challenging the battle was. This function applies modifiers + from effects. If 'settler' is TRUE the veteran level is increased due to work done by the unit. -- 2.33.0