[PATCH] Promotion by Technology
|Reported by:||fatherbushido||Owned by:|
Description (last modified by )
Promotion component have a RequiredXP element. That one is a non negative integer. Currently we can use a tech to replace it by 0.
The effect of setting RequiredXP to 0 is :
- promote the current units (see Promotion) (with entity mod)
- construct the (more) promoted unit instead of the original unit (ref r14388) (with template mod)
That is used to promote a unit with a tech (see for example mace_champion_infantry_a to mace_champion_infantry_e).
But that is not fully flexible : for example one can perhaps want :
- that unit never promote with xp (see old ugly workaround with a 99999 requiredXP
- allow a promotion only when a given tech is researched
Change History (11)
comment:3 by , 4 years ago
|Summary:||Promotion by Technology → [PATCH] Promotion by Technology|