summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-03-02 05:48:13 +0300
committerAndrei Karas <akaras@inbox.ru>2018-03-03 01:13:59 +0300
commitf18d40351434f7baff2ddf1d34933c19cada5dba (patch)
tree7461cb0d74fe9049b9393e4def7a343ca55a17b0 /data
parentd7f491da52e985ea50464804d342d9d45ae407f7 (diff)
downloadplus-f18d40351434f7baff2ddf1d34933c19cada5dba.tar.gz
plus-f18d40351434f7baff2ddf1d34933c19cada5dba.tar.bz2
plus-f18d40351434f7baff2ddf1d34933c19cada5dba.tar.xz
plus-f18d40351434f7baff2ddf1d34933c19cada5dba.zip
Add support for item stat ranges.
Example: ... hp="10-15" mp="1-2" ...
Diffstat (limited to 'data')
-rw-r--r--data/test/itemxmlutils_test.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/data/test/itemxmlutils_test.xml b/data/test/itemxmlutils_test.xml
index f0c3c5c96..dcd829c13 100644
--- a/data/test/itemxmlutils_test.xml
+++ b/data/test/itemxmlutils_test.xml
@@ -24,4 +24,22 @@ Copyright (C) 2018 ManaPlus developers -->
other="3"
str="1"
/>
+ <test4
+ hp="10-15"
+ other="3"
+ />
+ <test5
+ hp1="10"
+ weight="2"
+ other="3"
+ />
+ <test6
+ weight="2-3"
+ />
+ <test7
+ weight="2-"
+ />
+ <test8
+ weight="-2"
+ />
</root>