Changeset 5099
- Timestamp:
- Nov 29, 2011 4:41:34 AM (6 months ago)
- Location:
- branches/unstable/L2J_Server_BETA
- Files:
-
- 3 edited
-
dist/game/config/Character.properties (modified) (1 diff)
-
java/com/l2jserver/Config.java (modified) (2 diffs)
-
java/com/l2jserver/gameserver/datatables/EnchantItemTable.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/unstable/L2J_Server_BETA/dist/game/config/Character.properties
r5087 r5099 366 366 # Enchanting 367 367 # --------------------------------------------------------------------------- 368 # Base rate for scrolls of enchant 369 # Default: 66.66 370 EnchantChance = 66.66 371 368 372 # This controls the chance an item has to break if it is enchanted. 369 373 # This chance is in %, so if you set this to 100%, enchants will always succeed. -
branches/unstable/L2J_Server_BETA/java/com/l2jserver/Config.java
r5087 r5099 1004 1004 public static ObjectMapType MAP_TYPE; 1005 1005 public static ObjectSetType SET_TYPE; 1006 public static double ENCHANT_CHANCE; 1006 1007 public static double ENCHANT_CHANCE_ELEMENT_STONE; 1007 1008 public static double ENCHANT_CHANCE_ELEMENT_CRYSTAL; … … 1632 1633 ALT_FREIGHT_SLOTS = Integer.parseInt(Character.getProperty("MaximumFreightSlots", "200")); 1633 1634 ALT_FREIGHT_PRIECE = Integer.parseInt(Character.getProperty("FreightPriece", "1000")); 1635 ENCHANT_CHANCE = Double.parseDouble(Character.getProperty("EnchantChance", "66.66")); 1634 1636 ENCHANT_CHANCE_ELEMENT_STONE = Double.parseDouble(Character.getProperty("EnchantChanceElementStone", "50")); 1635 1637 ENCHANT_CHANCE_ELEMENT_CRYSTAL = Double.parseDouble(Character.getProperty("EnchantChanceElementCrystal", "30")); -
branches/unstable/L2J_Server_BETA/java/com/l2jserver/gameserver/datatables/EnchantItemTable.java
r5087 r5099 89 89 int type = L2Item.CRYSTAL_NONE; 90 90 int maxEnchant = 0; 91 double chance = 66.66;91 double chance = Config.ENCHANT_CHANCE; 92 92 int[] items = null; 93 93
Note: See TracChangeset
for help on using the changeset viewer.
