L2JMobius

Prelude of War Sapphire / Ruby jewel brooch FIX

markuss · 1 · 5683

Offline markuss

  • Vassal
  • *
    • Posts: 2
EDIT: Patch with complete fix (also for Sapphire) removed useless skills (also active skills) + fixed stats
pastebin: https://pastebin.com/CBLdBmfx

Hi guys I just fixed Greater ruby brooch jewels (same thing u can do with sapphire :) )

Code below is just part of items data what u need to do is only setup them right skill level

Code: [Select]
<item id="47688" name="Greater Ruby" additionalName="Lv. 1" type="Armor">
<!-- When equipped, increases Soulshot and Beast Soulshot damage by 20% and P. Atk. By 9%. Effect does not stack with additional jewels of the same type. Equipping various Greater Jewels will grant additional effects. -->
<set name="icon" val="icon.bm_jewel_ssdmg_high_lv1_lavianrose" />
<set name="default_action" val="EQUIP" />
<set name="bodypart" val="brooch_jewel" />
<set name="immediate_effect" val="true" />
<set name="weight" val="5" />
<set name="is_sellable" val="false" />
<skills>
<skill id="18715" level="6" /> <!-- Greater Ruby -->
<skill id="18716" level="1" /> <!-- Greater Ruby -->
<skill id="18717" level="6" /> <!-- Ruby -->
</skills>
</item>
<item id="48771" name="Greater Ruby" additionalName="Lv. 2" type="Armor">
<!-- When equipped, increases Damage by 20% and P. Atk. by 10% for Soulshot and Beast Soulshot. If identical Gems are equipped, only the effect of the highest level Gem is applied. Equipping various Greater Gems will grant additional effects. -->
<set name="icon" val="icon.bm_jewel_ssdmg_high_lv1_lavianrose" />
<set name="default_action" val="EQUIP" />
<set name="bodypart" val="brooch_jewel" />
<set name="immediate_effect" val="true" />
<set name="weight" val="5" />
<set name="is_sellable" val="false" />
<skills>
<skill id="18715" level="7" /> <!-- Greater Ruby -->
<skill id="18716" level="1" /> <!-- Greater Ruby -->
<skill id="18717" level="7" /> <!-- Ruby -->
</skills>
</item>
<item id="48772" name="Greater Ruby" additionalName="Lv. 3" type="Armor">
<!-- When equipped, increases Damage by 20% and P. Atk. by 11% for Soulshot and Beast Soulshot. If identical Gems are equipped, only the effect of the highest level Gem is applied. Equipping various Greater Gems will grant additional effects. -->
<set name="icon" val="icon.bm_jewel_ssdmg_high_lv1_lavianrose" />
<set name="default_action" val="EQUIP" />
<set name="bodypart" val="brooch_jewel" />
<set name="immediate_effect" val="true" />
<set name="weight" val="5" />
<set name="is_sellable" val="false" />
<skills>
<skill id="18715" level="8" /> <!-- Greater Ruby -->
<skill id="18716" level="1" /> <!-- Greater Ruby -->
<skill id="18717" level="8" /> <!-- Ruby -->
</skills>
</item>
<item id="48773" name="Greater Ruby" additionalName="Lv. 4" type="Armor">
<!-- When equipped, increases Damage by 20% and P. Atk. by 13% for Soulshot and Beast Soulshot. If identical Gems are equipped, only the effect of the highest level Gem is applied. Equipping various Greater Gems will grant additional effects. -->
<set name="icon" val="icon.bm_jewel_ssdmg_high_lv1_lavianrose" />
<set name="default_action" val="EQUIP" />
<set name="bodypart" val="brooch_jewel" />
<set name="immediate_effect" val="true" />
<set name="weight" val="5" />
<set name="is_sellable" val="false" />
<skills>
<skill id="18715" level="9" /> <!-- Greater Ruby -->
<skill id="18716" level="1" /> <!-- Greater Ruby -->
<skill id="18717" level="9" /> <!-- Ruby -->
</skills>
</item>
<item id="48774" name="Greater Ruby" additionalName="Lv. 5" type="Armor">
<!-- When equipped, increases Damage by 20% and P. Atk. by 15% for Soulshot and Beast Soulshot. If identical Gems are equipped, only the effect of the highest level Gem is applied. Equipping various Greater Gems will grant additional effects. -->
<set name="icon" val="icon.bm_jewel_ssdmg_high_lv1_lavianrose" />
<set name="default_action" val="EQUIP" />
<set name="bodypart" val="brooch_jewel" />
<set name="immediate_effect" val="true" />
<set name="weight" val="5" />
<set name="is_sellable" val="false" />
<skills>
<skill id="18715" level="10" /> <!-- Greater Ruby -->
<skill id="18716" level="1" /> <!-- Greater Ruby -->
<skill id="18717" level="10" /> <!-- Ruby -->
</skills>
</item>

here is a one skill which belongs to skill data

Code: [Select]
<skill id="18715" toLevel="10" name="Greater Ruby">
<!-- Soulshot Damage +20%. -->
<icon>icon.bm_jewel_ssdmg_high_lv1_lavianrose</icon>
<operateType>P</operateType>
<magicCriticalRate>5</magicCriticalRate>
<magicLevel>1</magicLevel>
<effects>
<effect name="PAtk">
<amount>
<value level="6">9</value>
<value level="7">10</value>
<value level="8">11</value>
<value level="9">13</value>
<value level="10">15</value>
</amount>
<mode>PER</mode>
</effect>
</effects>
</skill>

and do not forget to change bonuses for greater ruby cause are bad provided

org\l2jmobius\gameserver\enums\BroochJewel.java

Code: [Select]
GREATER_RUBY_LV1(47688, 18715, 0.2, true),
GREATER_RUBY_LV2(48771, 18715, 0.2, true),
GREATER_RUBY_LV3(48772, 18715, 0.2, true),
GREATER_RUBY_LV4(48773, 18715, 0.2, true),
GREATER_RUBY_LV5(48774, 18715, 0.2, true),