Page 1 of 1

Setting up enchant rates and limits.

Posted: Sun Jun 01, 2014 1:03 pm
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.

Re: Setting up enchant rates and limits.

Posted: Sun Jun 01, 2014 1:08 pm
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>

Re: Setting up enchant rates and limits.

Posted: Sun Jun 01, 2014 1:48 pm
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.