I have created a race that converts SURVIVING units, not CASUALTIES, and I am wondering whether this can be easily coded, because I have only seen conversions as involving casualties:
viewtopic.php?f=18&t=14835Here are the specifics:
"-6% of surviving Keshiks on successful "normal" attacks are automatically re-trained and
"promoted" to Cataphract.
-3% of surviving Cataphracts on successful "normal" attacks
against you are automatically re-trained and
"demoted" to Keshik. (Note that this demotion also applies only to those Cataphracts who were home defending.)"
And here's the part in the race description that explains it:
"The Ungol society is a military aristocracy, divided into the nobles who form the Cataphract heavy cavalrymen and the commoners who constitute the Keshik horse archers. This hierarchy, however, is not frozen as those of the soft, civilized human societies tend to be; the Ungols know by harsh necessity that the ultimate test of merit must be found on the battlefield. As a result, those who prove their worth in battle are frequently promoted to the nobility, whereas those who disgrace themselves are reduced to commoner status."