view testdata/limits/composite-max-limit.xml @ 132:8f1af48e120c

Re #27: Unit requirements * Add unit test for unit requirements in opposite order * Add unit test to make sure that requirement doesn't lock to first result, even after changes Also: * Clean up line endings to meet policy
author IBBoard <dev@ibboard.co.uk>
date Sun, 17 Apr 2011 19:34:48 +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:compositeMaxLimit>
							<core:sizeConstrainedLimit limit="10"/>
							<core:absoluteLimit limit="5"/>
						</core:compositeMaxLimit>
					</maxLimit>
				</equipmentSlot>
			</equipmentSlots>
		</unit>
	</units>
</race>