Mercurial > repos > IBBoard.WarFoundry.API.Tests
comparison testdata/single-unit-multi-type-referencing-race-with-override.racex @ 44:0de5d86bc1cb
Re #268: Restructure stats for re-use
* Add tests for multiple stat lines/referenced types and for overriding the stats
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 26 Apr 2010 19:50:47 +0000 |
parents | |
children | b4b4bde843d7 |
comparison
equal
deleted
inserted
replaced
43:00abd1c2f7d6 | 44:0de5d86bc1cb |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <race xmlns="http://ibboard.co.uk/warfoundry/race" xmlns:core="http://ibboard.co.uk/warfoundry/core" id="EmpireAlt" name="Empire (Extended)" system="default" lang="en"> | |
3 <units> | |
4 <unit id="Empire1" typeName="Empire General" cat="cat1" points="100" maxNum="1" maxSize="1"> | |
5 <stats> | |
6 <stat name="M">4</stat> | |
7 <stat name="WS">6</stat> | |
8 <stat name="BS">6</stat> | |
9 <stat name="S">4</stat> | |
10 <stat name="T">4</stat> | |
11 <stat name="W">3</stat> | |
12 <stat name="I">6</stat> | |
13 <stat name="A">4</stat> | |
14 <stat name="Ld">9</stat> | |
15 </stats> | |
16 <unitMembers> | |
17 <unitMember typeID="General"/> | |
18 <unitMember typeID="Warhorse"/> | |
19 </unitMembers> | |
20 </unit> | |
21 </units> | |
22 <memberTypes> | |
23 <memberType id="General" name="General"> | |
24 <stats> | |
25 <stat name="M">4</stat> | |
26 <stat name="WS">6</stat> | |
27 <stat name="BS">6</stat> | |
28 <stat name="S">4</stat> | |
29 <stat name="T">4</stat> | |
30 <stat name="W">3</stat> | |
31 <stat name="I">6</stat> | |
32 <stat name="A">4</stat> | |
33 <stat name="Ld">9</stat> | |
34 </stats> | |
35 </memberType> | |
36 <memberType id="Warhorse" name="Warhorse"> | |
37 <stats> | |
38 <stat name="M">8</stat> | |
39 <stat name="WS">3</stat> | |
40 <stat name="BS">0</stat> | |
41 <stat name="S">3</stat> | |
42 <stat name="T">3</stat> | |
43 <stat name="W">1</stat> | |
44 <stat name="I">2</stat> | |
45 <stat name="A">1</stat> | |
46 <stat name="Ld">4</stat> | |
47 </stats> | |
48 </memberType> | |
49 </memberTypes> | |
50 </race> |