Mercurial > repos > IBDev-IBBoard.WarFoundry.API.Tests
view testdata/limits/composite-min-limit.xml @ 120:d186d46f0bae
Re #27: Unit requirements
* Quick first draft of unit tests for "unit requires no more than X"
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 06 Apr 2011 20:05:04 +0000 |
parents | c6e5b8a1948d |
children |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <race xmlns="http://ibboard.co.uk/warfoundry/race" xmlns:core="http://ibboard.co.uk/warfoundry/core" id="EmpireAlt" name="Empire (Extended)" system="default"> <units> <unit id="Empire1" typeName="Empire General" cat="cat1" points="100" maxNum="1" maxSize="1"> <equipmentSlots> <equipmentSlot name="slot"> <maxLimit> <core:compositeMinLimit> <core:sizeConstrainedLimit limit="10"/> <core:absoluteLimit limit="5"/> </core:compositeMinLimit> </maxLimit> </equipmentSlot> </equipmentSlots> </unit> </units> </race>