Unhardcoded homunculus data.

Contributed by Index.
This commit is contained in:
MobiusDevelopment
2022-05-09 22:02:11 +00:00
parent 4190fdc9ec
commit f763eb9299
71 changed files with 3871 additions and 1235 deletions

View File

@@ -0,0 +1,100 @@
<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="xsd/HomunculusCreationData.xsd">
<!-- https://l2central.info/main/articles/247.html?lang=ru
=================================================================
=================================================================
For change items or params in client for Cradle of Time - need to edit HomunCreate.dat:
=================================================================
homun_create_begin cost_base=1000000
hp_count=100 hp_volume=10000
sp_count=10 sp_volume=5000000000
vp_count=5 vp_volume=35000
cost_time=86400 homun_create_end
=================================================================
For adding new Coupon items in Cradle of Life edit HomunList.dat:
=================================================================
homun_list_begin itemid=81815 amount=1 fee=2000000 grade=0 event=0 homun_list_end
=================================================================
IF CHANCES IN <CHANCE> != 100, HOMUNCULUS CAN BE NOT CREATED!
-->
<homunculusCreation slotId="0" isEnabled="true" grade="0" event="false" >
<itemFees>
<item id="57" count="1000000" />
</itemFees>
<hpFee count="100" byUse="10000" />
<spFee count="10" byUse="5000000000" />
<vpFee count="5" byUse="35000" />
<time count="86400000" /> <!-- Client take time in minutes, server need to be in milliseconds ( * 1000 ) -->
<chance>
<homunculus id="1" creationChance="7.00" />
<homunculus id="2" creationChance="2.99" />
<homunculus id="3" creationChance="0.01" />
<homunculus id="4" creationChance="7.00" />
<homunculus id="5" creationChance="2.99" />
<homunculus id="6" creationChance="0.01" />
<homunculus id="7" creationChance="7.00" />
<homunculus id="8" creationChance="2.99" />
<homunculus id="9" creationChance="0.01" />
<homunculus id="10" creationChance="7.00" />
<homunculus id="11" creationChance="2.99" />
<homunculus id="12" creationChance="0.01" />
<homunculus id="13" creationChance="7.00" />
<homunculus id="14" creationChance="2.99" />
<homunculus id="15" creationChance="0.01" />
<homunculus id="16" creationChance="7.00" />
<homunculus id="17" creationChance="2.99" />
<homunculus id="18" creationChance="0.01" />
<homunculus id="19" creationChance="7.00" />
<homunculus id="20" creationChance="2.99" />
<homunculus id="21" creationChance="0.01" />
<homunculus id="22" creationChance="7.00" />
<homunculus id="23" creationChance="2.99" />
<homunculus id="24" creationChance="0.01" />
<homunculus id="25" creationChance="7.00" />
<homunculus id="26" creationChance="2.99" />
<homunculus id="27" creationChance="0.01" />
<homunculus id="28" creationChance="7.00" />
<homunculus id="29" creationChance="2.99" />
<homunculus id="30" creationChance="0.01" />
</chance>
</homunculusCreation>
<homunculusCreation slotId="1" isEnabled="true" grade="0" event="false">
<itemFees>
<item id="81815" count="1" />
<item id="57" count="2000000" />
</itemFees>
<chance>
<homunculus id="1" creationChance="7.00" />
<homunculus id="2" creationChance="2.99" />
<homunculus id="3" creationChance="0.01" />
<homunculus id="4" creationChance="7.00" />
<homunculus id="5" creationChance="2.99" />
<homunculus id="6" creationChance="0.01" />
<homunculus id="7" creationChance="7.00" />
<homunculus id="8" creationChance="2.99" />
<homunculus id="9" creationChance="0.01" />
<homunculus id="10" creationChance="7.00" />
<homunculus id="11" creationChance="2.99" />
<homunculus id="12" creationChance="0.01" />
<homunculus id="13" creationChance="7.00" />
<homunculus id="14" creationChance="2.99" />
<homunculus id="15" creationChance="0.01" />
<homunculus id="16" creationChance="7.00" />
<homunculus id="17" creationChance="2.99" />
<homunculus id="18" creationChance="0.01" />
<homunculus id="19" creationChance="7.00" />
<homunculus id="20" creationChance="2.99" />
<homunculus id="21" creationChance="0.01" />
<homunculus id="22" creationChance="7.00" />
<homunculus id="23" creationChance="2.99" />
<homunculus id="24" creationChance="0.01" />
<homunculus id="25" creationChance="7.00" />
<homunculus id="26" creationChance="2.99" />
<homunculus id="27" creationChance="0.01" />
<homunculus id="28" creationChance="7.00" />
<homunculus id="29" creationChance="2.99" />
<homunculus id="30" creationChance="0.01" />
</chance>
</homunculusCreation>
</list>

View File

@@ -0,0 +1,150 @@
<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="xsd/HomunculusSlotData.xsd">
<!-- https://l2central.info/main/articles/247.html?lang=ru
=================================================================
Slot Cost
=================================================================
01 -
02 -
03 -
04 0 090 000 000 Aden + Gemstone: R - 084 pcs.
05 0 090 000 000 Aden + Gemstone: R - 084 pcs.
06 0 090 000 000 Aden + Gemstone: R - 084 pcs.
07 0 700 000 000 Aden + Gemstone: R - 250 pcs.
08 0 700 000 000 Aden + Gemstone: R - 250 pcs.
09 2 700 000 000 Aden + Gemstone: R - 250 pcs.
10 Einhasad's Golden Coin - 180 pcs. + Gemstone: R - 165 pcs.
11 Einhasad's Golden Coin - 180 pcs. + Gemstone: R - 165 pcs.
12 Einhasad's Golden Coin - 180 pcs. + Gemstone: R - 165 pcs.
13 Einhasad's Golden Coin - 360 pcs. + Gemstone: R - 330 pcs.
14 Einhasad's Golden Coin - 360 pcs. + Gemstone: R - 330 pcs.
15 Einhasad's Golden Coin - 360 pcs. + Gemstone: R - 330 pcs.
16 Einhasad's Golden Coin - 750 pcs. + Gemstone: R - 420 pcs.
17 Einhasad's Golden Coin - 750 pcs. + Gemstone: R - 420 pcs.
18 Einhasad's Golden Coin - 750 pcs. + Gemstone: R - 420 pcs.
=================================================================
Slots after 09 is disabled on client side. For enable it, paste it in file - HomunSlot.dat
homun_slot_begin slotid=4 costitems={{57;90000000};{19440;84}} homun_slot_end
homun_slot_begin slotid=5 costitems={{57;90000000};{19440;84}} homun_slot_end
homun_slot_begin slotid=6 costitems={{57;90000000};{19440;84}} homun_slot_end
homun_slot_begin slotid=7 costitems={{57;2700000000};{19440;250}} homun_slot_end
homun_slot_begin slotid=8 costitems={{57;2700000000};{19440;250}} homun_slot_end
homun_slot_begin slotid=9 costitems={{57;2700000000};{19440;250}} homun_slot_end
homun_slot_begin slotid=10 costitems={{48472;180};{19440;165}} homun_slot_end
homun_slot_begin slotid=11 costitems={{48472;180};{19440;165}} homun_slot_end
homun_slot_begin slotid=12 costitems={{48472;180};{19440;165}} homun_slot_end
homun_slot_begin slotid=13 costitems={{48472;360};{19440;330}} homun_slot_end
homun_slot_begin slotid=14 costitems={{48472;360};{19440;330}} homun_slot_end
homun_slot_begin slotid=15 costitems={{48472;360};{19440;330}} homun_slot_end
homun_slot_begin slotid=16 costitems={{48472;750};{19440;420}} homun_slot_end
homun_slot_begin slotid=17 costitems={{48472;750};{19440;420}} homun_slot_end
homun_slot_begin slotid=18 costitems={{48472;750};{19440;420}} homun_slot_end
-->
<homunculusSlot slotId="1" isEnabled="True" >
<fee>
<item id="0" count="0" />
</fee>
</homunculusSlot>
<homunculusSlot slotId="2" isEnabled="True" >
<fee>
<item id="0" count="0" />
</fee>
</homunculusSlot>
<homunculusSlot slotId="3" isEnabled="True" >
<fee>
<item id="0" count="0" />
</fee>
</homunculusSlot>
<homunculusSlot slotId="4" isEnabled="True" >
<fee>
<item id="57" count="90000000" />
<item id="19440" count="84" />
</fee>
</homunculusSlot>
<homunculusSlot slotId="5" isEnabled="True" >
<fee>
<item id="57" count="90000000" />
<item id="19440" count="84" />
</fee>
</homunculusSlot>
<homunculusSlot slotId="6" isEnabled="True" >
<fee>
<item id="57" count="90000000" />
<item id="19440" count="84" />
</fee>
</homunculusSlot>
<homunculusSlot slotId="7" isEnabled="True" >
<fee>
<item id="57" count="2700000000" />
<item id="19440" count="250" />
</fee>
</homunculusSlot>
<homunculusSlot slotId="8" isEnabled="True" >
<fee>
<item id="57" count="2700000000" />
<item id="19440" count="250" />
</fee>
</homunculusSlot>
<homunculusSlot slotId="9" isEnabled="True" >
<fee>
<item id="57" count="2700000000" />
<item id="19440" count="250" />
</fee>
</homunculusSlot>
<!--
<homunculusSlot slotId="10" isEnabled="False" >
<fee>
<item id="48472" count="165" />
<item id="19440" count="250" />
</fee>
</homunculusSlot>
<homunculusSlot slotId="11" isEnabled="False" >
<fee>
<item id="48472" count="165" />
<item id="19440" count="250" />
</fee>
</homunculusSlot>
<homunculusSlot slotId="12" isEnabled="False" >
<fee>
<item id="48472" count="165" />
<item id="19440" count="250" />
</fee>
</homunculusSlot>
<homunculusSlot slotId="13" isEnabled="False" >
<fee>
<item id="48472" count="360" />
<item id="19440" count="330" />
</fee>
</homunculusSlot>
<homunculusSlot slotId="14" isEnabled="False" >
<fee>
<item id="48472" count="360" />
<item id="19440" count="330" />
</fee>
</homunculusSlot>
<homunculusSlot slotId="15" isEnabled="False" >
<fee>
<item id="48472" count="360" />
<item id="19440" count="330" />
</fee>
</homunculusSlot>
<homunculusSlot slotId="16" isEnabled="False" >
<fee>
<item id="48472" count="750" />
<item id="19440" count="420" />
</fee>
</homunculusSlot>
<homunculusSlot slotId="17" isEnabled="False" >
<fee>
<item id="48472" count="750" />
<item id="19440" count="420" />
</fee>
</homunculusSlot>
<homunculusSlot slotId="18" isEnabled="False" >
<fee>
<item id="48472" count="750" />
<item id="19440" count="420" />
</fee>
</homunculusSlot>
-->
</list>

View File

@@ -0,0 +1,89 @@
<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="homunculusCreation" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="itemFees">
<xs:complexType>
<xs:sequence>
<xs:element name="item" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:int" name="id" use="optional"/>
<xs:attribute type="xs:int" name="count" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="hpFee" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:byte" name="count"/>
<xs:attribute type="xs:short" name="byUse"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="spFee" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:byte" name="count"/>
<xs:attribute type="xs:long" name="byUse"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="vpFee" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:byte" name="count"/>
<xs:attribute type="xs:int" name="byUse"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="time" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:int" name="count"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="chance">
<xs:complexType>
<xs:sequence>
<xs:element name="homunculus" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:byte" name="id" use="optional"/>
<xs:attribute type="xs:float" name="creationChance" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute type="xs:byte" name="slotId" use="optional"/>
<xs:attribute type="xs:string" name="isEnabled" use="optional"/>
<xs:attribute type="xs:byte" name="grade" use="optional"/>
<xs:attribute type="xs:string" name="event" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@@ -0,0 +1,32 @@
<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="homunculusSlot" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="fee">
<xs:complexType>
<xs:sequence>
<xs:element name="item" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:int" name="id" use="optional"/>
<xs:attribute type="xs:long" name="count" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute type="xs:byte" name="slotId" use="optional"/>
<xs:attribute type="xs:string" name="isEnabled" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>