enchant rates

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
User avatar
thorl2
Posts: 159
Joined: Fri Mar 20, 2009 9:04 am

enchant rates

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

Re: enchant rates

Post 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.
Image
User avatar
thorl2
Posts: 159
Joined: Fri Mar 20, 2009 9:04 am

Re: enchant rates

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

Re: enchant rates

Post 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.
Image
User avatar
thorl2
Posts: 159
Joined: Fri Mar 20, 2009 9:04 am

Re: enchant rates

Post by thorl2 »

thx!
User avatar
Pandragon
Posts: 704
Joined: Tue Jul 26, 2005 7:38 pm

Re: enchant rates

Post by Pandragon »

Could there be a warning message if item is already at maximum enchant?
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: enchant rates

Post by UnAfraid »

On retail there wasn't, but you can add such.
Image
Post Reply