L2JMobius

Classic Zaken Brooch and Jewels / Jewel Boxes (FIX PENDING)

YulRun · 4 · 5805

Offline YulRun

  • Heir
  • **
    • Posts: 23
Bug: Currently combination of jewels does not work, opening of Jewel boxes does not work, and some brooches do not work.

Solution:
I'm currently correcting all these issues and will post .diff when complete, however I do not have fixed retail percentages for these, so used "Best Guess" for percentages.


Offline YulRun

  • Heir
  • **
    • Posts: 23
FIX FOR JEWELS:

..L2J_Mobius\game\data\CombinationItems.xml:
Code: [Select]
<!-- BROOCH JEWELS -->

<item one="70451" two="70451" chance="50">
<reward id="70452" count="1" type="ON_SUCCESS" /> <!-- Ruby (Lv. 2) -->
<reward id="70451" count="1" type="ON_FAILURE" /> <!-- Ruby (Lv. 1) -->
</item>
<item one="70452" two="70452" chance="40">
<reward id="70453" count="1" type="ON_SUCCESS" /> <!-- Ruby (Lv. 3) -->
<reward id="70452" count="1" type="ON_FAILURE" /> <!-- Ruby (Lv. 2) -->
</item>
<item one="70453" two="70453" chance="25">
<reward id="70454" count="1" type="ON_SUCCESS" /> <!-- Ruby (Lv. 4) -->
<reward id="70453" count="1" type="ON_FAILURE" /> <!-- Ruby (Lv. 3) -->
</item>
<item one="70454" two="70454" chance="5">
<reward id="70455" count="1" type="ON_SUCCESS" /> <!-- Ruby (Lv. 5) -->
<reward id="70454" count="1" type="ON_FAILURE" /> <!-- Ruby (Lv. 4) -->
</item>
<item one="70456" two="70456" chance="50">
<reward id="70457" count="1" type="ON_SUCCESS" /> <!-- Sapphire (Lv. 2) -->
<reward id="70456" count="1" type="ON_FAILURE" /> <!-- Sapphire (Lv. 1) -->
</item>
<item one="70457" two="70457" chance="40">
<reward id="70458" count="1" type="ON_SUCCESS" /> <!-- Sapphire (Lv. 3) -->
<reward id="70457" count="1" type="ON_FAILURE" /> <!-- Sapphire (Lv. 2) -->
</item>
<item one="70458" two="70458" chance="25">
<reward id="70459" count="1" type="ON_SUCCESS" /> <!-- Sapphire (Lv. 4) -->
<reward id="70458" count="1" type="ON_FAILURE" /> <!-- Sapphire (Lv. 3) -->
</item>
<item one="70459" two="70459" chance="5">
<reward id="70460" count="1" type="ON_SUCCESS" /> <!-- Sapphire (Lv. 5) -->
<reward id="70459" count="1" type="ON_FAILURE" /> <!-- Sapphire (Lv. 4) -->
</item>
<item one="70471" two="70471" chance="50">
<reward id="70472" count="1" type="ON_SUCCESS" /> <!-- Vital Stone (Lv. 2) -->
<reward id="70471" count="1" type="ON_FAILURE" /> <!-- Vital Stone (Lv. 1) -->
</item>
<item one="70472" two="70472" chance="40">
<reward id="70473" count="1" type="ON_SUCCESS" /> <!-- Vital Stone (Lv. 3) -->
<reward id="70472" count="1" type="ON_FAILURE" /> <!-- Vital Stone (Lv. 2) -->
</item>
<item one="70473" two="70473" chance="25">
<reward id="70474" count="1" type="ON_SUCCESS" /> <!-- Vital Stone (Lv. 4) -->
<reward id="70473" count="1" type="ON_FAILURE" /> <!-- Vital Stone (Lv. 3) -->
</item>
<item one="70474" two="70474" chance="5">
<reward id="70475" count="1" type="ON_SUCCESS" /> <!-- Vital Stone (Lv. 5) -->
<reward id="70474" count="1" type="ON_FAILURE" /> <!-- Vital Stone (Lv. 4) -->
</item>
<item one="70466" two="70466" chance="50">
<reward id="70467" count="1" type="ON_SUCCESS" /> <!-- Pearl Stone (Lv. 2) -->
<reward id="70466" count="1" type="ON_FAILURE" /> <!-- Pearl Stone (Lv. 1) -->
</item>
<item one="70467" two="70467" chance="40">
<reward id="70468" count="1" type="ON_SUCCESS" /> <!-- Pearl Stone (Lv. 3) -->
<reward id="70467" count="1" type="ON_FAILURE" /> <!-- Pearl Stone (Lv. 2) -->
</item>
<item one="70468" two="70468" chance="25">
<reward id="70469" count="1" type="ON_SUCCESS" /> <!-- Pearl Stone (Lv. 4) -->
<reward id="70468" count="1" type="ON_FAILURE" /> <!-- Pearl Stone (Lv. 3) -->
</item>
<item one="70469" two="70469" chance="5">
<reward id="70470" count="1" type="ON_SUCCESS" /> <!-- Pearl Stone (Lv. 5) -->
<reward id="70469" count="1" type="ON_FAILURE" /> <!-- Pearl Stone (Lv. 4) -->
</item>
<item one="70461" two="70461" chance="50">
<reward id="70462" count="1" type="ON_SUCCESS" /> <!-- Diamond Stone (Lv. 2) -->
<reward id="70461" count="1" type="ON_FAILURE" /> <!-- Diamond Stone (Lv. 1) -->
</item>
<item one="70462" two="70462" chance="40">
<reward id="70463" count="1" type="ON_SUCCESS" /> <!-- Diamond Stone (Lv. 3) -->
<reward id="70462" count="1" type="ON_FAILURE" /> <!-- Diamond Stone (Lv. 2) -->
</item>
<item one="70463" two="70463" chance="25">
<reward id="70464" count="1" type="ON_SUCCESS" /> <!-- Diamond Stone (Lv. 4) -->
<reward id="70463" count="1" type="ON_FAILURE" /> <!-- Diamond Stone (Lv. 3) -->
</item>
<item one="70464" two="70464" chance="5">
<reward id="70465" count="1" type="ON_SUCCESS" /> <!-- Diamond Stone (Lv. 5) -->
<reward id="70464" count="1" type="ON_FAILURE" /> <!-- Diamond Stone (Lv. 4) -->
</item>
<item one="70446" two="70446" chance="50">
<reward id="70447" count="1" type="ON_SUCCESS" /> <!-- Jade Stone (Lv. 2) -->
<reward id="70446" count="1" type="ON_FAILURE" /> <!-- Jade Stone (Lv. 1) -->
</item>
<item one="70447" two="70447" chance="40">
<reward id="70448" count="1" type="ON_SUCCESS" /> <!-- Jade Stone (Lv. 3) -->
<reward id="70447" count="1" type="ON_FAILURE" /> <!-- Jade Stone (Lv. 2) -->
</item>
<item one="70448" two="70448" chance="25">
<reward id="70449" count="1" type="ON_SUCCESS" /> <!-- Jade Stone (Lv. 4) -->
<reward id="70448" count="1" type="ON_FAILURE" /> <!-- Jade Stone (Lv. 3) -->
</item>
<item one="70449" two="70449" chance="5">
<reward id="70450" count="1" type="ON_SUCCESS" /> <!-- Jade Stone (Lv. 5) -->
<reward id="70449" count="1" type="ON_FAILURE" /> <!-- Jade Stone (Lv. 4) -->
</item>
<item one="70441" two="70441" chance="50">
<reward id="70442" count="1" type="ON_SUCCESS" /> <!-- Garnet Stone (Lv. 2) -->
<reward id="70441" count="1" type="ON_FAILURE" /> <!-- Garnet Stone (Lv. 1) -->
</item>
<item one="70442" two="70442" chance="40">
<reward id="70443" count="1" type="ON_SUCCESS" /> <!-- Garnet Stone (Lv. 3) -->
<reward id="70442" count="1" type="ON_FAILURE" /> <!-- Garnet Stone (Lv. 2) -->
</item>
<item one="70443" two="70443" chance="25">
<reward id="70444" count="1" type="ON_SUCCESS" /> <!-- Garnet Stone (Lv. 4) -->
<reward id="70443" count="1" type="ON_FAILURE" /> <!-- Garnet Stone (Lv. 3) -->
</item>
<item one="70444" two="70444" chance="5">
<reward id="70445" count="1" type="ON_SUCCESS" /> <!-- Garnet Stone (Lv. 5) -->
<reward id="70444" count="1" type="ON_FAILURE" /> <!-- Garnet Stone (Lv. 4) -->
</item>
<item one="70520" two="70520" chance="50">
<reward id="70521" count="1" type="ON_SUCCESS" /> <!-- Aquamarine Stone (Lv. 2) -->
<reward id="70520" count="1" type="ON_FAILURE" /> <!-- Aquamarine Stone (Lv. 1) -->
</item>
<item one="70521" two="70521" chance="40">
<reward id="70522" count="1" type="ON_SUCCESS" /> <!-- Aquamarine Stone (Lv. 3) -->
<reward id="70521" count="1" type="ON_FAILURE" /> <!-- Aquamarine Stone (Lv. 2) -->
</item>
<item one="70522" two="70522" chance="25">
<reward id="70523" count="1" type="ON_SUCCESS" /> <!-- Aquamarine Stone (Lv. 4) -->
<reward id="70522" count="1" type="ON_FAILURE" /> <!-- Aquamarine Stone (Lv. 3) -->
</item>
<item one="70523" two="70523" chance="5">
<reward id="70524" count="1" type="ON_SUCCESS" /> <!-- Aquamarine Stone (Lv. 5) -->
<reward id="70523" count="1" type="ON_FAILURE" /> <!-- Aquamarine Stone (Lv. 4) -->
</item>
<item one="70811" two="70811" chance="50">
<reward id="70812" count="1" type="ON_SUCCESS" /> <!-- Red Cat's Eye Stone (Lv. 2) -->
<reward id="70811" count="1" type="ON_FAILURE" /> <!-- Red Cat's Eye Stone (Lv. 1) -->
</item>
<item one="70812" two="70812" chance="40">
<reward id="70813" count="1" type="ON_SUCCESS" /> <!-- Red Cat's Eye Stone (Lv. 3) -->
<reward id="70812" count="1" type="ON_FAILURE" /> <!-- Red Cat's Eye Stone (Lv. 2) -->
</item>
<item one="70813" two="70813" chance="25">
<reward id="70814" count="1" type="ON_SUCCESS" /> <!-- Red Cat's Eye Stone (Lv. 4) -->
<reward id="70813" count="1" type="ON_FAILURE" /> <!-- Red Cat's Eye Stone (Lv. 3) -->
</item>
<item one="70814" two="70814" chance="5">
<reward id="70815" count="1" type="ON_SUCCESS" /> <!-- Red Cat's Eye Stone (Lv. 5) -->
<reward id="70814" count="1" type="ON_FAILURE" /> <!-- Red Cat's Eye Stone (Lv. 4) -->
</item>
<item one="70816" two="70816" chance="50">
<reward id="70817" count="1" type="ON_SUCCESS" /> <!-- Red Cat's Eye Stone (Lv. 2) -->
<reward id="70816" count="1" type="ON_FAILURE" /> <!-- Red Cat's Eye Stone (Lv. 1) -->
</item>
<item one="70817" two="70817" chance="40">
<reward id="70818" count="1" type="ON_SUCCESS" /> <!-- Red Cat's Eye Stone (Lv. 3) -->
<reward id="70817" count="1" type="ON_FAILURE" /> <!-- Red Cat's Eye Stone (Lv. 2) -->
</item>
<item one="70818" two="70818" chance="25">
<reward id="70819" count="1" type="ON_SUCCESS" /> <!-- Red Cat's Eye Stone (Lv. 4) -->
<reward id="70818" count="1" type="ON_FAILURE" /> <!-- Red Cat's Eye Stone (Lv. 3) -->
</item>
<item one="70819" two="70819" chance="5">
<reward id="70820" count="1" type="ON_SUCCESS" /> <!-- Red Cat's Eye Stone (Lv. 5) -->
<reward id="70819" count="1" type="ON_FAILURE" /> <!-- Red Cat's Eye Stone (Lv. 4) -->
</item>

*Added a custom skill, since I was unaware of the skill ID this should use
..L2J_Mobius\game\data\skills\custom\custom_capsules.xml:
Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/skills.xsd">
<skill id="999001" toLevel="1" name="Shining Jewelry Box">
<icon>icon.etc_bm_jewelbox_main_i01</icon>
<isMagic>2</isMagic> <!-- Static Skill -->
<itemConsumeCount>1</itemConsumeCount>
<itemConsumeId>70829</itemConsumeId>
<magicLvl>1</magicLvl>
<operateType>A1</operateType>
<hitTime>500</hitTime>
<coolTime>500</coolTime>
<magicCriticalRate>5</magicCriticalRate>
<hitCancelTime>0</hitCancelTime>
<targetType>SELF</targetType>
<affectScope>SINGLE</affectScope>
<conditions>
<condition name="OpEncumbered">
<weightPercent>20</weightPercent>
<slotsPercent>10</slotsPercent>
</condition>
</conditions>
<effects>
<effect name="RestorationRandom">
<items>
<item chance="10.0">
<item id="70490" count="1" /> <!-- Ruby Chest -->
</item>
<item chance="10.0">
<item id="70491" count="1" /> <!-- Sapphire Chest -->
</item>
<item chance="10.0">
<item id="70494" count="1" /> <!-- Vital Chest -->
</item>
<item chance="10.0">
<item id="70493" count="1" /> <!-- Pearl Chest -->
</item>
<item chance="10.0">
<item id="70492" count="1" /> <!-- Diamond Chest -->
</item>
<item chance="10.0">
<item id="70489" count="1" /> <!-- Jade Chest -->
</item>
<item chance="10.0">
<item id="70488" count="1" /> <!-- Garnet Chest -->
</item>
<item chance="10.0">
<item id="70525" count="1" /> <!-- Aquamarine Chest -->
</item>
<item chance="10.0">
<item id="70821" count="1" /> <!-- Red Cat's Eye Chest -->
</item>
<item chance="10.0">
<item id="70825" count="1" /> <!-- Blue Cat's Eye Chest -->
</item>
</items>
</effect>
</effects>
</skill>
</list>



Online Mobius

  • Distinguished King
  • *****
    • Posts: 16169