Advertisement
Guest User

Enchant Config aCis

a guest
Feb 21st, 2015
607
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 24.51 KB | None | 0 0
  1. ### Eclipse Workspace Patch 1.0
  2.     #P aCis
  3.     Index: gameserver/java/net/sf/l2j/Config.java
  4.     ===================================================================
  5.     --- gameserver/java/net/sf/l2j/Config.java      (revision 90)
  6.     +++ gameserver/java/net/sf/l2j/Config.java      (working copy)
  7.     @@ -34,6 +34,8 @@
  8.      import java.util.logging.Logger;
  9.      
  10.      import javolution.util.FastList;
  11.     +import javolution.util.FastMap;
  12.     +import javolution.text.TypeFormat;
  13.      import net.sf.l2j.util.StringUtil;
  14.      
  15.      /**
  16.     @@ -322,9 +324,17 @@
  17.          public static int ALT_GAME_FREIGHT_PRICE;
  18.          
  19.          /** Enchant */
  20.     -    public static int ENCHANT_CHANCE_WEAPON;
  21.     -    public static int ENCHANT_CHANCE_ARMOR;
  22.     -    public static int ENCHANT_CHANCE_JEWELRY;
  23.     +       public final static FastMap<Integer, Integer> NORMAL_WEAPON_ENCHANT_LEVEL = new FastMap<Integer, Integer>();
  24.     +       public final static FastMap<Integer, Integer> BLESS_WEAPON_ENCHANT_LEVEL = new FastMap<Integer, Integer>();
  25.     +       public final static FastMap<Integer, Integer> CRYTAL_WEAPON_ENCHANT_LEVEL = new FastMap<Integer, Integer>();
  26.     +
  27.     +       public final static FastMap<Integer, Integer> NORMAL_ARMOR_ENCHANT_LEVEL = new FastMap<Integer, Integer>();
  28.     +       public final static FastMap<Integer, Integer> BLESS_ARMOR_ENCHANT_LEVEL = new FastMap<Integer, Integer>();
  29.     +       public final static FastMap<Integer, Integer> CRYSTAL_ARMOR_ENCHANT_LEVEL = new FastMap<Integer, Integer>();
  30.     +
  31.     +       public final static FastMap<Integer, Integer> NORMAL_JEWELRY_ENCHANT_LEVEL = new FastMap<Integer, Integer>();
  32.     +       public final static FastMap<Integer, Integer> BLESS_JEWELRY_ENCHANT_LEVEL = new FastMap<Integer, Integer>();
  33.     +       public final static FastMap<Integer, Integer> CRYSTAL_JEWELRY_ENCHANT_LEVEL = new FastMap<Integer, Integer>();
  34.          public static int ENCHANT_MAX_WEAPON;
  35.          public static int ENCHANT_MAX_ARMOR;
  36.          public static int ENCHANT_MAX_JEWELRY;
  37.     @@ -917,9 +927,99 @@
  38.                         ALT_GAME_FREIGHTS           = Boolean.parseBoolean(playersSettings.getProperty("AltGameFreights", "False"));
  39.                      ALT_GAME_FREIGHT_PRICE         = Integer.parseInt(playersSettings.getProperty("AltGameFreightPrice", "1000"));
  40.      
  41.     -                ENCHANT_CHANCE_WEAPON          = Integer.parseInt(playersSettings.getProperty("EnchantChanceWeapon", "66"));
  42.     -                ENCHANT_CHANCE_ARMOR   = Integer.parseInt(playersSettings.getProperty("EnchantChanceArmor", "66"));
  43.     -                ENCHANT_CHANCE_JEWELRY  = Integer.parseInt(playersSettings.getProperty("EnchantChanceJewelry", "66"));
  44.     +                       String[] propertySplit = playersSettings.getProperty("NormalWeaponEnchantLevel", "").split(";");
  45.     +                       for(String readData : propertySplit)
  46.     +                       {
  47.     +                               String[] writeData = readData.split(",");
  48.     +                               if(writeData.length != 2) continue;
  49.     +                               try {
  50.     +                                       NORMAL_WEAPON_ENCHANT_LEVEL.put(TypeFormat.parseInt(writeData[0]), TypeFormat.parseInt(writeData[1]));
  51.     +                               } catch(NumberFormatException nfe) {}
  52.     +                       }
  53.     +
  54.     +                       propertySplit = playersSettings.getProperty("BlessWeaponEnchantLevel", "").split(";");
  55.     +                       for(String readData : propertySplit)
  56.     +                       {
  57.     +                               String[] writeData = readData.split(",");
  58.     +                               if(writeData.length != 2) continue;
  59.     +                               try {
  60.     +                                       BLESS_WEAPON_ENCHANT_LEVEL.put(TypeFormat.parseInt(writeData[0]), TypeFormat.parseInt(writeData[1]));
  61.     +                               } catch(NumberFormatException nfe) {}
  62.     +                       }
  63.     +
  64.     +                       propertySplit = playersSettings.getProperty("CrystalWeaponEnchantLevel", "").split(";");
  65.     +                       for(String readData : propertySplit)
  66.     +                       {
  67.     +                               String[] writeData = readData.split(",");
  68.     +                               if(writeData.length != 2) continue;
  69.     +                               try {
  70.     +                                       CRYTAL_WEAPON_ENCHANT_LEVEL.put(TypeFormat.parseInt(writeData[0]), TypeFormat.parseInt(writeData[1]));
  71.     +                               } catch(NumberFormatException nfe) {}
  72.     +                       }
  73.     +
  74.     +                       ////
  75.     +
  76.     +                       propertySplit = playersSettings.getProperty("NormalArmorEnchantLevel", "").split(";");
  77.     +                       for(String readData : propertySplit)
  78.     +                       {
  79.     +                               String[] writeData = readData.split(",");
  80.     +                               if(writeData.length != 2) continue;
  81.     +                               try {
  82.     +                                       NORMAL_ARMOR_ENCHANT_LEVEL.put(TypeFormat.parseInt(writeData[0]), TypeFormat.parseInt(writeData[1]));
  83.     +                               } catch(NumberFormatException nfe) {}
  84.     +                       }
  85.     +
  86.     +                       propertySplit = playersSettings.getProperty("BlessArmorEnchantLevel", "").split(";");
  87.     +                       for(String readData : propertySplit)
  88.     +                       {
  89.     +                               String[] writeData = readData.split(",");
  90.     +                               if(writeData.length != 2) continue;
  91.     +                               try {
  92.     +                                       BLESS_ARMOR_ENCHANT_LEVEL.put(TypeFormat.parseInt(writeData[0]), TypeFormat.parseInt(writeData[1]));
  93.     +                               } catch(NumberFormatException nfe) {}
  94.     +                       }
  95.     +
  96.     +                       propertySplit = playersSettings.getProperty("CrystalArmorEnchantLevel", "").split(";");
  97.     +                       for(String readData : propertySplit)
  98.     +                       {
  99.     +                               String[] writeData = readData.split(",");
  100.     +                               if(writeData.length != 2) continue;
  101.     +                               try {
  102.     +                                       CRYSTAL_ARMOR_ENCHANT_LEVEL.put(TypeFormat.parseInt(writeData[0]), TypeFormat.parseInt(writeData[1]));
  103.     +                               } catch(NumberFormatException nfe) {}
  104.     +                       }
  105.     +
  106.     +                       ////
  107.     +
  108.     +                       propertySplit = playersSettings.getProperty("NormalJewelryEnchantLevel", "").split(";");
  109.     +                       for(String readData : propertySplit)
  110.     +                       {
  111.     +                               String[] writeData = readData.split(",");
  112.     +                               if(writeData.length != 2) continue;
  113.     +                               try {
  114.     +                                       NORMAL_JEWELRY_ENCHANT_LEVEL.put(TypeFormat.parseInt(writeData[0]), TypeFormat.parseInt(writeData[1]));
  115.     +                               } catch(NumberFormatException nfe) {}
  116.     +                       }
  117.     +
  118.     +                       propertySplit = playersSettings.getProperty("BlessJewelryEnchantLevel", "").split(";");
  119.     +                       for(String readData : propertySplit)
  120.     +                       {
  121.     +                               String[] writeData = readData.split(",");
  122.     +                               if(writeData.length != 2) continue;
  123.     +                               try {
  124.     +                                       BLESS_JEWELRY_ENCHANT_LEVEL.put(TypeFormat.parseInt(writeData[0]), TypeFormat.parseInt(writeData[1]));
  125.     +                               } catch(NumberFormatException nfe) {}
  126.     +                       }
  127.     +
  128.     +                       propertySplit = playersSettings.getProperty("CrystalJewelryEnchantLevel", "").split(";");
  129.     +                       for(String readData : propertySplit)
  130.     +                       {
  131.     +                               String[] writeData = readData.split(",");
  132.     +                               if(writeData.length != 2) continue;
  133.     +                               try {
  134.     +                                       CRYSTAL_JEWELRY_ENCHANT_LEVEL.put(TypeFormat.parseInt(writeData[0]), TypeFormat.parseInt(writeData[1]));
  135.     +                               } catch(NumberFormatException nfe) {}
  136.     +                       }
  137.                      ENCHANT_MAX_WEAPON             = Integer.parseInt(playersSettings.getProperty("EnchantMaxWeapon", "16"));
  138.                      ENCHANT_MAX_ARMOR              = Integer.parseInt(playersSettings.getProperty("EnchantMaxArmor", "16"));
  139.                      ENCHANT_MAX_JEWELRY    = Integer.parseInt(playersSettings.getProperty("EnchantMaxJewelry", "16"));
  140.     @@ -1375,9 +1475,9 @@
  141.              else if (pName.equalsIgnoreCase("MaximumWarehouseSlotsForClan")) WAREHOUSE_SLOTS_CLAN = Integer.parseInt(pValue);
  142.              else if (pName.equalsIgnoreCase("MaximumFreightSlots")) FREIGHT_SLOTS = Integer.parseInt(pValue);
  143.      
  144.     -        else if (pName.equalsIgnoreCase("EnchantChanceWeapon")) ENCHANT_CHANCE_WEAPON = Integer.parseInt(pValue);
  145.     -        else if (pName.equalsIgnoreCase("EnchantChanceArmor")) ENCHANT_CHANCE_ARMOR = Integer.parseInt(pValue);
  146.     -        else if (pName.equalsIgnoreCase("EnchantChanceJewelry")) ENCHANT_CHANCE_JEWELRY = Integer.parseInt(pValue);
  147.     + //       else if (pName.equalsIgnoreCase("EnchantChanceWeapon")) ENCHANT_CHANCE_WEAPON = Integer.parseInt(pValue);
  148.     + //       else if (pName.equalsIgnoreCase("EnchantChanceArmor")) ENCHANT_CHANCE_ARMOR = Integer.parseInt(pValue);
  149.     + //       else if (pName.equalsIgnoreCase("EnchantChanceJewelry")) ENCHANT_CHANCE_JEWELRY = Integer.parseInt(pValue);
  150.              else if (pName.equalsIgnoreCase("EnchantMaxWeapon")) ENCHANT_MAX_WEAPON = Integer.parseInt(pValue);
  151.              else if (pName.equalsIgnoreCase("EnchantMaxArmor")) ENCHANT_MAX_ARMOR = Integer.parseInt(pValue);
  152.              else if (pName.equalsIgnoreCase("EnchantMaxJewelry")) ENCHANT_MAX_JEWELRY = Integer.parseInt(pValue);
  153.     Index: gameserver/java/net/sf/l2j/gameserver/network/clientpackets/RequestEnchantItem.java
  154.     ===================================================================
  155.     --- gameserver/java/net/sf/l2j/gameserver/network/clientpackets/RequestEnchantItem.java (revision 90)
  156.     +++ gameserver/java/net/sf/l2j/gameserver/network/clientpackets/RequestEnchantItem.java (working copy)
  157.     @@ -40,7 +40,13 @@
  158.      {
  159.          protected static final Logger _log = Logger.getLogger(Inventory.class.getName());
  160.          private static final String _C__58_REQUESTENCHANTITEM = "[C] 58 RequestEnchantItem";
  161.     -    private static final int[] CRYSTAL_SCROLLS = { 731, 732, 949, 950, 953, 954, 957, 958, 961, 962 };
  162.     +       private static final int[] CRYSTAL_SCROLLS = { 731, 732, 949, 950, 953, 954, 957, 958, 961, 962 };
  163.     +       private static final int[] NORMAL_WEAPON_SCROLLS = { 729, 947, 951, 955, 959 };
  164.     +       private static final int[] BLESSED_WEAPON_SCROLLS = { 6569, 6571, 6573, 6575, 6577 };
  165.     +       private static final int[] CRYSTAL_WEAPON_SCROLLS = { 731, 949, 953, 957, 961 };
  166.     +       private static final int[] NORMAL_ARMOR_SCROLLS = { 730, 948, 952, 956, 960 };
  167.     +       private static final int[] BLESSED_ARMOR_SCROLLS = { 6570, 6572, 6574, 6576, 6578 };
  168.     +       private static final int[] CRYSTAL_ARMOR_SCROLLS = { 732, 950, 954, 958, 962 };
  169.          
  170.          private int _objectId;
  171.      
  172.     @@ -200,21 +206,150 @@
  173.              int chance = 0;
  174.              int maxEnchantLevel = 0;
  175.      
  176.     -        if (item.getItem().getType2() == L2Item.TYPE2_WEAPON)
  177.     -        {
  178.     -               chance = Config.ENCHANT_CHANCE_WEAPON;
  179.     -               maxEnchantLevel = Config.ENCHANT_MAX_WEAPON;
  180.     -        }
  181.     -        else if (item.getItem().getType2() == L2Item.TYPE2_SHIELD_ARMOR)
  182.     -        {
  183.     -               chance = Config.ENCHANT_CHANCE_ARMOR;
  184.     -               maxEnchantLevel = Config.ENCHANT_MAX_ARMOR;
  185.     -        }
  186.     -        else if (item.getItem().getType2() == L2Item.TYPE2_ACCESSORY)
  187.     -        {
  188.     -               chance = Config.ENCHANT_CHANCE_JEWELRY;
  189.     -               maxEnchantLevel = Config.ENCHANT_MAX_JEWELRY;
  190.     -        }
  191.     +               if(item.getItem().getType2() == L2Item.TYPE2_WEAPON)
  192.     +               {
  193.     +                       for(int normalweaponscroll : NORMAL_WEAPON_SCROLLS)
  194.     +                       {
  195.     +                               if(scroll.getItemId() == normalweaponscroll)
  196.     +                               {
  197.     +                                       if(item.getEnchantLevel() + 1 > Config.NORMAL_WEAPON_ENCHANT_LEVEL.size())
  198.     +                                       {
  199.     +                                               chance = Config.NORMAL_WEAPON_ENCHANT_LEVEL.get(Config.NORMAL_WEAPON_ENCHANT_LEVEL.size());
  200.     +                                       }
  201.     +                                       else
  202.     +                                       {
  203.     +                                               chance = Config.NORMAL_WEAPON_ENCHANT_LEVEL.get(item.getEnchantLevel() + 1);
  204.     +                                       }
  205.     +                                       maxEnchantLevel = Config.ENCHANT_MAX_WEAPON;
  206.     +                               }
  207.     +                       }
  208.     +                       for(int blessedweaponscroll : BLESSED_WEAPON_SCROLLS)
  209.     +                       {
  210.     +                               if(scroll.getItemId() == blessedweaponscroll)
  211.     +                               {
  212.     +                                       if(item.getEnchantLevel() + 1 > Config.BLESS_WEAPON_ENCHANT_LEVEL.size())
  213.     +                                       {
  214.     +                                               chance = Config.BLESS_WEAPON_ENCHANT_LEVEL.get(Config.BLESS_WEAPON_ENCHANT_LEVEL.size());
  215.     +                                       }
  216.     +                                       else
  217.     +                                       {
  218.     +                                               chance = Config.BLESS_WEAPON_ENCHANT_LEVEL.get(item.getEnchantLevel() + 1);
  219.     +                                       }
  220.     +                                       maxEnchantLevel = Config.ENCHANT_MAX_WEAPON;
  221.     +                               }
  222.     +                       }
  223.     +                       for(int crystalweaponscroll : CRYSTAL_WEAPON_SCROLLS)
  224.     +                       {
  225.     +                               if(scroll.getItemId() == crystalweaponscroll)
  226.     +                               {
  227.     +                                       if(item.getEnchantLevel() + 1 > Config.CRYTAL_WEAPON_ENCHANT_LEVEL.size())
  228.     +                                       {
  229.     +                                               chance = Config.CRYTAL_WEAPON_ENCHANT_LEVEL.get(Config.CRYTAL_WEAPON_ENCHANT_LEVEL.size());
  230.     +                                       }
  231.     +                                       else
  232.     +                                       {
  233.     +                                               chance = Config.CRYTAL_WEAPON_ENCHANT_LEVEL.get(item.getEnchantLevel() + 1);
  234.     +                                       }
  235.     +                                       maxEnchantLevel = Config.ENCHANT_MAX_WEAPON;
  236.     +                               }
  237.     +                       }
  238.     +               }
  239.     +               else if(item.getItem().getType2() == L2Item.TYPE2_SHIELD_ARMOR)
  240.     +               {
  241.     +                       for(int normalarmorscroll : NORMAL_ARMOR_SCROLLS)
  242.     +                       {
  243.     +                               if(scroll.getItemId() == normalarmorscroll)
  244.     +                               {
  245.     +                                       if(item.getEnchantLevel() + 1 > Config.NORMAL_ARMOR_ENCHANT_LEVEL.size())
  246.     +                                       {
  247.     +                                               chance = Config.NORMAL_ARMOR_ENCHANT_LEVEL.get(Config.NORMAL_ARMOR_ENCHANT_LEVEL.size());
  248.     +                                       }
  249.     +                                       else
  250.     +                                       {
  251.     +                                               chance = Config.NORMAL_ARMOR_ENCHANT_LEVEL.get(item.getEnchantLevel() + 1);
  252.     +                                       }
  253.     +                                       maxEnchantLevel = Config.ENCHANT_MAX_ARMOR;
  254.     +                               }
  255.     +                       }
  256.     +                       for(int blessedarmorscroll : BLESSED_ARMOR_SCROLLS)
  257.     +                       {
  258.     +                               if(scroll.getItemId() == blessedarmorscroll)
  259.     +                               {
  260.     +                                       if(item.getEnchantLevel() + 1 > Config.BLESS_ARMOR_ENCHANT_LEVEL.size())
  261.     +                                       {
  262.     +                                               chance = Config.BLESS_ARMOR_ENCHANT_LEVEL.get(Config.BLESS_ARMOR_ENCHANT_LEVEL.size());
  263.     +                                       }
  264.     +                                       else
  265.     +                                       {
  266.     +                                               chance = Config.BLESS_ARMOR_ENCHANT_LEVEL.get(item.getEnchantLevel() + 1);
  267.     +                                       }
  268.     +                                       maxEnchantLevel = Config.ENCHANT_MAX_ARMOR;
  269.     +                               }
  270.     +                       }
  271.     +                       for(int crystalarmorscroll : CRYSTAL_ARMOR_SCROLLS)
  272.     +                       {
  273.     +                               if(scroll.getItemId() == crystalarmorscroll)
  274.     +                               {
  275.     +                                       if(item.getEnchantLevel() + 1 > Config.CRYSTAL_ARMOR_ENCHANT_LEVEL.size())
  276.     +                                       {
  277.     +                                               chance = Config.CRYSTAL_ARMOR_ENCHANT_LEVEL.get(Config.CRYSTAL_ARMOR_ENCHANT_LEVEL.size());
  278.     +                                       }
  279.     +                                       else
  280.     +                                       {
  281.     +                                               chance = Config.CRYSTAL_ARMOR_ENCHANT_LEVEL.get(item.getEnchantLevel() + 1);
  282.     +                                       }
  283.     +                                       maxEnchantLevel = Config.ENCHANT_MAX_ARMOR;
  284.     +                               }
  285.     +                       }
  286.     +               }
  287.     +               else if(item.getItem().getType2() == L2Item.TYPE2_ACCESSORY)
  288.     +               {
  289.     +                       for(int normaljewelscroll : NORMAL_ARMOR_SCROLLS)
  290.     +                       {
  291.     +                               if(scroll.getItemId() == normaljewelscroll)
  292.     +                               {
  293.     +                                       if(item.getEnchantLevel() + 1 > Config.NORMAL_JEWELRY_ENCHANT_LEVEL.size())
  294.     +                                       {
  295.     +                                               chance = Config.NORMAL_JEWELRY_ENCHANT_LEVEL.get(Config.NORMAL_JEWELRY_ENCHANT_LEVEL.size());
  296.     +                                       }
  297.     +                                       else
  298.     +                                       {
  299.     +                                               chance = Config.NORMAL_JEWELRY_ENCHANT_LEVEL.get(item.getEnchantLevel() + 1);
  300.     +                                       }
  301.     +                                       maxEnchantLevel = Config.ENCHANT_MAX_JEWELRY;
  302.     +                               }
  303.     +                       }
  304.     +                       for(int blessedjewelscroll : BLESSED_ARMOR_SCROLLS)
  305.     +                       {
  306.     +                               if(scroll.getItemId() == blessedjewelscroll)
  307.     +                               {
  308.     +                                       if(item.getEnchantLevel() + 1 > Config.BLESS_JEWELRY_ENCHANT_LEVEL.size())
  309.     +                                       {
  310.     +                                               chance = Config.BLESS_JEWELRY_ENCHANT_LEVEL.get(Config.BLESS_JEWELRY_ENCHANT_LEVEL.size());
  311.     +                                       }
  312.     +                                       else
  313.     +                                       {
  314.     +                                               chance = Config.BLESS_JEWELRY_ENCHANT_LEVEL.get(item.getEnchantLevel() + 1);
  315.     +                                       }
  316.     +                                       maxEnchantLevel = Config.ENCHANT_MAX_JEWELRY;
  317.     +                               }
  318.     +                       }
  319.     +                       for(int crystaljewelscroll : CRYSTAL_ARMOR_SCROLLS)
  320.     +                       {
  321.     +                               if(scroll.getItemId() == crystaljewelscroll)
  322.     +                               {
  323.     +                                       if(item.getEnchantLevel() + 1 > Config.CRYSTAL_JEWELRY_ENCHANT_LEVEL.size())
  324.     +                                       {
  325.     +                                               chance = Config.CRYSTAL_JEWELRY_ENCHANT_LEVEL.get(Config.CRYSTAL_JEWELRY_ENCHANT_LEVEL.size());
  326.     +                                       }
  327.     +                                       else
  328.     +                                       {
  329.     +                                               chance = Config.CRYSTAL_JEWELRY_ENCHANT_LEVEL.get(item.getEnchantLevel() + 1);
  330.     +                                       }
  331.     +                                       maxEnchantLevel = Config.ENCHANT_MAX_JEWELRY;
  332.     +                               }
  333.     +                       }
  334.     +               }
  335.      
  336.              if (item.getEnchantLevel() < Config.ENCHANT_SAFE_MAX
  337.                      || (item.getItem().getBodyPart() == L2Item.SLOT_FULL_ARMOR
  338.     Index: gameserver/config/players.properties
  339.     ===================================================================
  340.     --- gameserver/config/players.properties        (revision 90)
  341.     +++ gameserver/config/players.properties        (working copy)
  342.     @@ -77,10 +77,35 @@
  343.      #=============================================================
  344.      #                           Enchant
  345.      #=============================================================
  346.     -# % Chance of succeding to enchant an item when it has a chance of breaking
  347.     -EnchantChanceWeapon = 66
  348.     -EnchantChanceArmor = 66
  349.     -EnchantChanceJewelry = 66
  350.     +#-------------------------------------------------------------
  351.     +# Chance of Normal enchant scroll
  352.     +#-------------------------------------------------------------
  353.     +# Weapon
  354.     +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;
  355.     +# Armor
  356.     +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;
  357.     +# Jewelry
  358.     +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;
  359.     +
  360.     +#-------------------------------------------------------------
  361.     +# Chance bless enchant scroll
  362.     +#-------------------------------------------------------------
  363.     +# Weapon
  364.     +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;
  365.     +# Armor
  366.     +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;
  367.     +# Jewelry
  368.     +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;
  369.     +
  370.     +#-------------------------------------------------------------
  371.     +# Chance crystal scroll
  372.     +#-------------------------------------------------------------
  373.     +# Weapon
  374.     +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;
  375.     +# Armor
  376.     +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;
  377.     +# Jewelry
  378.     +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;
  379.      
  380.      # Enchant limit [default = 16], 0 =unlimited
  381.      EnchantMaxWeapon = 16
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement