Mercurial > repos > IBBoard.WarFoundry.API.Tests
comparison testdata/xml-race-factory/valid-categories.racex @ 72:d1d79adcb11d
Re #297: Move Categories over to key/keyref from ID/IDREF
* Add unit tests for races with category overrides
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 21 Jul 2010 20:28:28 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
71:a2095a3685fc | 72:d1d79adcb11d |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <race xmlns="http://ibboard.co.uk/warfoundry/race" xmlns:cats="http://ibboard.co.uk/warfoundry/cats" xmlns:core="http://ibboard.co.uk/warfoundry/core" id="Empire" name="Empire" system="default"> | |
3 <categories> | |
4 <cats:cat id="cat1" name="Characters" minPercentage="0" maxPercentage="50" /> | |
5 <cats:cat id="cat2" name="Regiments" minPercentage="25" maxPercentage="100" /> | |
6 <cats:cat id="cat3" name="War Machines" minPercentage="0" maxPercentage="25" /> | |
7 <cats:cat id="cat4" name="Monsters" minPercentage="0" maxPercentage="25" /> | |
8 <cats:cat id="cat5" name="Allies" minPercentage="0" maxPercentage="25" /> | |
9 </categories> | |
10 <units> | |
11 <unit id="Empire1" typeName="Empire General" cat="cat1" points="100" maxNum="1" maxSize="1"> | |
12 <stats> | |
13 <stat name="M">4</stat> | |
14 <stat name="WS">6</stat> | |
15 <stat name="BS">6</stat> | |
16 <stat name="S">4</stat> | |
17 <stat name="T">4</stat> | |
18 <stat name="W">3</stat> | |
19 <stat name="I">6</stat> | |
20 <stat name="A">4</stat> | |
21 <stat name="Ld">9</stat> | |
22 </stats> | |
23 </unit> | |
24 </units> | |
25 </race> |