More read/write test cases for monsters, especially monster abilities

Fixes:
- For radiate abilities, the pattern was not saved and defaulted to single instead of square on load
- For summon abilities, what to summon was not saved and chance was incorrectly saved
This commit is contained in:
2015-09-27 00:58:10 -04:00
parent ab232bb31a
commit 18bb16df9c
46 changed files with 1511 additions and 17 deletions

View File

@@ -0,0 +1,27 @@
<monsters boes="2.0.0">
<monster id='1'>
<name>Test Monster</name>
<level>1</level>
<armor>0</armor>
<skill>2</skill>
<hp>10</hp>
<speed>4</speed>
<race>humanoid</race>
<attacks/>
<pic h='1' w='1'>5</pic>
<attitude>hostile-a</attitude>
<immunity>
<all>true</all>
<fear>true</fear>
<fire>10</fire>
<cold>20</cold>
<magic>30</magic>
<poison>40</poison>
<undead>50</undead>
<demon>60</demon>
<weird>70</weird>
<weap>80</weap>
<spec>90</spec>
</immunity>
</monster>
</monsters>