EdenEternal Posted July 7, 2012 Posted July 7, 2012 Hello, i'm interesting how to add the system of enchant like that? for Example BlantWeaponChance=68 BowWeaponChance=75 SwordWeaponChance=60 etc Quote
0 Rizlaaa Posted July 7, 2012 Posted July 7, 2012 Well it's simple , the only thing you have to do is to edit RequestEnchantItem.java. You will search where the chance is created and you have to add a check to change it every time. if(item.getItem().getItemType() == L2WeaponType.BOW) chance = 60; That makes bow's enchantment chance 60%. Quote
0 EdenEternal Posted July 7, 2012 Author Posted July 7, 2012 i'm using l2jfrozen pack and there is configs like this: # ---------------------------------------------- # Chance For Normal Scrolls - # ---------------------------------------------- # Weapon NormalWeaponEnchantLevel = 1,100;2,100;3,100;4,96;5,92;6,88;7,84;8,80;9,76;10,72;11,68;12,64;13,60;14,56;15,62;16,58; # Armor NormalArmorEnchantLevel = 1,100;2,100;3,100;4,96;5,92;6,88;7,84;8,80;9,76;10,72;11,68;12,64;13,60;14,56;15,62;16,58; # Jewel NormalJewelryEnchantLevel = 1,100;2,100;3,100;4,95;5,90;6,85;7,80;8,75;9,70;10,65;11,60;12,55;13,50;14,45;15,40;16,35; # ---------------------------------------------- # Chance For Blessed Scrolls - # ---------------------------------------------- # Weapon BlessWeaponEnchantLevel = 1,100;2,100;3,100;4,97;5,94;6,91;7,88;8,85;9,82;10,79;11,76;12,73;13,70;14,67;15,64;16,61; # Armor BlessArmorEnchantLevel = 1,100;2,100;3,100;4,97;5,94;6,91;7,88;8,85;9,82;10,79;11,76;12,73;13,70;14,67;15,64;16,61; # Jewel BlessJewelryEnchantLevel = 1,100;2,100;3,100;4,96;5,92;6,88;7,84;8,80;9,76;10,72;11,68;12,64;13,60;14,56;15,62;16,58; # --------------------------------------------- # Chance For Crystal Scrolls - # --------------------------------------------- # Weapon CrystalWeaponEnchantLevel = 1,100;2,100;3,100;4,98;5,96;6,94;7,92;8,90;9,88;10,86;11,84;12,82;13,80;14,78;15,76;16,74; # Armor CrystalArmorEnchantLevel = 1,100;2,100;3,100;4,98;5,96;6,94;7,92;8,90;9,88;10,86;11,84;12,82;13,80;14,78;15,76;16,74; # Jewel CrystalJewelryEnchantLevel = 1,100;2,100;3,100;4,97;5,94;6,91;7,88;8,85;9,82;10,79;11,76;12,73;13,70;14,67;15,64;16,61; # Safe enchant EnchantSafeMax = 3 EnchantSafeMaxFull = 4 # Crystal Limits CrystalEnchantMin = 0 CrystalEnchantMax = 20 # Max enchant Settings by scrolls. EnchantWeaponMax=21 EnchantArmorMax=21 Will it have problems if i add that configs? Quote
0 Rizlaaa Posted July 7, 2012 Posted July 7, 2012 i'm using l2jfrozen pack and there is configs like this: # ---------------------------------------------- # Chance For Normal Scrolls - # ---------------------------------------------- # Weapon NormalWeaponEnchantLevel = 1,100;2,100;3,100;4,96;5,92;6,88;7,84;8,80;9,76;10,72;11,68;12,64;13,60;14,56;15,62;16,58; # Armor NormalArmorEnchantLevel = 1,100;2,100;3,100;4,96;5,92;6,88;7,84;8,80;9,76;10,72;11,68;12,64;13,60;14,56;15,62;16,58; # Jewel NormalJewelryEnchantLevel = 1,100;2,100;3,100;4,95;5,90;6,85;7,80;8,75;9,70;10,65;11,60;12,55;13,50;14,45;15,40;16,35; # ---------------------------------------------- # Chance For Blessed Scrolls - # ---------------------------------------------- # Weapon BlessWeaponEnchantLevel = 1,100;2,100;3,100;4,97;5,94;6,91;7,88;8,85;9,82;10,79;11,76;12,73;13,70;14,67;15,64;16,61; # Armor BlessArmorEnchantLevel = 1,100;2,100;3,100;4,97;5,94;6,91;7,88;8,85;9,82;10,79;11,76;12,73;13,70;14,67;15,64;16,61; # Jewel BlessJewelryEnchantLevel = 1,100;2,100;3,100;4,96;5,92;6,88;7,84;8,80;9,76;10,72;11,68;12,64;13,60;14,56;15,62;16,58; # --------------------------------------------- # Chance For Crystal Scrolls - # --------------------------------------------- # Weapon CrystalWeaponEnchantLevel = 1,100;2,100;3,100;4,98;5,96;6,94;7,92;8,90;9,88;10,86;11,84;12,82;13,80;14,78;15,76;16,74; # Armor CrystalArmorEnchantLevel = 1,100;2,100;3,100;4,98;5,96;6,94;7,92;8,90;9,88;10,86;11,84;12,82;13,80;14,78;15,76;16,74; # Jewel CrystalJewelryEnchantLevel = 1,100;2,100;3,100;4,97;5,94;6,91;7,88;8,85;9,82;10,79;11,76;12,73;13,70;14,67;15,64;16,61; # Safe enchant EnchantSafeMax = 3 EnchantSafeMaxFull = 4 # Crystal Limits CrystalEnchantMin = 0 CrystalEnchantMax = 20 # Max enchant Settings by scrolls. EnchantWeaponMax=21 EnchantArmorMax=21 Will it have problems if i add that configs? What you mean? You need java side too. Quote
0 EdenEternal Posted July 7, 2012 Author Posted July 7, 2012 now i mean for example i putted 68% on Blunt weapons. and you see this: NormalWeaponEnchantLevel = 1,100;2,100;3,100;4,96;5,92;6,88;7,84;8,80;9,76;10,72;11,68;12,64;13,60;14,56;15,62;16,58; will this two configs have problems with each other? Quote
0 ^Wyatt Posted July 7, 2012 Posted July 7, 2012 When hardcoding something already hardcoded... Yes it's possible to get some problems. My advice for you is to not hardcode it more, but do whatever u want. Quote
Question
EdenEternal
Hello, i'm interesting how to add the system of enchant like that?
for Example
BlantWeaponChance=68
BowWeaponChance=75
SwordWeaponChance=60 etc
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.