Fishing rework based on L2jUnity free files.

Contributed by facab.
This commit is contained in:
MobiusDevelopment
2019-03-22 23:34:26 +00:00
parent bdeaab95bb
commit 9f72595ae0
314 changed files with 12904 additions and 7698 deletions

View File

@@ -1,12 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="./xsd/Fishing.xsd">
<baitDistance min="90" max="250" />
<experienceRate min="1" max="1" />
<skillPointsRate min="0.033" max="0.033" />
<xpRate min="0.033" max="0.033" /> <!-- XP modifiction rate -->
<spRate min="0.033" max="0.033" /> <!-- SP modifiction rate -->
<baits>
<!-- Common Bait -->
<bait itemId="45495" level="1" minPlayerLevel="20" chance="64" timeMin="45000" timeMax="45000" waitMin="15000" waitMax="15000"> <!-- Normal Bait -->
<catch itemId="45473" /> <!-- Blue Mackerel -->
<catch itemId="45481" /> <!-- Fresh Blue Mackerel -->
<catch itemId="45473" chance="65" multiplier="1" /> <!-- Blue Mackerel -->
<catch itemId="45481" chance="34" multiplier="1" /> <!-- Fresh Blue Mackerel -->
<catch itemId="45488" chance="1" multiplier="1" /> <!-- Golden Treasure Chest -->
</bait>
<!-- Event Bait -->
<bait itemId="49508" level="1" minPlayerLevel="20" chance="64" timeMin="45000" timeMax="45000" waitMin="15000" waitMax="15000"> <!-- Normal Bait -->
<catch itemId="45473" chance="65" multiplier="1" /> <!-- Blue Mackerel -->
<catch itemId="45481" chance="34" multiplier="1" /> <!-- Fresh Blue Mackerel -->
<catch itemId="45488" chance="1" multiplier="1" /> <!-- Golden Treasure Chest -->
</bait>
</baits>
<rods>
<rod itemId="45492" /> <!-- Normal Fishing Rod - 1-day -->
<rod itemId="49506" /> <!-- Normal Fishing Rod - 10-day -->
</rods>
</list>

View File

@@ -9,13 +9,13 @@
<xs:attribute type="xs:positiveInteger" name="max" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="experienceRate">
<xs:element name="xpRate">
<xs:complexType>
<xs:attribute type="xs:double" name="min" use="required" />
<xs:attribute type="xs:double" name="max" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="skillPointsRate">
<xs:element name="spRate">
<xs:complexType>
<xs:attribute type="xs:double" name="min" use="required" />
<xs:attribute type="xs:double" name="max" use="required" />
@@ -30,17 +30,35 @@
<xs:element name="catch" maxOccurs="unbounded" minOccurs="1">
<xs:complexType>
<xs:attribute type="xs:positiveInteger" name="itemId" use="required" />
<xs:attribute type="xs:double" name="chance" />
<xs:attribute type="xs:double" name="multiplier" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute type="xs:positiveInteger" name="itemId" use="required" />
<xs:attribute type="xs:positiveInteger" name="level" use="required" />
<xs:attribute type="xs:positiveInteger" name="level" />
<xs:attribute type="xs:positiveInteger" name="minPlayerLevel" use="required" />
<xs:attribute type="xs:positiveInteger" name="maxPlayerLevel" />
<xs:attribute type="xs:double" name="chance" use="required" />
<xs:attribute type="xs:positiveInteger" name="timeMin" use="required" />
<xs:attribute type="xs:positiveInteger" name="timeMax" use="required" />
<xs:attribute type="xs:positiveInteger" name="timeMax" />
<xs:attribute type="xs:positiveInteger" name="waitMin" use="required" />
<xs:attribute type="xs:positiveInteger" name="waitMax" use="required" />
<xs:attribute type="xs:positiveInteger" name="waitMax" />
<xs:attribute type="xs:boolean" name="isPremiumOnly" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="rods">
<xs:complexType>
<xs:sequence>
<xs:element name="rod" maxOccurs="unbounded" minOccurs="1">
<xs:complexType>
<xs:attribute type="xs:positiveInteger" name="itemId" use="required" />
<xs:attribute type="xs:positiveInteger" name="reduceFishingTime" />
<xs:attribute type="xs:double" name="xpMultiplier" />
<xs:attribute type="xs:double" name="spMultiplier" />
</xs:complexType>
</xs:element>
</xs:sequence>