diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-15 20:33:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-15 20:33:51 +0300 |
commit | 3e02f5489c3821f803e6c53836577e10df2d6c50 (patch) | |
tree | 3e836adc1412ef83850df79c2a36b75c57c82b3e | |
parent | 6312a0632d5c03364e4c4a36258f1492f4bcdd3d (diff) | |
download | tools-3e02f5489c3821f803e6c53836577e10df2d6c50.tar.gz tools-3e02f5489c3821f803e6c53836577e10df2d6c50.tar.bz2 tools-3e02f5489c3821f803e6c53836577e10df2d6c50.tar.xz tools-3e02f5489c3821f803e6c53836577e10df2d6c50.zip |
testxml: add into xsd new skill attributes (type, x, y)
-rw-r--r-- | testxml/xsd/tmw.xsd | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testxml/xsd/tmw.xsd b/testxml/xsd/tmw.xsd index 8f7dd44..0df218e 100644 --- a/testxml/xsd/tmw.xsd +++ b/testxml/xsd/tmw.xsd @@ -430,6 +430,13 @@ skillsPatchFile: skills_patch.xml skillsPatchDir: skills.d/*.xml --> + <xs:simpleType name="skillType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="list"/> + <xs:enumeration value="vertical"/> + <xs:enumeration value="rectangle"/> + </xs:restriction> + </xs:simpleType> <xs:element name="skills" type="root_skills"/> <xs:complexType name="root_skills"> <xs:sequence> @@ -474,10 +481,13 @@ <xs:attribute name="missEffectId" type="xs:int" use="optional"/> <xs:attribute name="srcEffectId" type="xs:string" use="optional"/> <xs:attribute name="dstEffectId" type="xs:string" use="optional"/> + <xs:attribute name="x" type="xs:int" use="optional"/> + <xs:attribute name="y" type="xs:int" use="optional"/> </xs:complexType> </xs:element> </xs:choice> <xs:attribute name="name" type="xs:string" use="required"/> + <xs:attribute name="type" type="skillType" default="vertical"/> </xs:complexType> </xs:element> </xs:choice> |