I just came across WarFoundry today and I was really interested in setting up some data files (for my own testings and for some popular games).
I have some problem with the setup of a race, I would like the Warriors to pickup a certain equip up to 2 times AND a specific type of equip up to 1 time (but there are 2 items in this "FGs" type of equip).
Here is the code:
- Code: Select all
<unit id="asdasd2" typeName="Warriors" cat="cat1" points="140" maxNum="1" maxSize="1">
<stats>
<stat name="Type">Inf (10)</stat>
<stat name="Spd">4</stat>
<stat name="Hit">4+</stat>
<stat name="Fire">16</stat>
<stat name="Ran">24</stat>
<stat name="Att">10</stat>
<stat name="Def">5+</stat>
<stat name="Ner">5</stat>
</stats>
<equipmentSlots>
<equipmentSlot name="FGs">
<maxLimit>
<core:sizeConstrainedLimit limit="1" />
</maxLimit>
</equipmentSlot>
</equipmentSlots>
<unitEquipment>
<unitEquipmentItem id="equip1" required="false" >
<minLimit>
<core:sizeConstrainedLimit limit="0" />
</minLimit>
<maxLimit>
<core:sizeConstrainedLimit limit="2" />
</maxLimit>
</unitEquipmentItem>
<unitEquipmentItem id="equip2" equipmentSlot="FGs">
<minLimit>
<core:sizeConstrainedLimit limit="0" />
</minLimit>
<maxLimit>
<core:sizeConstrainedLimit limit="1" />
</maxLimit>
</unitEquipmentItem>
<unitEquipmentItem id="equip3" equipmentSlot="FGs">
<minLimit>
<core:sizeConstrainedLimit limit="0" />
</minLimit>
<maxLimit>
<core:sizeConstrainedLimit limit="1" />
</maxLimit>
</unitEquipmentItem>
</unitEquipment>
</unit>
What am I missing? Why I can equip only 1 item of "equip1"?