Enchant Chance

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
Driad
Posts: 366
Joined: Sat Jun 30, 2012 8:25 am
Contact:

Enchant Chance

Post by Driad »

How to change the chance of the point of the weapon/armor/jewelry? I'm using the latest beta version and not found anywhere O.o
User avatar
Zealar
L2j Veteran
L2j Veteran
Posts: 1236
Joined: Sun Jul 15, 2007 10:29 am

Re: Enchant Chance

Post by Zealar »

game\data\enchantItemGroups.xml
Driad
Posts: 366
Joined: Sat Jun 30, 2012 8:25 am
Contact:

Re: Enchant Chance

Post by Driad »

Thanks! Sorry stupid question :D . Close.
Attila
Posts: 441
Joined: Mon May 05, 2014 10:15 am

Re: Enchant Chance

Post by Attila »

L2J Revision Number:5625
L2JDP Revision Number:10426

he do i make all Blessed Scrolls: Enchant Weapon and also all Blessed Scrolls: Enchant Armor
85% enchant rate
and normal schrolls all 70% enchante rate.

i got this enchantItemData.xml
can some help me please

Code: Select all

<?xml version="1.0" encoding="UTF-8"?><list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="xsd/enchantItemData.xsd">    <!-- Scrolls: Enchant Weapon -->    <enchant id="729" targetGrade="A" />    <enchant id="947" targetGrade="B" />    <enchant id="951" targetGrade="C" />    <enchant id="955" targetGrade="D" />    <enchant id="959" targetGrade="S" />     <!-- Scrolls: Enchant Armor -->    <enchant id="730" targetGrade="A" />    <enchant id="948" targetGrade="B" />    <enchant id="952" targetGrade="C" />    <enchant id="956" targetGrade="D" scrollGroupId="0" /> <!-- Default scroll groups binding. -->    <enchant id="960" targetGrade="S" />     <!-- Blessed Scrolls: Enchant Weapon -->    <enchant id="6569" targetGrade="A" />    <enchant id="6571" targetGrade="B" />    <enchant id="6573" targetGrade="C" />    <enchant id="6575" targetGrade="D" />    <enchant id="6577" targetGrade="S"  />    <!-- Blessed Scrolls: Enchant Armor -->    <enchant id="6570" targetGrade="A" />    <enchant id="6572" targetGrade="B" />    <enchant id="6574" targetGrade="C" />    <enchant id="6576" targetGrade="D" />    <enchant id="6578" targetGrade="S" />     <!-- Not used anymore. -->    <!-- Crystal Scrolls: Enchant Weapon -->    <!-- <enchant id="731" targetGrade="A" bonusRate="100" /> -->    <!-- <enchant id="949" targetGrade="B" bonusRate="100" /> -->    <!-- <enchant id="953" targetGrade="C" bonusRate="100" /> -->    <!-- <enchant id="957" targetGrade="D" bonusRate="100" /> -->    <!-- <enchant id="961" targetGrade="S" bonusRate="100" /> -->    <!-- Crystal Scrolls: Enchant Armor -->    <!-- <enchant id="732" targetGrade="A" bonusRate="100" /> -->    <!-- <enchant id="950" targetGrade="B" bonusRate="100" /> -->    <!-- <enchant id="954" targetGrade="C" bonusRate="100" /> -->    <!-- <enchant id="958" targetGrade="D" bonusRate="100" /> -->    <!-- <enchant id="962" targetGrade="S" bonusRate="100" /> -->     <!-- Weapon Enchant Scrolls -->    <enchant id="22006" targetGrade="D" bonusRate="100" />    <enchant id="22007" targetGrade="C" bonusRate="100" />    <enchant id="22008" targetGrade="B" bonusRate="100" />    <enchant id="22009" targetGrade="A" bonusRate="100" />    <enchant id="20517" targetGrade="S" bonusRate="100" />    <!-- Armor Enchant Scrolls -->    <enchant id="22010" targetGrade="D" bonusRate="100" />    <enchant id="22011" targetGrade="C" bonusRate="100" />    <enchant id="22012" targetGrade="B" bonusRate="100" />    <enchant id="22013" targetGrade="A" bonusRate="100" />    <enchant id="20518" targetGrade="S" bonusRate="100" />     <!-- Ancient Weapon Enchant Crystal -->    <enchant id="22014" targetGrade="B" maxEnchant="16" bonusRate="10" />    <enchant id="22015" targetGrade="A" maxEnchant="16" bonusRate="10" />    <enchant id="20519" targetGrade="S" maxEnchant="16" bonusRate="10" />    <!-- Ancient Armor Enchant Crystal -->    <enchant id="22016" targetGrade="B" maxEnchant="16" bonusRate="10" />    <enchant id="22017" targetGrade="A" maxEnchant="16" bonusRate="10" />    <enchant id="20520" targetGrade="S" maxEnchant="16" bonusRate="10" />     <!-- Divine Weapon Enchant Crystal -->    <enchant id="22018" targetGrade="B" bonusRate="100" />    <enchant id="22019" targetGrade="A" bonusRate="100" />    <enchant id="20521" targetGrade="S" bonusRate="100" />    <!-- Divine Armor Enchant Crystal -->    <enchant id="22020" targetGrade="B" bonusRate="100" />    <enchant id="22021" targetGrade="A" bonusRate="100" />    <enchant id="20522" targetGrade="S" bonusRate="100" />     <!-- Scroll: Enchant Weapon of Destruction -->    <enchant id="22221" targetGrade="S" maxEnchant="15" />    <enchant id="22223" targetGrade="A" maxEnchant="15" />    <enchant id="22225" targetGrade="B" maxEnchant="15" />    <enchant id="22227" targetGrade="C" maxEnchant="15" />    <enchant id="22229" targetGrade="D" maxEnchant="15" />    <!-- Scroll: Enchant Armor of Destruction -->    <enchant id="22222" targetGrade="S" maxEnchant="6" />    <enchant id="22224" targetGrade="A" maxEnchant="6" />    <enchant id="22226" targetGrade="B" maxEnchant="6" />    <enchant id="22228" targetGrade="C" maxEnchant="6" />    <enchant id="22230" targetGrade="D" maxEnchant="6" />     <!-- Master Yogi's Scroll: Enchant Weapon -->    <enchant id="13540" maxEnchant="23">        <item id="13539" /> <!-- Staff of Master Yogi -->    </enchant>     <!-- Olf's T-shirt Enchant Scroll -->    <enchant id="21581" maxEnchant="10">        <item id="21580" /> <!-- Olf's T-shirt -->        <item id="21706" /> <!-- Olf's T-shirt (Event) -->    </enchant>     <!-- Blessed Olf's T-shirt Enchant Scroll -->    <enchant id="21582" maxEnchant="10">        <item id="21580" /> <!-- Olf's T-shirt -->        <item id="21706" /> <!-- Olf's T-shirt (Event) -->    </enchant>     <!-- Blessed Olf's T-shirt Enchant Scroll - Event -->    <enchant id="21707" maxEnchant="10">        <item id="21580" /> <!-- Olf's T-shirt -->        <item id="21706" /> <!-- Olf's T-shirt (Event) -->    </enchant>     <!-- Event - Herdsman's Love Scroll Event -->    <enchant id="15381" maxEnchant="16">        <item id="15383" /> <!-- Weaver's Multi-colored Clothes (7-day limited period) -->        <item id="15384" /> <!-- Weaver's Multi-colored Clothes (30-day limited period) -->        <item id="15385" /> <!-- Weaver's Multi-colored Clothes (60-day limited period) -->        <item id="15386" /> <!-- Weaver's Multi-colored Clothes (90-day limited period) -->        <item id="15387" /> <!-- Weaver's Multi-colored Clothes (Permanent Use) -->        <item id="15388" /> <!-- Weaver's Multi-colored Clothes (Event) (7-day limited period) -->        <item id="15389" /> <!-- Weaver's Multi-colored Clothes (Event) (30-day limited period) -->        <item id="15390" /> <!-- Weaver's Multi-colored Clothes (Event) (60-day limited period) -->        <item id="15391" /> <!-- Weaver's Multi-colored Clothes (Event) (90-day limited period) -->        <item id="15392" /> <!-- Weaver's Multi-colored Clothes (Event) (Permanent Use) -->    </enchant>     <!-- Event - Vitality Belt Enchant Scroll -->    <enchant id="15382" maxEnchant="50">        <item id="15393" /> <!-- Vitality Belt (7-day limited period) -->        <item id="15394" /> <!-- Vitality Belt (30-day limited period) -->        <item id="15395" /> <!-- Vitality Belt (60-day limited period) -->        <item id="15396" /> <!-- Vitality Belt (90-day limited period) -->        <item id="15397" /> <!-- Vitality Belt (Permanent Use) -->        <item id="15398" /> <!-- Vitality Belt (Event) (7-day limited period) -->        <item id="15399" /> <!-- Vitality Belt (Event) (30-day limited period) -->        <item id="15400" /> <!-- Vitality Belt (Event) (60-day limited period) -->        <item id="15401" /> <!-- Vitality Belt (Event) (90-day limited period) -->        <item id="15402" /> <!-- Vitality Belt (Event) (Permanent Use) -->    </enchant>     <!-- Weapon enhancing scroll exclusive for PC cafe -->    <enchant id="15346" targetGrade="S">        <item id="15313" /> <!-- Player Commendation - Forgotten Blade (Player Recommendation Weapon) -->        <item id="15314" /> <!-- Player Commendation - Basalt Battlehammer (Player Recommendation Weapon) -->        <item id="15315" /> <!-- Player Commendation - Imperial Staff (Player Recommendation Weapon) -->        <item id="15316" /> <!-- Player Commendation - Angel Slayer (Player Recommendation Weapon) -->        <item id="15317" /> <!-- Player Commendation - Dragon Hunter Axe (Player Recommendation Weapon) -->        <item id="15318" /> <!-- Player Commendation - Saint Spear (Player Recommendation Weapon) -->        <item id="15319" /> <!-- Player Commendation - Demon Splinter (Player Recommendation Weapon) -->        <item id="15320" /> <!-- Player Commendation - Heaven's Divider (Player Recommendation Weapon) -->        <item id="15321" /> <!-- Player Commendation - Arcana Macw (Player Recommendation Weapon) -->        <item id="15322" /> <!-- Player Commendation - Draconic Bow (Player Recommendation Weapon) -->        <item id="15323" /> <!-- Player Commendation - Laevateinn (Player Recommendation Weapon) -->        <item id="15324" /> <!-- Player Commendation - Gram (Player Recommendation Weapon) -->        <item id="15325" /> <!-- Player Commendation - Sarunga (Player Recommendation Weapon) -->        <item id="15326" /> <!-- Player Commendation - Tallum Blade *Dark Legion's Edge (Player Recommendation Weapon) -->    </enchant>    <enchant id="15347" targetGrade="A">        <item id="13210" /> <!-- Player Commendation - Sirra's Blade (Player Commendation Weapon) -->        <item id="13211" /> <!-- Player Commendation - Sword of Ipos (Player Commendation Weapon) -->        <item id="13212" /> <!-- Player Commendation - Barakiel's Axe (Player Commendation Weapon) -->        <item id="13213" /> <!-- Player Commendation - Behemoth Tuning Fork (Player Commendation Weapon) -->        <item id="13214" /> <!-- Player Commendation - Naga Storm (Player Commendation Weapon) -->        <item id="13215" /> <!-- Player Commendation - Tiphon's Spear (Player Commendation Weapon) -->        <item id="13216" /> <!-- Player Commendation - Shyeed's Bow (Player Commendation Weapon) -->        <item id="13217" /> <!-- Player Commendation - Sobekk's Hurricane (Player Commendation Weapon) -->        <item id="13218" /> <!-- Player Commendation - Themis' Tongue (Player Commendation Weapon) -->        <item id="13219" /> <!-- Player Commendation - Cabrio's Hand (Player Commendation Weapon) -->        <item id="13220" /> <!-- Player Commendation - Daimon Crystal (Player Commendation Weapon) -->        <item id="13221" /> <!-- Player Commendation - Tallum Blade*Damascus (Player Commendation Weapon) -->        <item id="13222" /> <!-- Player Commendation - Eclair Bijou (Player Commendation Weapon) -->        <item id="13223" /> <!-- Player Commendation - Durendal (Player Commendation Weapon) -->        <item id="13224" /> <!-- Player Commendation - Screaming Vengeance (Player Commendation Weapon) -->    </enchant>    <enchant id="15348" targetGrade="B">        <item id="13194" /> <!-- Player Commendation - Damascus Sword (Player Commendation Weapon) -->        <item id="13195" /> <!-- Player Commendation - Lance (Player Commendation Weapon) -->        <item id="13196" /> <!-- Player Commendation - Deadman's Glory (Player Commendation Weapon) -->        <item id="13197" /> <!-- Player Commendation - Art of Battle Axe (Player Commendation Weapon) -->        <item id="13198" /> <!-- Player Commendation - Staff of Evil Spirits (Player Commendation Weapon) -->        <item id="13199" /> <!-- Player Commendation - Devil's Dagger (Player Commendation Weapon) -->        <item id="13200" /> <!-- Player Commendation - Bellion Cestus (Player Commendation Weapon) -->        <item id="13201" /> <!-- Player Commendation - Bow of Peril (Player Commendation Weapon) -->        <item id="13202" /> <!-- Player Commendation - Samurai*Samurai (Player Commendation Weapon) -->        <item id="13203" /> <!-- Player Commendation - Guardian's Sword (Player Commendation Weapon) -->        <item id="13204" /> <!-- Player Commendation - Wizard's Tear (Player Commendation Weapon) -->        <item id="13205" /> <!-- Player Commendation - Kaim Vanul's Bones (Player Commendation Weapon) -->        <item id="13206" /> <!-- Player Commendation - Star Buster (Player Commendation Weapon) -->        <item id="13207" /> <!-- Player Commendation - Colichemarde (Player Commendation Weapon) -->        <item id="13208" /> <!-- Player Commendation - Dismantler (Player Commendation Weapon) -->        <item id="13209" /> <!-- Player Commendation - Hell Hound (Player Commendation Weapon) -->    </enchant>    <enchant id="15349" targetGrade="C">        <item id="13178" /> <!-- Player Commendation - Samurai Long Sword (Player Commendation Weapon) -->        <item id="13179" /> <!-- Player Commendation - Ghost's Wand (Player Commendation Weapon) -->        <item id="13180" /> <!-- Player Commendation - Ghoul's Wand (Player Commendation Weapon) -->        <item id="13181" /> <!-- Player Commendation - Devil's Wand (Player Commendation Weapon) -->        <item id="13182" /> <!-- Player Commendation - Crystal Dagger (Player Commendation Weapon) -->        <item id="13183" /> <!-- Player Commendation - Great Pata (Player Commendation Weapon) -->        <item id="13184" /> <!-- Player Commendation - Eminence Bow (Player Commendation Weapon) -->        <item id="13185" /> <!-- Player Commendation - Orcish Poleaxe (Player Commendation Weapon) -->        <item id="13186" /> <!-- Player Commendation - Yaksa Mace (Player Commendation Weapon) -->        <item id="13187" /> <!-- Player Commendation - Shamshir*Shamshir (Player Commendation Weapon) -->        <item id="13188" /> <!-- Player Commendation - Admiral's Estoc (Player Commendation Weapon) -->        <item id="13189" /> <!-- Player Commendation - Saber Tooth (Player Commendation Weapon) -->        <item id="13190" /> <!-- Player Commendation - Sharpshooter (Player Commendation Weapon) -->        <item id="13191" /> <!-- Player Commendation - Ecliptic Sword (Player Commendation Weapon) -->        <item id="13192" /> <!-- Player Commendation - Ecliptic Axe (Player Commendation Weapon) -->        <item id="13193" /> <!-- Player Commendation - Dwarven Hammer (Player Commendation Weapon) -->    </enchant>    <enchant id="15350" targetGrade="D">        <item id="13163" /> <!-- Player Commendation - Bastard*Crimson Sword (Player Commendation Weapon) -->        <item id="13164" /> <!-- Player Commendation - Claymore (Player Commendation Weapon) -->        <item id="13165" /> <!-- Player Commendation - Bonebreaker (Player Commendation Weapon) -->        <item id="13166" /> <!-- Player Commendation - Atuba Hammer (Player Commendation Weapon) -->        <item id="13167" /> <!-- Player Commendation - Ghost's Wand (Player Commendation Weapon) -->        <item id="13168" /> <!-- Player Commendation - Hall of Life (Player Commendation Weapon) -->        <item id="13169" /> <!-- Player Commendation - Atuba Mace (Player Commendation Weapon) -->        <item id="13170" /> <!-- Player Commendation - Mithril Dagger (Player Commendation Weapon) -->        <item id="13171" /> <!-- Player Commendation - Scallop Jamadhr (Player Commendation Weapon) -->        <item id="13172" /> <!-- Player Commendation - Crossbow (Player Commendation Weapon) -->        <item id="13173" /> <!-- Player Commendation - Glaive (Player Commendation Weapon) -->        <item id="13174" /> <!-- Player Commendation - Elven Long Sword (Player Commendation Weapon) -->        <item id="13175" /> <!-- Player Commendation - Grand Epee (Player Commendation Weapon) -->        <item id="13176" /> <!-- Player Commendation - General Katzbalger (Player Commendation Weapon) -->        <item id="13177" /> <!-- Player Commendation - Cranequin (Player Commendation Weapon) -->    </enchant>     <!-- Weapon-Type Enhance Backup Stone -->    <support id="12362" targetGrade="D" maxEnchant="9" bonusRate="20" />    <support id="12363" targetGrade="C" maxEnchant="9" bonusRate="18" />    <support id="12364" targetGrade="B" maxEnchant="9" bonusRate="15" />    <support id="12365" targetGrade="A" maxEnchant="9" bonusRate="12" />    <support id="12366" targetGrade="S" maxEnchant="9" bonusRate="10" />     <!-- Armor-Type Enhance Backup Stone -->    <support id="12367" targetGrade="D" maxEnchant="9" bonusRate="35" />    <support id="12368" targetGrade="C" maxEnchant="9" bonusRate="27" />    <support id="12369" targetGrade="B" maxEnchant="9" bonusRate="23" />    <support id="12370" targetGrade="A" maxEnchant="9" bonusRate="18" />    <support id="12371" targetGrade="S" maxEnchant="9" bonusRate="15" />     <!-- Agathion Auxiliary Stone: Enchant Weapon -->    <support id="14702" targetGrade="D" maxEnchant="9" bonusRate="20" />    <support id="14703" targetGrade="C" maxEnchant="9" bonusRate="18" />    <support id="14704" targetGrade="B" maxEnchant="9" bonusRate="15" />    <support id="14705" targetGrade="A" maxEnchant="9" bonusRate="12" />    <support id="14706" targetGrade="S" maxEnchant="9" bonusRate="10" />     <!-- Agathion Auxiliary Stone: Enchant Armor -->    <support id="14707" targetGrade="D" maxEnchant="9" bonusRate="35" />    <support id="14708" targetGrade="C" maxEnchant="9" bonusRate="27" />    <support id="14709" targetGrade="B" maxEnchant="9" bonusRate="23" />    <support id="14710" targetGrade="A" maxEnchant="9" bonusRate="18" />    <support id="14711" targetGrade="S" maxEnchant="9" bonusRate="15" /></list>
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Enchant Chance

Post by UnAfraid »

Zealar wrote:game\data\enchantItemGroups.xml
Not enchantItemData.xml!
Image
Attila
Posts: 441
Joined: Mon May 05, 2014 10:15 am

Re: Enchant Chance

Post by Attila »

UnAfraid wrote:
Zealar wrote:game\data\enchantItemGroups.xml
Not enchantItemData.xml!
lol
but how do i make that bless schrolls chance 85%
and normal scrolls 70% how do i do that
can you made a example please

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 armor enchant group. -->    <enchantRateGroup name="ARMOR_GROUP">        <current enchant="0-2" chance="100" />        <current enchant="3" chance="100" />        <current enchant="4" chance="100" />        <current enchant="5" chance="25" />        <current enchant="6" chance="20" />        <current enchant="7" chance="16.67" />        <current enchant="8" chance="14.29" />        <current enchant="9" chance="12.5" />        <current enchant="10" chance="11.12" />        <current enchant="11" chance="10.0" />        <current enchant="12" chance="9.10" />        <current enchant="13" chance="8.34" />        <current enchant="14" chance="7.70" />        <current enchant="15" chance="7.15" />        <current enchant="16" chance="6.67" />        <current enchant="17" chance="6.25" />        <current enchant="18" chance="5.89" />        <current enchant="19" chance="5.56" />        <current enchant="20-65535" chance="0" />    </enchantRateGroup>     <!-- General full armor enchant group. -->    <enchantRateGroup name="FULL_ARMOR_GROUP">        <current enchant="0-3" chance="100" />        <current enchant="4" chance="100" />        <current enchant="5" chance="33.34" />        <current enchant="6" chance="25" />        <current enchant="7" chance="20" />        <current enchant="8" chance="16.67" />        <current enchant="9" chance="14.29" />        <current enchant="10" chance="12.5" />        <current enchant="11" chance="11.12" />        <current enchant="12" chance="10.0" />        <current enchant="13" chance="9.10" />        <current enchant="14" chance="8.34" />        <current enchant="15" chance="7.70" />        <current enchant="16" chance="7.15" />        <current enchant="17" chance="6.67" />        <current enchant="18" chance="6.25" />        <current enchant="19" chance="5.89" />        <current enchant="20-65535" chance="0" />    </enchantRateGroup>     <!-- General fighter weapon enchant group. -->    <enchantRateGroup name="FIGHTER_WEAPON_GROUP">        <current enchant="0-4" chance="100" />        <current enchant="5-14" chance="70" />        <current enchant="15-65535" chance="20" />    </enchantRateGroup>     <!-- General mage weapon enchant group. -->    <enchantRateGroup name="MAGE_WEAPON_GROUP">        <current enchant="0-4" chance="100" />        <current enchant="5-14" chance="70" />        <current enchant="15-65535" chance="20" />    </enchantRateGroup>     <!-- 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></list>
User avatar
CostyKiller
Posts: 220
Joined: Mon Aug 10, 2009 11:48 pm
Location: Romania

Re: Enchant Chance

Post by CostyKiller »

You have to edit that values with the ones you need.

current enchant - is the current enchant of the item
chance - is the chance for the item with the current enchant specified

If you want safe enchant 5 and chance 70% then you must put
<current enchant="0-4" chance="100" />,
after that from +5 to +19 you set chance to 70% with
<current enchant="5-19" chance="70" />,
and from +20 every item wil break with this
<current enchant="20-65535" chance="0" />.

You need to edit this to every group (ARMOR_GROUP, FULL_ARMOR_GROUP, FIGHTER_WEAPON_GROUP, MAGE_WEAPON_GROUP)

To set blessed enchant rate you need to edit enchantItemData.xml and add bonusRate to blessed enchants.

bonusRate - is the difference between the normal chance and blessed chance.

For example if you want 85% blessed chance you must add bonusRate="15" like this:

Code: Select all

    <!-- Blessed Scrolls: Enchant Weapon -->    <enchant id="6569" targetGrade="A" bonusRate="15" />    <enchant id="6571" targetGrade="B" bonusRate="15" />    <enchant id="6573" targetGrade="C" bonusRate="15" />    <enchant id="6575" targetGrade="D" bonusRate="15" />    <enchant id="6577" targetGrade="S" bonusRate="15" />    <!-- Blessed Scrolls: Enchant Armor -->    <enchant id="6570" targetGrade="A" bonusRate="15" />    <enchant id="6572" targetGrade="B" bonusRate="15" />    <enchant id="6574" targetGrade="C" bonusRate="15" />    <enchant id="6576" targetGrade="D" bonusRate="15" />    <enchant id="6578" targetGrade="S" bonusRate="15" /> 
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Enchant Chance

Post by UnAfraid »

70 * 1.15 = 80.5
Image
User avatar
CostyKiller
Posts: 220
Joined: Mon Aug 10, 2009 11:48 pm
Location: Romania

Re: Enchant Chance

Post by CostyKiller »

I think is added not multiplied.
http://i58.tinypic.com/345irm1.png
Image
Driad
Posts: 366
Joined: Sat Jun 30, 2012 8:25 am
Contact:

Re: Enchant Chance

Post by Driad »

I have a chance sharpening 92% -2 successful enchantment.
How do I set a separate chance for Olfs 70%?
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Enchant Chance

Post by UnAfraid »

Create new scroll group and bind enchant scrolls to it.
Create mapping for the new scroll group and done.
enchantItemData.xml - to set scroll group
enchantItemOptions.xml - create the mapping of the new scroll group
Image
Driad
Posts: 366
Joined: Sat Jun 30, 2012 8:25 am
Contact:

Re: Enchant Chance

Post by Driad »

Did not understand. Can be an example?
Driad
Posts: 366
Joined: Sat Jun 30, 2012 8:25 am
Contact:

Re: Enchant Chance

Post by Driad »

Driad wrote:Did not understand. Can be an example?
Help please :oops:
Post Reply