Mercurial > repos > IBBoard.WarFoundry.API.Tests
comparison testdata/xml-race-factory/simple-requirement.racex @ 147:1de37b5c8107
Re #346: Add core schema support for requirements
* Test schema support for requirements (currently fails)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 28 May 2011 16:04:27 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
146:8c519a44e699 | 147:1de37b5c8107 |
---|---|
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"> | |
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 <requirements> | |
24 <requirement requirementName="RequiresAtLeastNUnits"> | |
25 <data>Empire2</data> | |
26 </requirement> | |
27 </requirements> | |
28 </unit> | |
29 <unit id="Empire2" typeName="Minion" cat="cat1" points="0"> | |
30 <stats> | |
31 <stat name="M">4</stat> | |
32 <stat name="WS">2</stat> | |
33 <stat name="BS">2</stat> | |
34 <stat name="S">2</stat> | |
35 <stat name="T">2</stat> | |
36 <stat name="W">1</stat> | |
37 <stat name="I">2</stat> | |
38 <stat name="A">1</stat> | |
39 <stat name="Ld">5</stat> | |
40 </stats> | |
41 </unit> | |
42 </units> | |
43 </race> |