Mercurial > repos > IBBoard.WarFoundry.API.Tests
view testdata/race-with-non-existant-ability.racex @ 51:9d68b5dd70b3
Re #270: Add multiple categories to API
* Add test for unit being in multiple categories
Also:
* Add assertions in other tests that unit is cached in army
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 19 May 2010 19:22:20 +0000 |
parents | 82cd08385bfe |
children | c642d217036e |
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="Empire" name="Empire" system="nonexistant"> <units> <unit id="Empire1" typeName="Empire General" cat="cat1" points="100" maxNum="1" maxSize="1"> <stats> <stat name="M">4</stat> <stat name="WS">6</stat> <stat name="BS">6</stat> <stat name="S">4</stat> <stat name="T">4</stat> <stat name="W">3</stat> <stat name="I">6</stat> <stat name="A">4</stat> <stat name="Ld">9</stat> </stats> <unitAbilities> <unitAbility abilityID="leaderOfMen"/> </unitAbilities> </unit> </units> <equipment> <equipmentItem id="equip1" name="sword" cost="1"/> <equipmentItem id="equip2" name="shield" cost="1"/> <equipmentItem id="equip3" name="broadsword" cost="2" /> <equipmentItem id="equip4" name="Standard Guns" cost="3" /> <equipmentItem id="equip5" name="Special Guns" cost="5" /> <equipmentItem id="equip6" name="Long Gun" cost="4" /> <equipmentItem id="equip7" name="Big Gun" cost="8" /> <equipmentItem id="equip8" name="Quick Gun" cost="6" /> </equipment> </race>