Some schema updates

- Store timers as a type instead of an element in the common schema
- Fix errors in terrain and monster schemas
This commit is contained in:
2015-10-06 18:11:05 -04:00
parent d19880a463
commit 68eec0fe16
5 changed files with 18 additions and 16 deletions

View File

@@ -193,7 +193,7 @@
</xs:element>
<xs:element name="summon">
<xs:complexType>
<xs:all>
<xs:sequence>
<xs:choice minOccurs="1" maxOccurs="1">
<xs:element name="type" type="xs:integer"/>
<xs:element name="lvl" type="xs:integer"/>
@@ -203,7 +203,7 @@
<xs:element name="max" type="xs:integer"/>
<xs:element name="duration" type="xs:integer"/>
<xs:element name="chance" type="permille"/>
</xs:all>
</xs:sequence>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">