Setting up enchant rates and limits.

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
JMD
Advanced User
Advanced User
Posts: 1440
Joined: Wed Apr 15, 2009 10:07 am

Setting up enchant rates and limits.

Post by JMD »

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.
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Setting up enchant rates and limits.

Post by UnAfraid »

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>
Image
JMD
Advanced User
Advanced User
Posts: 1440
Joined: Wed Apr 15, 2009 10:07 am

Re: Setting up enchant rates and limits.

Post by JMD »

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>
I see, thank you.
Post Reply