Page 1 of 1

enchant rates

Posted: Tue Jul 30, 2013 9:56 pm
by thorl2
L2J Revision 6126
L2JDP Revision 9887

After the last enchant update I can't find where to modify the:

- enchant safe
- max enchant
- enchant rate

I edit enchantData.xml but give error: undefined scroll have been used id: 960

How can I edit for example scroll 960 to be safe till +10, enchant rate 90% and max till +20?

can anyone tell me where to look? Is not in config any more

Re: enchant rates

Posted: Tue Jul 30, 2013 10:26 pm
by UnAfraid
Enchant rate is now different per armor,full armor/weapon fighter, mage.
check enchantData.xml and enchantItemGroups.xml

And make sure server loads up all enchants looks like u made a typo that prevented server from loading other enchants.

Re: enchant rates

Posted: Tue Jul 30, 2013 10:44 pm
by thorl2
yes I found the error I tryed to add like this

<enchant id="960" isWeapon="false" targetGrade="s" maxEnchant="20" successRate="90" />


instead of successRate now is bonusRate ?


I really can't find safe enchant in enchantItemGroups.xml or is to complicate it to understand it...

Re: enchant rates

Posted: Tue Jul 30, 2013 10:55 pm
by UnAfraid
scroll land rate is generalized all of them have same.
bonus rate simply increases the base rate with the specified value not setting it.

look at the enchantItemGroups.xml file i made it ultra easy to understand there's comments all over the file.

Code: Select all

    <!-- General mage weapon enchant group. -->    <enchantRateGroup name="MAGE_WEAPON_GROUP">        <current enchant="0-2" chance="100" />        <current enchant="3-14" chance="40" />        <current enchant="15-65535" chance="20" />    </enchantRateGroup>
Means that all mage weapons will have safe enchant from 0 to 2 (that's current item enchant level not next step!)
So safe to +3

Code: Select all

<!-- Default scrolls enchanting route line. -->    <enchantScrollGroup id="0">        <!-- Bind armor group to all item slots except full armor. -->        <enchantRate group="ARMOR_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 -->        </enchantRate>        <!-- Bind only full armor group to to full armor slot items. -->        <enchantRate group="FULL_ARMOR_GROUP">            <item slot="fullarmor" /> <!-- Full Armor: Full armor pants are included. -->        </enchantRate>        <!-- Bind only fighter weapon group to all fighter weapons. -->        <enchantRate group="FIGHTER_WEAPON_GROUP">            <item slot="rhand" magicWeapon="false" /> <!-- Right hand: Weapons, Non magic weapon -->            <item slot="lrhand" magicWeapon="false" /> <!-- Two hands: Weapons, Non magic weapon -->        </enchantRate>        <!-- Bind only mage weapon group to all magic weapons. -->        <enchantRate group="MAGE_WEAPON_GROUP">            <item slot="rhand" magicWeapon="true" /> <!-- Right hand: Weapons, Magic weapon -->            <item slot="lrhand" magicWeapon="true" /> <!-- Two hands: Weapons, Magic weapon -->        </enchantRate>    </enchantScrollGroup>
Here u bind group to an item by slot or magical state or item id if needed.

There u can create your own group and bind it to specific item or change existing ones if u need.

Re: enchant rates

Posted: Wed Jul 31, 2013 5:51 am
by thorl2
thx!

Re: enchant rates

Posted: Thu Sep 05, 2013 4:22 pm
by Pandragon
Could there be a warning message if item is already at maximum enchant?

Re: enchant rates

Posted: Fri Sep 06, 2013 8:12 pm
by UnAfraid
On retail there wasn't, but you can add such.