I need some help. It used to be changing things only on enchantitemdata.xml but its doesnt work the same way anymore.
I want to make it:
Safe +6
Max +20
chance: 60% (Normal and Blessed scrolls)
With the things i tried it either enchant always succeeds or the scroll doesnt enchant at all.
Setting up enchant rates and limits.
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Advanced User
- Posts: 1440
- Joined: Wed Apr 15, 2009 10:07 am
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
Re: Setting up enchant rates and limits.
check enchant data xmls inside data/ folder you can specify max limits in enchantItemData.xml
And u can set enchant rates in enchantItemGroups.xml
For example this will set all enchants to 60%
And u can set enchant rates in enchantItemGroups.xml
For example this will set all enchants to 60%
Code: Select all
<?xml version="1.0" encoding="UTF-8"?><list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="xsd/enchantItemGroups.xsd"> <!-- General enchant group. --> <enchantRateGroup name="UNIFIED_GROUP"> <current enchant="1-65535" chance="60" /> </enchantRateGroup> <!-- Default scrolls enchanting route line. --> <enchantScrollGroup id="0"> <!-- Bind armor group to all item slots except full armor. --> <enchantRate group="UNIFIED_GROUP"> <item slot="lhand" /> <!-- Left hand: Shields, Sigils --> <item slot="head" /> <!-- Head: Helmet --> <item slot="chest" /> <!-- Chest: Armor upper body. --> <item slot="legs" /> <!-- Legs: Armor lower body. --> <item slot="feet" /> <!-- Feet: Boots --> <item slot="gloves" /> <!-- Gloves: Gloves --> <item slot="neck" /> <!-- Neck: Necklaces --> <item slot="rear;lear" /> <!-- Right ear, Left ear: Earrings --> <item slot="rfinger;lfinger" /> <!-- Right finger, Left finger: Rings --> <item slot="belt" /> <!-- Belt: Belts --> <item slot="shirt" /> <!-- Shirt: Shirts --> <item slot="rhand" /> <!-- Right hand: Weapons, Non magic weapon --> <item slot="rhand" /> <!-- Right hand: Weapons, Non magic weapon --> <item slot="fullarmor" /> <!-- Full Armor: Full armor pants are included. --> </enchantRate> </enchantScrollGroup></list>
-
- Advanced User
- Posts: 1440
- Joined: Wed Apr 15, 2009 10:07 am
Re: Setting up enchant rates and limits.
I see, thank you.UnAfraid wrote:check enchant data xmls inside data/ folder you can specify max limits in enchantItemData.xml
And u can set enchant rates in enchantItemGroups.xml
For example this will set all enchants to 60%Code: Select all
<?xml version="1.0" encoding="UTF-8"?><list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="xsd/enchantItemGroups.xsd"> <!-- General enchant group. --> <enchantRateGroup name="UNIFIED_GROUP"> <current enchant="1-65535" chance="60" /> </enchantRateGroup> <!-- Default scrolls enchanting route line. --> <enchantScrollGroup id="0"> <!-- Bind armor group to all item slots except full armor. --> <enchantRate group="UNIFIED_GROUP"> <item slot="lhand" /> <!-- Left hand: Shields, Sigils --> <item slot="head" /> <!-- Head: Helmet --> <item slot="chest" /> <!-- Chest: Armor upper body. --> <item slot="legs" /> <!-- Legs: Armor lower body. --> <item slot="feet" /> <!-- Feet: Boots --> <item slot="gloves" /> <!-- Gloves: Gloves --> <item slot="neck" /> <!-- Neck: Necklaces --> <item slot="rear;lear" /> <!-- Right ear, Left ear: Earrings --> <item slot="rfinger;lfinger" /> <!-- Right finger, Left finger: Rings --> <item slot="belt" /> <!-- Belt: Belts --> <item slot="shirt" /> <!-- Shirt: Shirts --> <item slot="rhand" /> <!-- Right hand: Weapons, Non magic weapon --> <item slot="rhand" /> <!-- Right hand: Weapons, Non magic weapon --> <item slot="fullarmor" /> <!-- Full Armor: Full armor pants are included. --> </enchantRate> </enchantScrollGroup></list>