Parcourir la source

BETA: Standardizing few XSD files.

MELERIX il y a 13 ans
Parent
commit
dc04177d32

+ 2 - 1
L2J_DataPack_BETA/dist/game/data/xsd/armorSets.xsd

@@ -47,7 +47,8 @@
 									<xs:attribute name="id" type="xs:positiveInteger" use="required" />
 									<xs:attribute name="level" type="xs:positiveInteger" use="required" />
 								</xs:complexType>
-							</xs:element>
							<xs:element name="enchant6skill" maxOccurs="1" minOccurs="0">
+							</xs:element>
+							<xs:element name="enchant6skill" maxOccurs="1" minOccurs="0">
 								<xs:complexType>
 									<xs:attribute name="id" type="xs:positiveInteger" use="required" />
 									<xs:attribute name="level" type="xs:positiveInteger" use="required" />

+ 37 - 37
L2J_DataPack_BETA/dist/game/data/xsd/experience.xsd

@@ -1,38 +1,38 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<schema xmlns="http://www.w3.org/2001/XMLSchema">
-	<element name="table">
-		<complexType>
-			<sequence minOccurs="1" maxOccurs="1">
-				<element name="experience" minOccurs="1" maxOccurs="87">
-					<complexType>
-						<attribute name="level" use="required">
-							<simpleType>
-								<restriction base="positiveInteger">
-									<minInclusive value="1" />
-									<maxInclusive value="87" />
-								</restriction>
-							</simpleType>
-						</attribute>
-						<attribute name="tolevel" type="nonNegativeInteger" use="required" />
-					</complexType>
-				</element>
-			</sequence>
-			<attribute name="maxLevel" use="required">
-				<simpleType>
-					<restriction base="positiveInteger">
-						<minInclusive value="1" />
-						<maxInclusive value="85" />
-					</restriction>
-				</simpleType>
-			</attribute>
-			<attribute name="maxPetLevel" use="required">
-				<simpleType>
-					<restriction base="positiveInteger">
-						<minInclusive value="1" />
-						<maxInclusive value="86" />
-					</restriction>
-				</simpleType>
-			</attribute>
-		</complexType>
-	</element>
-</schema>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+	<xs:element name="table">
+		<xs:complexType>
+			<xs:sequence minOccurs="1" maxOccurs="1">
+				<xs:element name="experience" minOccurs="1" maxOccurs="87">
+					<xs:complexType>
+						<xs:attribute name="level" use="required">
+							<xs:simpleType>
+								<xs:restriction base="xs:positiveInteger">
+									<xs:minInclusive value="1" />
+									<xs:maxInclusive value="87" />
+								</xs:restriction>
+							</xs:simpleType>
+						</xs:attribute>
+						<xs:attribute name="tolevel" type="xs:nonNegativeInteger" use="required" />
+					</xs:complexType>
+				</xs:element>
+			</xs:sequence>
+			<xs:attribute name="maxLevel" use="required">
+				<xs:simpleType>
+					<xs:restriction base="xs:positiveInteger">
+						<xs:minInclusive value="1" />
+						<xs:maxInclusive value="85" />
+					</xs:restriction>
+				</xs:simpleType>
+			</xs:attribute>
+			<xs:attribute name="maxPetLevel" use="required">
+				<xs:simpleType>
+					<xs:restriction base="xs:positiveInteger">
+						<xs:minInclusive value="1" />
+						<xs:maxInclusive value="86" />
+					</xs:restriction>
+				</xs:simpleType>
+			</xs:attribute>
+		</xs:complexType>
+	</xs:element>
+</xs:schema>

+ 38 - 38
L2J_DataPack_BETA/dist/game/data/xsd/hellboundTrustPoints.xsd

@@ -1,39 +1,39 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<schema xmlns="http://www.w3.org/2001/XMLSchema">
-	<element name="list">
-		<complexType>
-			<sequence minOccurs="1" maxOccurs="1">
-				<element name="npc" minOccurs="1" maxOccurs="unbounded">
-					<complexType>
-						<attribute name="id" use="required">
-							<simpleType>
-								<restriction base="positiveInteger">
-									<minInclusive value="1" />
-									<maxInclusive value="65535" />
-								</restriction>
-							</simpleType>
-						</attribute>
-						<attribute name="lowestTrustLimit" type="positiveInteger" />
-						<attribute name="maxHellboundLvl" use="required">
-							<simpleType>
-								<restriction base="positiveInteger">
-									<minInclusive value="1" />
-									<maxInclusive value="100" />
-								</restriction>
-							</simpleType>
-						</attribute>
-						<attribute name="minHellboundLvl" use="required">
-							<simpleType>
-								<restriction base="positiveInteger">
-									<minInclusive value="1" />
-									<maxInclusive value="11" />
-								</restriction>
-							</simpleType>
-						</attribute>
-						<attribute name="points" type="integer" use="required" />
-					</complexType>
-				</element>
-			</sequence>
-		</complexType>
-	</element>
-</schema>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+	<xs:element name="list">
+		<xs:complexType>
+			<xs:sequence minOccurs="1" maxOccurs="1">
+				<xs:element name="npc" minOccurs="1" maxOccurs="unbounded">
+					<xs:complexType>
+						<xs:attribute name="id" use="required">
+							<xs:simpleType>
+								<xs:restriction base="xs:positiveInteger">
+									<xs:minInclusive value="1" />
+									<xs:maxInclusive value="65535" />
+								</xs:restriction>
+							</xs:simpleType>
+						</xs:attribute>
+						<xs:attribute name="lowestTrustLimit" type="xs:positiveInteger" />
+						<xs:attribute name="maxHellboundLvl" use="required">
+							<xs:simpleType>
+								<xs:restriction base="xs:positiveInteger">
+									<xs:minInclusive value="1" />
+									<xs:maxInclusive value="100" />
+								</xs:restriction>
+							</xs:simpleType>
+						</xs:attribute>
+						<xs:attribute name="minHellboundLvl" use="required">
+							<xs:simpleType>
+								<xs:restriction base="xs:positiveInteger">
+									<xs:minInclusive value="1" />
+									<xs:maxInclusive value="11" />
+								</xs:restriction>
+							</xs:simpleType>
+						</xs:attribute>
+						<xs:attribute name="points" type="xs:integer" use="required" />
+					</xs:complexType>
+				</xs:element>
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+</xs:schema>

+ 323 - 323
L2J_DataPack_BETA/dist/game/data/xsd/items.xsd

@@ -1,324 +1,324 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<schema xmlns="http://www.w3.org/2001/XMLSchema">
-	<element name="list">
-		<complexType>
-			<sequence maxOccurs="1" minOccurs="1">
-				<element name="item" maxOccurs="100" minOccurs="1">
-					<complexType>
-						<sequence maxOccurs="1" minOccurs="1">
-							<element name="set" maxOccurs="unbounded" minOccurs="1">
-								<complexType>
-									<attribute name="name" use="required">
-										<simpleType>
-											<restriction base="token">
-												<enumeration value="armor_type" />
-												<enumeration value="attack_range" />
-												<enumeration value="auto_destroy_time" />
-												<enumeration value="blessed" />
-												<enumeration value="bodypart" />
-												<enumeration value="capsuled_items" />
-												<enumeration value="change_weaponId" />
-												<enumeration value="crystal_count" />
-												<enumeration value="crystal_type" />
-												<enumeration value="damage_range" />
-												<enumeration value="default_action" />
-												<enumeration value="duration" />
-												<enumeration value="element_enabled" />
-												<enumeration value="enchant_enabled" />
-												<enumeration value="enchant4_skill" />
-												<enumeration value="enchanted" />
-												<enumeration value="equip_condition" />
-												<enumeration value="equip_reuse_delay" />
-												<enumeration value="ex_immediate_effect" />
-												<enumeration value="etcitem_type" />
-												<enumeration value="for_npc" />
-												<enumeration value="handler" />
-												<enumeration value="icon" />
-												<enumeration value="immediate_effect" />
-												<enumeration value="is_depositable" />
-												<enumeration value="is_destroyable" />
-												<enumeration value="is_dropable" />
-												<enumeration value="is_freightable" />
-												<enumeration value="is_magic_weapon" />
-												<enumeration value="is_oly_restricted" />
-												<enumeration value="is_premium" />
-												<enumeration value="is_questitem" />
-												<enumeration value="is_sellable" />
-												<enumeration value="is_stackable" />
-												<enumeration value="is_tradable" />
-												<enumeration value="isAttackWeapon" />
-												<enumeration value="isForceEquip" />
-												<enumeration value="item_skill" />
-												<enumeration value="material" />
-												<enumeration value="mp_consume" />
-												<enumeration value="oncast_chance" />
-												<enumeration value="oncast_skill" />
-												<enumeration value="oncrit_chance" />
-												<enumeration value="oncrit_skill" />
-												<enumeration value="price" />
-												<enumeration value="random_damage" />
-												<enumeration value="recipe_id" />
-												<enumeration value="reduced_mp_consume" />
-												<enumeration value="reduced_soulshot" />
-												<enumeration value="reuse_delay" />
-												<enumeration value="shared_reuse_group" />
-												<enumeration value="soulshots" />
-												<enumeration value="spiritshots" />
-												<enumeration value="time" />
-												<enumeration value="unequip_skill" />
-												<enumeration value="use_condition" />
-												<enumeration value="useSkillDisTime" />
-												<enumeration value="useWeaponSkillsOnly" />
-												<enumeration value="weapon_type" />
-												<enumeration value="weight" />
-											</restriction>
-										</simpleType>
-									</attribute>
-									<attribute name="val" type="token" use="required" />
-								</complexType>
-							</element>
-							<element name="cond" maxOccurs="2" minOccurs="0">
-								<complexType>
-									<choice maxOccurs="1" minOccurs="1">
-										<element name="and" maxOccurs="1" minOccurs="0">
-											<complexType>
-												<choice maxOccurs="1" minOccurs="1">
-													<element name="player" maxOccurs="unbounded" minOccurs="1">
-														<complexType>
-															<attribute name="castle">
-																<simpleType>
-																	<restriction base="integer">
-																		<minInclusive value="-1" />
-																		<maxInclusive value="9" />
-																	</restriction>
-																</simpleType>
-															</attribute>
-															<attribute name="clanHall" type="normalizedString" />
-															<attribute name="class_id_restriction" type="normalizedString" />
-															<attribute name="cloakStatus">
-																<simpleType>
-																	<restriction base="nonNegativeInteger">
-																		<minInclusive value="0" />
-																		<maxInclusive value="1" />
-																	</restriction>
-																</simpleType>
-															</attribute>
-															<attribute name="isHero" type="boolean" />
-															<attribute name="level">
-																<simpleType>
-																	<restriction base="positiveInteger">
-																		<minInclusive value="1" />
-																		<maxInclusive value="85" />
-																	</restriction>
-																</simpleType>
-															</attribute>
-															<attribute name="pledgeClass">
-																<simpleType>
-																	<restriction base="integer">
-																		<minInclusive value="-1" />
-																		<maxInclusive value="11" />
-																	</restriction>
-																</simpleType>
-															</attribute>
-															<attribute name="races" type="token" />
-															<attribute name="subclass" type="boolean" />
-														</complexType>
-													</element>
-												</choice>
-											</complexType>
-										</element>
-										<element name="player" maxOccurs="unbounded" minOccurs="1">
-											<complexType>
-												<attribute name="castle">
-													<simpleType>
-														<restriction base="positiveInteger">
-															<minInclusive value="1" />
-															<maxInclusive value="9" />
-														</restriction>
-													</simpleType>
-												</attribute>
-												<attribute name="chaotic" type="boolean" />
-												<attribute name="clanHall" type="normalizedString" />
-												<attribute name="class_id_restriction" type="normalizedString" />
-												<attribute name="cloakStatus">
-													<simpleType>
-														<restriction base="nonNegativeInteger">
-															<minInclusive value="0" />
-															<maxInclusive value="1" />
-														</restriction>
-													</simpleType>
-												</attribute>
-												<attribute name="flyMounted" type="boolean" />
-												<attribute name="fort" type="integer" fixed="-1" />
-												<attribute name="insideZoneId" type="normalizedString" />
-												<attribute name="instanceId" type="normalizedString" />
-												<attribute name="isHero" type="boolean" />
-												<attribute name="level">
-													<simpleType>
-														<restriction base="positiveInteger">
-															<minInclusive value="1" />
-															<maxInclusive value="85" />
-														</restriction>
-													</simpleType>
-												</attribute>
-												<attribute name="levelRange" type="token" />
-												<attribute name="pkCount" type="nonNegativeInteger" fixed="0" />
-												<attribute name="pledgeClass">
-													<simpleType>
-														<restriction base="integer">
-															<minInclusive value="-1" />
-															<maxInclusive value="11" />
-														</restriction>
-													</simpleType>
-												</attribute>
-												<attribute name="races" type="token" />
-												<attribute name="sex">
-													<simpleType>
-														<restriction base="nonNegativeInteger">
-															<minInclusive value="0" />
-															<maxInclusive value="1" />
-														</restriction>
-													</simpleType>
-												</attribute>
-												<attribute name="SiegeZone" type="positiveInteger" fixed="126" />
-												<attribute name="vehicleMounted" type="boolean" />
-											</complexType>
-										</element>
-									</choice>
-									<attribute name="msgId" type="positiveInteger" />
-									<attribute name="addName" type="integer" fixed="1" />
-								</complexType>
-							</element>
-							<element name="for" maxOccurs="1" minOccurs="0">
-								<complexType>
-									<choice maxOccurs="unbounded" minOccurs="1">
-										<element name="add" maxOccurs="unbounded" minOccurs="0">
-											<complexType>
-												<attribute name="order" use="required">
-													<simpleType>
-														<restriction base="token">
-															<enumeration value="0x10" />
-															<enumeration value="0x40" />
-														</restriction>
-													</simpleType>
-												</attribute>
-												<attribute name="stat" use="required">
-													<simpleType>
-														<restriction base="token">
-															<enumeration value="accCombat" />
-															<enumeration value="darkRes" />
-															<enumeration value="earthRes" />
-															<enumeration value="fireRes" />
-															<enumeration value="holyPower" />
-															<enumeration value="holyRes" />
-															<enumeration value="mAtk" />
-															<enumeration value="maxMp" />
-															<enumeration value="mDef" />
-															<enumeration value="pAtk" />
-															<enumeration value="pDef" />
-															<enumeration value="waterRes" />
-															<enumeration value="windRes" />
-														</restriction>
-													</simpleType>
-												</attribute>
-												<attribute name="val" type="decimal" use="required" />
-											</complexType>
-										</element>
-										<element name="enchant" maxOccurs="2" minOccurs="0">
-											<complexType>
-												<attribute name="order" type="token" use="required" fixed="0x0C" />
-												<attribute name="stat" use="required">
-													<simpleType>
-														<restriction base="token">
-															<enumeration value="mAtk" />
-															<enumeration value="mDef" />
-															<enumeration value="pAtk" />
-															<enumeration value="pDef" />
-															<enumeration value="sDef" />
-														</restriction>
-													</simpleType>
-												</attribute>
-												<attribute name="val" type="integer" fixed="0" use="required" />
-											</complexType>
-										</element>
-										<element name="mul" maxOccurs="unbounded" minOccurs="0">
-											<complexType>
-												<attribute name="order">
-													<simpleType>
-														<restriction base="token">
-															<enumeration value="0x08" />
-															<enumeration value="0x30" />
-														</restriction>
-													</simpleType>
-												</attribute>
-												<attribute name="stat">
-													<simpleType>
-														<restriction base="token">
-															<enumeration value="magicSuccRes" />
-														</restriction>
-													</simpleType>
-												</attribute>
-												<attribute name="val" type="decimal" />
-											</complexType>
-										</element>
-										<element name="set" maxOccurs="unbounded" minOccurs="0">
-											<complexType>
-												<attribute name="order" type="token" fixed="0x08" use="required" />
-												<attribute name="stat" use="required">
-													<simpleType>
-														<restriction base="token">
-															<enumeration value="mAtk" />
-															<enumeration value="pAtk" />
-															<enumeration value="pAtkAngle" />
-															<enumeration value="pAtkRange" />
-															<enumeration value="pAtkSpd" />
-															<enumeration value="rCrit" />
-															<enumeration value="rShld" />
-															<enumeration value="sDef" />
-														</restriction>
-													</simpleType>
-												</attribute>
-												<attribute name="val" type="integer" use="required" />
-											</complexType>
-										</element>
-										<element name="sub" maxOccurs="unbounded" minOccurs="0">
-											<complexType>
-												<attribute name="order" type="token" use="required" fixed="0x10" />
-												<attribute name="stat" use="required">
-													<simpleType>
-														<restriction base="token">
-															<enumeration value="rEvas" />
-														</restriction>
-													</simpleType>
-												</attribute>
-												<attribute name="val" type="integer" use="required" />
-											</complexType>
-										</element>
-									</choice>
-								</complexType>
-							</element>
-						</sequence>
-						<attribute name="id" use="required">
-							<simpleType>
-								<restriction base="positiveInteger">
-									<minInclusive value="1" />
-									<maxInclusive value="65535" />
-								</restriction>
-							</simpleType>
-						</attribute>
-						<attribute name="name" type="normalizedString" use="required" />
-						<attribute name="type" use="required">
-							<simpleType>
-								<restriction base="token">
-									<enumeration value="Armor" />
-									<enumeration value="EtcItem" />
-									<enumeration value="Weapon" />
-								</restriction>
-							</simpleType>
-						</attribute>
-					</complexType>
-				</element>
-			</sequence>
-		</complexType>
-	</element>
-</schema>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+	<xs:element name="list">
+		<xs:complexType>
+			<xs:sequence maxOccurs="1" minOccurs="1">
+				<xs:element name="item" maxOccurs="100" minOccurs="1">
+					<xs:complexType>
+						<xs:sequence maxOccurs="1" minOccurs="1">
+							<xs:element name="set" maxOccurs="unbounded" minOccurs="1">
+								<xs:complexType>
+									<xs:attribute name="name" use="required">
+										<xs:simpleType>
+											<xs:restriction base="xs:token">
+												<xs:enumeration value="armor_type" />
+												<xs:enumeration value="attack_range" />
+												<xs:enumeration value="auto_destroy_time" />
+												<xs:enumeration value="blessed" />
+												<xs:enumeration value="bodypart" />
+												<xs:enumeration value="capsuled_items" />
+												<xs:enumeration value="change_weaponId" />
+												<xs:enumeration value="crystal_count" />
+												<xs:enumeration value="crystal_type" />
+												<xs:enumeration value="damage_range" />
+												<xs:enumeration value="default_action" />
+												<xs:enumeration value="duration" />
+												<xs:enumeration value="element_enabled" />
+												<xs:enumeration value="enchant_enabled" />
+												<xs:enumeration value="enchant4_skill" />
+												<xs:enumeration value="enchanted" />
+												<xs:enumeration value="equip_condition" />
+												<xs:enumeration value="equip_reuse_delay" />
+												<xs:enumeration value="ex_immediate_effect" />
+												<xs:enumeration value="etcitem_type" />
+												<xs:enumeration value="for_npc" />
+												<xs:enumeration value="handler" />
+												<xs:enumeration value="icon" />
+												<xs:enumeration value="immediate_effect" />
+												<xs:enumeration value="is_depositable" />
+												<xs:enumeration value="is_destroyable" />
+												<xs:enumeration value="is_dropable" />
+												<xs:enumeration value="is_freightable" />
+												<xs:enumeration value="is_magic_weapon" />
+												<xs:enumeration value="is_oly_restricted" />
+												<xs:enumeration value="is_premium" />
+												<xs:enumeration value="is_questitem" />
+												<xs:enumeration value="is_sellable" />
+												<xs:enumeration value="is_stackable" />
+												<xs:enumeration value="is_tradable" />
+												<xs:enumeration value="isAttackWeapon" />
+												<xs:enumeration value="isForceEquip" />
+												<xs:enumeration value="item_skill" />
+												<xs:enumeration value="material" />
+												<xs:enumeration value="mp_consume" />
+												<xs:enumeration value="oncast_chance" />
+												<xs:enumeration value="oncast_skill" />
+												<xs:enumeration value="oncrit_chance" />
+												<xs:enumeration value="oncrit_skill" />
+												<xs:enumeration value="price" />
+												<xs:enumeration value="random_damage" />
+												<xs:enumeration value="recipe_id" />
+												<xs:enumeration value="reduced_mp_consume" />
+												<xs:enumeration value="reduced_soulshot" />
+												<xs:enumeration value="reuse_delay" />
+												<xs:enumeration value="shared_reuse_group" />
+												<xs:enumeration value="soulshots" />
+												<xs:enumeration value="spiritshots" />
+												<xs:enumeration value="time" />
+												<xs:enumeration value="unequip_skill" />
+												<xs:enumeration value="use_condition" />
+												<xs:enumeration value="useSkillDisTime" />
+												<xs:enumeration value="useWeaponSkillsOnly" />
+												<xs:enumeration value="weapon_type" />
+												<xs:enumeration value="weight" />
+											</xs:restriction>
+										</xs:simpleType>
+									</xs:attribute>
+									<xs:attribute name="val" type="xs:token" use="required" />
+								</xs:complexType>
+							</xs:element>
+							<xs:element name="cond" maxOccurs="2" minOccurs="0">
+								<xs:complexType>
+									<xs:choice maxOccurs="1" minOccurs="1">
+										<xs:element name="and" maxOccurs="1" minOccurs="0">
+											<xs:complexType>
+												<xs:choice maxOccurs="1" minOccurs="1">
+													<xs:element name="player" maxOccurs="unbounded" minOccurs="1">
+														<xs:complexType>
+															<xs:attribute name="castle">
+																<xs:simpleType>
+																	<xs:restriction base="xs:integer">
+																		<xs:minInclusive value="-1" />
+																		<xs:maxInclusive value="9" />
+																	</xs:restriction>
+																</xs:simpleType>
+															</xs:attribute>
+															<xs:attribute name="clanHall" type="xs:normalizedString" />
+															<xs:attribute name="class_id_restriction" type="xs:normalizedString" />
+															<xs:attribute name="cloakStatus">
+																<xs:simpleType>
+																	<xs:restriction base="xs:nonNegativeInteger">
+																		<xs:minInclusive value="0" />
+																		<xs:maxInclusive value="1" />
+																	</xs:restriction>
+																</xs:simpleType>
+															</xs:attribute>
+															<xs:attribute name="isHero" type="xs:boolean" />
+															<xs:attribute name="level">
+																<xs:simpleType>
+																	<xs:restriction base="xs:positiveInteger">
+																		<xs:minInclusive value="1" />
+																		<xs:maxInclusive value="85" />
+																	</xs:restriction>
+																</xs:simpleType>
+															</xs:attribute>
+															<xs:attribute name="pledgeClass">
+																<xs:simpleType>
+																	<xs:restriction base="xs:integer">
+																		<xs:minInclusive value="-1" />
+																		<xs:maxInclusive value="11" />
+																	</xs:restriction>
+																</xs:simpleType>
+															</xs:attribute>
+															<xs:attribute name="races" type="xs:token" />
+															<xs:attribute name="subclass" type="xs:boolean" />
+														</xs:complexType>
+													</xs:element>
+												</xs:choice>
+											</xs:complexType>
+										</xs:element>
+										<xs:element name="player" maxOccurs="unbounded" minOccurs="1">
+											<xs:complexType>
+												<xs:attribute name="castle">
+													<xs:simpleType>
+														<xs:restriction base="xs:positiveInteger">
+															<xs:minInclusive value="1" />
+															<xs:maxInclusive value="9" />
+														</xs:restriction>
+													</xs:simpleType>
+												</xs:attribute>
+												<xs:attribute name="chaotic" type="xs:boolean" />
+												<xs:attribute name="clanHall" type="xs:normalizedString" />
+												<xs:attribute name="class_id_restriction" type="xs:normalizedString" />
+												<xs:attribute name="cloakStatus">
+													<xs:simpleType>
+														<xs:restriction base="xs:nonNegativeInteger">
+															<xs:minInclusive value="0" />
+															<xs:maxInclusive value="1" />
+														</xs:restriction>
+													</xs:simpleType>
+												</xs:attribute>
+												<xs:attribute name="flyMounted" type="xs:boolean" />
+												<xs:attribute name="fort" type="xs:integer" fixed="-1" />
+												<xs:attribute name="insideZoneId" type="xs:normalizedString" />
+												<xs:attribute name="instanceId" type="xs:normalizedString" />
+												<xs:attribute name="isHero" type="xs:boolean" />
+												<xs:attribute name="level">
+													<xs:simpleType>
+														<xs:restriction base="xs:positiveInteger">
+															<xs:minInclusive value="1" />
+															<xs:maxInclusive value="85" />
+														</xs:restriction>
+													</xs:simpleType>
+												</xs:attribute>
+												<xs:attribute name="levelRange" type="xs:token" />
+												<xs:attribute name="pkCount" type="xs:nonNegativeInteger" fixed="0" />
+												<xs:attribute name="pledgeClass">
+													<xs:simpleType>
+														<xs:restriction base="xs:integer">
+															<xs:minInclusive value="-1" />
+															<xs:maxInclusive value="11" />
+														</xs:restriction>
+													</xs:simpleType>
+												</xs:attribute>
+												<xs:attribute name="races" type="xs:token" />
+												<xs:attribute name="sex">
+													<xs:simpleType>
+														<xs:restriction base="xs:nonNegativeInteger">
+															<xs:minInclusive value="0" />
+															<xs:maxInclusive value="1" />
+														</xs:restriction>
+													</xs:simpleType>
+												</xs:attribute>
+												<xs:attribute name="SiegeZone" type="xs:positiveInteger" fixed="126" />
+												<xs:attribute name="vehicleMounted" type="xs:boolean" />
+											</xs:complexType>
+										</xs:element>
+									</xs:choice>
+									<xs:attribute name="msgId" type="xs:positiveInteger" />
+									<xs:attribute name="addName" type="xs:integer" fixed="1" />
+								</xs:complexType>
+							</xs:element>
+							<xs:element name="for" maxOccurs="1" minOccurs="0">
+								<xs:complexType>
+									<xs:choice maxOccurs="unbounded" minOccurs="1">
+										<xs:element name="add" maxOccurs="unbounded" minOccurs="0">
+											<xs:complexType>
+												<xs:attribute name="order" use="required">
+													<xs:simpleType>
+														<xs:restriction base="xs:token">
+															<xs:enumeration value="0x10" />
+															<xs:enumeration value="0x40" />
+														</xs:restriction>
+													</xs:simpleType>
+												</xs:attribute>
+												<xs:attribute name="stat" use="required">
+													<xs:simpleType>
+														<xs:restriction base="xs:token">
+															<xs:enumeration value="accCombat" />
+															<xs:enumeration value="darkRes" />
+															<xs:enumeration value="earthRes" />
+															<xs:enumeration value="fireRes" />
+															<xs:enumeration value="holyPower" />
+															<xs:enumeration value="holyRes" />
+															<xs:enumeration value="mAtk" />
+															<xs:enumeration value="maxMp" />
+															<xs:enumeration value="mDef" />
+															<xs:enumeration value="pAtk" />
+															<xs:enumeration value="pDef" />
+															<xs:enumeration value="waterRes" />
+															<xs:enumeration value="windRes" />
+														</xs:restriction>
+													</xs:simpleType>
+												</xs:attribute>
+												<xs:attribute name="val" type="xs:decimal" use="required" />
+											</xs:complexType>
+										</xs:element>
+										<xs:element name="enchant" maxOccurs="2" minOccurs="0">
+											<xs:complexType>
+												<xs:attribute name="order" type="xs:token" use="required" fixed="0x0C" />
+												<xs:attribute name="stat" use="required">
+													<xs:simpleType>
+														<xs:restriction base="xs:token">
+															<xs:enumeration value="mAtk" />
+															<xs:enumeration value="mDef" />
+															<xs:enumeration value="pAtk" />
+															<xs:enumeration value="pDef" />
+															<xs:enumeration value="sDef" />
+														</xs:restriction>
+													</xs:simpleType>
+												</xs:attribute>
+												<xs:attribute name="val" type="xs:integer" fixed="0" use="required" />
+											</xs:complexType>
+										</xs:element>
+										<xs:element name="mul" maxOccurs="unbounded" minOccurs="0">
+											<xs:complexType>
+												<xs:attribute name="order">
+													<xs:simpleType>
+														<xs:restriction base="xs:token">
+															<xs:enumeration value="0x08" />
+															<xs:enumeration value="0x30" />
+														</xs:restriction>
+													</xs:simpleType>
+												</xs:attribute>
+												<xs:attribute name="stat">
+													<xs:simpleType>
+														<xs:restriction base="xs:token">
+															<xs:enumeration value="magicSuccRes" />
+														</xs:restriction>
+													</xs:simpleType>
+												</xs:attribute>
+												<xs:attribute name="val" type="xs:decimal" />
+											</xs:complexType>
+										</xs:element>
+										<xs:element name="set" maxOccurs="unbounded" minOccurs="0">
+											<xs:complexType>
+												<xs:attribute name="order" type="xs:token" fixed="0x08" use="required" />
+												<xs:attribute name="stat" use="required">
+													<xs:simpleType>
+														<xs:restriction base="xs:token">
+															<xs:enumeration value="mAtk" />
+															<xs:enumeration value="pAtk" />
+															<xs:enumeration value="pAtkAngle" />
+															<xs:enumeration value="pAtkRange" />
+															<xs:enumeration value="pAtkSpd" />
+															<xs:enumeration value="rCrit" />
+															<xs:enumeration value="rShld" />
+															<xs:enumeration value="sDef" />
+														</xs:restriction>
+													</xs:simpleType>
+												</xs:attribute>
+												<xs:attribute name="val" type="xs:integer" use="required" />
+											</xs:complexType>
+										</xs:element>
+										<xs:element name="sub" maxOccurs="unbounded" minOccurs="0">
+											<xs:complexType>
+												<xs:attribute name="order" type="xs:token" use="required" fixed="0x10" />
+												<xs:attribute name="stat" use="required">
+													<xs:simpleType>
+														<xs:restriction base="xs:token">
+															<xs:enumeration value="rEvas" />
+														</xs:restriction>
+													</xs:simpleType>
+												</xs:attribute>
+												<xs:attribute name="val" type="xs:integer" use="required" />
+											</xs:complexType>
+										</xs:element>
+									</xs:choice>
+								</xs:complexType>
+							</xs:element>
+						</xs:sequence>
+						<xs:attribute name="id" use="required">
+							<xs:simpleType>
+								<xs:restriction base="xs:positiveInteger">
+									<xs:minInclusive value="1" />
+									<xs:maxInclusive value="65535" />
+								</xs:restriction>
+							</xs:simpleType>
+						</xs:attribute>
+						<xs:attribute name="name" type="xs:normalizedString" use="required" />
+						<xs:attribute name="type" use="required">
+							<xs:simpleType>
+								<xs:restriction base="xs:token">
+									<xs:enumeration value="Armor" />
+									<xs:enumeration value="EtcItem" />
+									<xs:enumeration value="Weapon" />
+								</xs:restriction>
+							</xs:simpleType>
+						</xs:attribute>
+					</xs:complexType>
+				</xs:element>
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+</xs:schema>

+ 66 - 66
L2J_DataPack_BETA/dist/game/data/xsd/spawnZones.xsd

@@ -1,67 +1,67 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<schema xmlns="http://www.w3.org/2001/XMLSchema">
-	<element name="list">
-		<complexType>
-			<sequence minOccurs="1" maxOccurs="1">
-				<element name="spawnZones" minOccurs="1" maxOccurs="1">
-					<complexType>
-						<sequence minOccurs="1" maxOccurs="1">
-							<element name="zone" minOccurs="1" maxOccurs="unbounded">
-								<complexType>
-									<sequence minOccurs="1" maxOccurs="1">
-										<element name="point" maxOccurs="unbounded" minOccurs="1">
-											<complexType>
-												<attribute name="x" type="integer" use="required" />
-												<attribute name="y" type="integer" use="required" />
-											</complexType>
-										</element>
-									</sequence>
-									<attribute name="id" type="nonNegativeInteger" use="required" />
-									<attribute name="maxZ" type="integer" use="required" />
-									<attribute name="minZ" type="integer" use="required" />
-								</complexType>
-							</element>
-						</sequence>
-					</complexType>
-				</element>
-				<element name="npc" minOccurs="1" maxOccurs="1">
-					<complexType>
-						<sequence minOccurs="1" maxOccurs="1">
-							<element name="spawn" minOccurs="1" maxOccurs="unbounded">
-								<complexType>
-									<choice minOccurs="1" maxOccurs="1">
-										<element name="loc" minOccurs="1" maxOccurs="1">
-											<complexType>
-												<attribute name="heading" type="nonNegativeInteger" use="required" />
-												<attribute name="mustKill" type="boolean" />
-												<attribute name="x" type="integer" use="required" />
-												<attribute name="y" type="integer" use="required" />
-												<attribute name="z" type="integer" use="required" />
-											</complexType>
-										</element>
-										<element name="zone" minOccurs="1" maxOccurs="1">
-											<complexType>
-												<attribute name="count" type="positiveInteger" use="required" />
-												<attribute name="id" type="positiveInteger" use="required" />
-												<attribute name="mustKill" type="boolean" />
-											</complexType>
-										</element>
-									</choice>
-									<attribute name="flag" type="nonNegativeInteger" use="required" />
-									<attribute name="npcId">
-										<simpleType>
-											<restriction base="positiveInteger">
-												<minInclusive value="1" />
-												<maxInclusive value="65535" />
-											</restriction>
-										</simpleType>
-									</attribute>
-								</complexType>
-							</element>
-						</sequence>
-					</complexType>
-				</element>
-			</sequence>
-		</complexType>
-	</element>
-</schema>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+	<xs:element name="list">
+		<xs:complexType>
+			<xs:sequence minOccurs="1" maxOccurs="1">
+				<xs:element name="spawnZones" minOccurs="1" maxOccurs="1">
+					<xs:complexType>
+						<xs:sequence minOccurs="1" maxOccurs="1">
+							<xs:element name="zone" minOccurs="1" maxOccurs="unbounded">
+								<xs:complexType>
+									<xs:sequence minOccurs="1" maxOccurs="1">
+										<xs:element name="point" maxOccurs="unbounded" minOccurs="1">
+											<xs:complexType>
+												<xs:attribute name="x" type="xs:integer" use="required" />
+												<xs:attribute name="y" type="xs:integer" use="required" />
+											</xs:complexType>
+										</xs:element>
+									</xs:sequence>
+									<xs:attribute name="id" type="xs:nonNegativeInteger" use="required" />
+									<xs:attribute name="maxZ" type="xs:integer" use="required" />
+									<xs:attribute name="minZ" type="xs:integer" use="required" />
+								</xs:complexType>
+							</xs:element>
+						</xs:sequence>
+					</xs:complexType>
+				</xs:element>
+				<xs:element name="npc" minOccurs="1" maxOccurs="1">
+					<xs:complexType>
+						<xs:sequence minOccurs="1" maxOccurs="1">
+							<xs:element name="spawn" minOccurs="1" maxOccurs="unbounded">
+								<xs:complexType>
+									<xs:choice minOccurs="1" maxOccurs="1">
+										<xs:element name="loc" minOccurs="1" maxOccurs="1">
+											<xs:complexType>
+												<xs:attribute name="heading" type="xs:nonNegativeInteger" use="required" />
+												<xs:attribute name="mustKill" type="xs:boolean" />
+												<xs:attribute name="x" type="xs:integer" use="required" />
+												<xs:attribute name="y" type="xs:integer" use="required" />
+												<xs:attribute name="z" type="xs:integer" use="required" />
+											</xs:complexType>
+										</xs:element>
+										<xs:element name="zone" minOccurs="1" maxOccurs="1">
+											<xs:complexType>
+												<xs:attribute name="count" type="xs:positiveInteger" use="required" />
+												<xs:attribute name="id" type="xs:positiveInteger" use="required" />
+												<xs:attribute name="mustKill" type="xs:boolean" />
+											</xs:complexType>
+										</xs:element>
+									</xs:choice>
+									<xs:attribute name="flag" type="xs:nonNegativeInteger" use="required" />
+									<xs:attribute name="npcId">
+										<xs:simpleType>
+											<xs:restriction base="xs:positiveInteger">
+												<xs:minInclusive value="1" />
+												<xs:maxInclusive value="65535" />
+											</xs:restriction>
+										</xs:simpleType>
+									</xs:attribute>
+								</xs:complexType>
+							</xs:element>
+						</xs:sequence>
+					</xs:complexType>
+				</xs:element>
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+</xs:schema>

+ 12 - 11
L2J_DataPack_BETA/dist/game/data/xsd/staticObjects.xsd

@@ -1,20 +1,21 @@
-<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
 	<xs:element name="list">
 		<xs:complexType>
 			<xs:sequence>
-				<xs:element name="object" maxOccurs="unbounded" minOccurs="0">
+				<xs:element name="object" maxOccurs="unbounded" minOccurs="1">
 					<xs:complexType>
 						<xs:simpleContent>
 							<xs:extension base="xs:string">
-								<xs:attribute type="xs:integer" name="id" use="required" />
-								<xs:attribute type="xs:string" name="name" use="required" />
-								<xs:attribute type="xs:byte" name="type" use="required" />
-								<xs:attribute type="xs:integer" name="x" use="required" />
-								<xs:attribute type="xs:integer" name="y" use="required" />
-								<xs:attribute type="xs:integer" name="z" use="required" />
-								<xs:attribute type="xs:string" name="texture" use="optional" />
-								<xs:attribute type="xs:integer" name="map_x" use="optional" />
-								<xs:attribute type="xs:integer" name="map_y" use="optional" />
+								<xs:attribute name="id" type="xs:integer" use="required" />
+								<xs:attribute name="name" type="xs:string" use="required" />
+								<xs:attribute name="type" type="xs:byte" use="required" />
+								<xs:attribute name="x" type="xs:integer" use="required" />
+								<xs:attribute name="y" type="xs:integer" use="required" />
+								<xs:attribute name="z" type="xs:integer" use="required" />
+								<xs:attribute name="texture" type="xs:string" />
+								<xs:attribute name="map_x" type="xs:integer" />
+								<xs:attribute name="map_y" type="xs:integer" />
 							</xs:extension>
 						</xs:simpleContent>
 					</xs:complexType>