summaryrefslogtreecommitdiff
path: root/testxml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-02-16 01:00:50 -0200
committerjesusalva <cpntb1@ymail.com>2018-02-16 01:00:50 -0200
commit96affb420eb0d635dfdeee371e368af0c26f00b9 (patch)
treef673ccb5cf0821d19f77b9cdb544ec7a4c898867 /testxml
parent7034cfdb9b70dfa6f8fca457606f2e63e409f4f4 (diff)
downloadtools-96affb420eb0d635dfdeee371e368af0c26f00b9.tar.gz
tools-96affb420eb0d635dfdeee371e368af0c26f00b9.tar.bz2
tools-96affb420eb0d635dfdeee371e368af0c26f00b9.tar.xz
tools-96affb420eb0d635dfdeee371e368af0c26f00b9.zip
Hercules update
Diffstat (limited to 'testxml')
-rw-r--r--testxml/xsd/tmw.xsd27
1 files changed, 27 insertions, 0 deletions
diff --git a/testxml/xsd/tmw.xsd b/testxml/xsd/tmw.xsd
index fd71007..5a7e23f 100644
--- a/testxml/xsd/tmw.xsd
+++ b/testxml/xsd/tmw.xsd
@@ -873,6 +873,7 @@
itemsPatchFile: items_patch.xml
itemsPatchDir: items.d/*.xml
-->
+ <!-- not all item fields added -->
<xs:element name="items" type="root_items"/>
<xs:complexType name="root_items">
<xs:sequence>
@@ -1529,6 +1530,8 @@
<xs:element ref="include"/>
<xs:element name="guild" type="badges_list" />
<xs:element name="party" type="badges_list" />
+ <xs:element name="name" type="badges_list" />
+ <xs:element name="clan" type="badges_list" />
</xs:choice>
</xs:sequence>
</xs:complexType>
@@ -1933,6 +1936,30 @@
</xs:sequence>
</xs:complexType>
+ <!-- not all item fields added -->
+ <xs:element name="clans" type="root_clans"/>
+ <xs:complexType name="root_clans">
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="include"/>
+ <xs:element name="clan">
+ <xs:complexType>
+ <xs:attribute name="id" type="xs:int" use="required"/>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="maxhp" type="xs:string" use="optional"/>
+ <xs:attribute name="maxmp" type="xs:string" use="optional"/>
+ <xs:attribute name="str" type="xs:string" use="optional"/>
+ <xs:attribute name="agi" type="xs:string" use="optional"/>
+ <xs:attribute name="vit" type="xs:string" use="optional"/>
+ <xs:attribute name="int" type="xs:string" use="optional"/>
+ <xs:attribute name="dex" type="xs:string" use="optional"/>
+ <xs:attribute name="luck" type="xs:string" use="optional"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+
<!--
ModDB::loadXmlFile
modsFile: mods.xml