Replaced Augmentation with Variation data.
Adapted from: L2jUnity free files.
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
DROP TABLE IF EXISTS `item_attributes`;
|
||||
CREATE TABLE IF NOT EXISTS `item_attributes` (
|
||||
`itemId` int(11) NOT NULL DEFAULT 0,
|
||||
`augAttributes` int(11) NOT NULL DEFAULT -1,
|
||||
PRIMARY KEY (`itemId`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
7
L2J_Mobius_2.5_Underground/dist/db_installer/sql/game/item_variations.sql
vendored
Normal file
7
L2J_Mobius_2.5_Underground/dist/db_installer/sql/game/item_variations.sql
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
CREATE TABLE IF NOT EXISTS `item_variations` (
|
||||
`itemId` INT(11) NOT NULL,
|
||||
`mineralId` INT(11) NOT NULL DEFAULT 0,
|
||||
`option1` INT(11) NOT NULL,
|
||||
`option2` INT(11) NOT NULL,
|
||||
PRIMARY KEY (`itemId`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
@@ -3,7 +3,7 @@
|
||||
<!-- Documentation: -->
|
||||
<!-- <instance id="NPC ID of the auctioneer" day_of_week="1 - Monday, 7 - Sunday" hour_of_day="0-23" minute_of_hour="0-59"> -->
|
||||
<!-- <item auctionItemId="1" itemId="9901" itemCount="1" auctionInitBid="100000" auctionLenght="300 (in minutes)"> -->
|
||||
<!-- <extra enchant_level="15" augmentation_id="you can take it from item_attributes table" augmentation_skill_id="3241" augmentation_skill_lvl="10" /> -->
|
||||
<!-- <extra enchant_level="15" /> -->
|
||||
<!-- </item> -->
|
||||
<!-- </instance> -->
|
||||
<!-- instead of day_of_week you can use interval between auction in days -->
|
||||
|
17002
L2J_Mobius_2.5_Underground/dist/game/data/stats/augmentation/Variations.xml
vendored
Normal file
17002
L2J_Mobius_2.5_Underground/dist/game/data/stats/augmentation/Variations.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
94
L2J_Mobius_2.5_Underground/dist/game/data/xsd/Variations.xsd
vendored
Normal file
94
L2J_Mobius_2.5_Underground/dist/game/data/xsd/Variations.xsd
vendored
Normal file
@@ -0,0 +1,94 @@
|
||||
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:element name="list">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="variations">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="variation" maxOccurs="unbounded" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="optionGroup" maxOccurs="unbounded" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="optionCategory" maxOccurs="unbounded" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:choice maxOccurs="unbounded" minOccurs="0">
|
||||
<xs:element name="option">
|
||||
<xs:complexType>
|
||||
<xs:attribute type="xs:int" name="id" use="optional"/>
|
||||
<xs:attribute type="xs:double" name="chance" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="optionRange">
|
||||
<xs:complexType>
|
||||
<xs:attribute type="xs:int" name="from" use="optional"/>
|
||||
<xs:attribute type="xs:int" name="to" use="optional"/>
|
||||
<xs:attribute type="xs:double" name="chance" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:attribute type="xs:float" name="chance" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:attribute type="xs:string" name="weaponType" use="optional"/>
|
||||
<xs:attribute type="xs:byte" name="order" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:attribute type="xs:int" name="mineralId" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="itemGroups">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="itemGroup" maxOccurs="unbounded" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="item" maxOccurs="unbounded" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:attribute type="xs:int" name="id" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:attribute type="xs:byte" name="id" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="fees">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="fee" maxOccurs="unbounded" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:choice maxOccurs="unbounded" minOccurs="0">
|
||||
<xs:element name="mineral">
|
||||
<xs:complexType>
|
||||
<xs:attribute type="xs:int" name="id" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="mineralRange">
|
||||
<xs:complexType>
|
||||
<xs:attribute type="xs:int" name="from" use="optional"/>
|
||||
<xs:attribute type="xs:int" name="to" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:attribute type="xs:int" name="itemGroup" use="optional"/>
|
||||
<xs:attribute type="xs:int" name="itemId" use="optional"/>
|
||||
<xs:attribute type="xs:long" name="itemCount" use="optional"/>
|
||||
<xs:attribute type="xs:long" name="cancelFee" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
Reference in New Issue
Block a user