I am trying to implement this.
Sipahi has 0 buildlimit set at proto.
Each mill will add 25 buildlimit for Sipahis.
Here is the code I use and add it into age0ottoman.
Code: Select all
<Tech name ='Sipahifarm1' type ='Normal'> <DBID>9524</DBID> <ResearchPoints>0.0000</ResearchPoints> <Status>UNOBTAINABLE</Status> <Prereqs> <typecount unit="Mill" count="1.00" state="noneState aliveState buildingState " operator="gt"/> </Prereqs> <Effects> <Effect type ='Data' amount ='25.00' subtype ='BuildLimit' relativity ='Absolute'> <Target type ='ProtoUnit'>Spahi</Target></Effect> </Effects> </Tech>