L2JMobius

Classic Zaken BUG: (ARMOR SET) Plated leather giving wrong bonuses. (FIX INCLUDED)

YulRun · 2 · 6308

Offline YulRun

  • Heir
  • **
    • Posts: 23
Bug: Armor set would add +4 STR and -1 CON at 2 pieces, and then an additional +4 STR and -1 CON at 3 pieces.
Solution: Only have the +4 STR and -1 CON at 3 Pieces, rather than a total of +8 STR and -2 CON.

Previous code in Armorsets.xml:
Code: [Select]
<set id="13" minimumPieces="2">
<requiredItems>
<item id="398" /> <!-- Plated Leather Armor -->
<item id="418" /> <!-- Plated Leather Gaiters -->
<item id="2431" /> <!-- Plated Leather Boots -->
</requiredItems>
<skills>
<skill id="3006" level="1" minimumPieces="2" /> <!-- Equip Set Items -->
<skill id="3511" level="1" minimumPieces="2" /> <!-- Plated Leather Set -->
<skill id="3511" level="2" minimumPieces="3" /> <!-- Plated Leather Set -->
<skill id="13340" level="1" minimumEnchant="6" minimumPieces="3" /> <!-- Light Armor Set +6 -->
<skill id="13340" level="2" minimumEnchant="7" minimumPieces="3" /> <!-- Light Armor Set +7 -->
<skill id="13340" level="3" minimumEnchant="8" minimumPieces="3" /> <!-- Light Armor Set +8 -->
<skill id="13340" level="4" minimumEnchant="9" minimumPieces="3" /> <!-- Light Armor Set +9 -->
<skill id="13340" level="5" minimumEnchant="10" minimumPieces="3" /> <!-- Light Armor Set +10 -->
</skills>
<stats>
<stat type="STR" val="4" />
<stat type="CON" val="-1" />
</stats>
</set>

New Code in Armorsets.xml:
Code: [Select]
<set id="13" minimumPieces="2">
<requiredItems>
<item id="398" /> <!-- Plated Leather Armor -->
<item id="418" /> <!-- Plated Leather Gaiters -->
<item id="2431" /> <!-- Plated Leather Boots -->
</requiredItems>
<skills>
<skill id="3006" level="1" minimumPieces="2" /> <!-- Equip Set Items -->
<skill id="3511" level="1" minimumPieces="2" /> <!-- Plated Leather Set -->
<skill id="3511" level="2" minimumPieces="3" /> <!-- Plated Leather Set -->
<skill id="13340" level="1" minimumEnchant="6" minimumPieces="3" /> <!-- Light Armor Set +6 -->
<skill id="13340" level="2" minimumEnchant="7" minimumPieces="3" /> <!-- Light Armor Set +7 -->
<skill id="13340" level="3" minimumEnchant="8" minimumPieces="3" /> <!-- Light Armor Set +8 -->
<skill id="13340" level="4" minimumEnchant="9" minimumPieces="3" /> <!-- Light Armor Set +9 -->
<skill id="13340" level="5" minimumEnchant="10" minimumPieces="3" /> <!-- Light Armor Set +10 -->
</skills>
</set>