Test cases for reading terrain, monster, and item definitions

- For monster attacks, 'd4' now means '1d4' instead of '0d4', and simple numbers without a 'd' are not accepted
- Pop string path after pushing it in the shop test cases
This commit is contained in:
2015-07-29 15:25:19 -04:00
parent e9381f194e
commit 7719d62773
56 changed files with 659 additions and 14 deletions

View File

@@ -0,0 +1,10 @@
<monsters boes="2.0.0">
<monster id='1'>
<attacks>
<attack type='swing'>1d4</attack>
<attack type='swing'>1d4</attack>
<attack type='swing'>1d4</attack>
<attack type='swing'>1d4</attack>
</attacks>
</monster>
</monsters>