I was able to tie the listed bonuses to the experience value of the squad. Of course, this does not fully reflect the original idea of the developers + there is no protection from arrows, but I did not find other more effective ways to fix this. (I'm not a programmer

). The following logic was used, the maximum possible bonus was divided into 12 parts (since there are 12 experience levels) and a small part was added at each level. Thus, units of level 12 will have bonuses:
Armor 4
Damage 4
Morale 4
You will be able to evaluate the effectiveness of these guys in practice.
The file must be placed in the Spartan/data folder. (keep the original file if the bonuses seem too cheating to you)
link -
https://drive.google.com/file/d/1LlISdW ... wWi8g/edit
If someone from the community can still tie bonuses to the corresponding buildings as the developer planned, that would be just great.
Sorry for my eng