From 24aec85f857459f73177e615c1997b44b92fc14f Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Sat, 30 Nov 2013 14:07:24 -0700 Subject: [PATCH] Weaponsmith jobs buffs implemented. --- .../me/kaZep/Base/EnchantLevelDatabase.java | 1134 ++++++++++++++++- BankEconomyMod/src/me/kaZep/Base/Main.java | 26 +- .../src/me/kaZep/Base/PlayerListener.java | 65 +- 3 files changed, 1198 insertions(+), 27 deletions(-) diff --git a/BankEconomyMod/src/me/kaZep/Base/EnchantLevelDatabase.java b/BankEconomyMod/src/me/kaZep/Base/EnchantLevelDatabase.java index d732f23..d8bacf0 100644 --- a/BankEconomyMod/src/me/kaZep/Base/EnchantLevelDatabase.java +++ b/BankEconomyMod/src/me/kaZep/Base/EnchantLevelDatabase.java @@ -38,7 +38,7 @@ public class EnchantLevelDatabase { public List wood_sword = new ArrayList(); public List bow = new ArrayList(); public List iron_sword = new ArrayList(); - public List gold_sword = new ArrayList(); + public List golden_sword = new ArrayList(); public List diamond_sword = new ArrayList(); public List chain_helmet = new ArrayList(); public List chain_chestplate = new ArrayList(); @@ -226,21 +226,22 @@ public class EnchantLevelDatabase { iron_sword.add(new StoreValues(0.026,Enchantment.DAMAGE_ALL,2,5)); iron_sword.add(new StoreValues(0.003,Enchantment.DAMAGE_ARTHROPODS,2,5)); iron_sword.add(new StoreValues(0.002,Enchantment.DAMAGE_UNDEAD,2,5)); - gold_sword.add(new StoreValues(0.333,Enchantment.KNOCKBACK,1,5)); - gold_sword.add(new StoreValues(0.241,Enchantment.DAMAGE_ALL,1,5)); - gold_sword.add(new StoreValues(0.180,Enchantment.DAMAGE_ALL,2,5)); - gold_sword.add(new StoreValues(0.173,Enchantment.DAMAGE_ARTHROPODS,1,5)); - gold_sword.add(new StoreValues(0.035,Enchantment.DAMAGE_UNDEAD,1,5)); - gold_sword.add(new StoreValues(0.026,Enchantment.FIRE_ASPECT,1,5)); - gold_sword.add(new StoreValues(0.003,Enchantment.DAMAGE_UNDEAD,2,5)); - gold_sword.add(new StoreValues(0.002,Enchantment.DAMAGE_ARTHROPODS,2,5)); - gold_sword.add(new StoreValues(0.002,Enchantment.LOOT_BONUS_MOBS,1,5)); + golden_sword.add(new StoreValues(0.333,Enchantment.KNOCKBACK,1,5)); + golden_sword.add(new StoreValues(0.241,Enchantment.DAMAGE_ALL,1,5)); + golden_sword.add(new StoreValues(0.180,Enchantment.DAMAGE_ALL,2,5)); + golden_sword.add(new StoreValues(0.173,Enchantment.DAMAGE_ARTHROPODS,1,5)); + golden_sword.add(new StoreValues(0.035,Enchantment.DAMAGE_UNDEAD,1,5)); + golden_sword.add(new StoreValues(0.026,Enchantment.FIRE_ASPECT,1,5)); + golden_sword.add(new StoreValues(0.003,Enchantment.DAMAGE_UNDEAD,2,5)); + golden_sword.add(new StoreValues(0.002,Enchantment.DAMAGE_ARTHROPODS,2,5)); + golden_sword.add(new StoreValues(0.002,Enchantment.LOOT_BONUS_MOBS,1,5)); diamond_sword.add(new StoreValues(0.365,Enchantment.DAMAGE_ALL,1,5)); diamond_sword.add(new StoreValues(0.247,Enchantment.KNOCKBACK,1,5)); diamond_sword.add(new StoreValues(0.187,Enchantment.DAMAGE_ARTHROPODS,1,5)); diamond_sword.add(new StoreValues(0.185,Enchantment.DAMAGE_UNDEAD,1,5)); diamond_sword.add(new StoreValues(0.01,Enchantment.FIRE_ASPECT,1,5)); stone_hoe.add(new StoreValues(0.359,Enchantment.DURABILITY,2,10)); + stone_hoe.add(new StoreValues(0.359,Enchantment.DURABILITY,3,25)); stone_shovel.add(new StoreValues(0.575,Enchantment.DIG_SPEED,2,10)); stone_shovel.add(new StoreValues(0.255,Enchantment.DURABILITY,1,10)); stone_shovel.add(new StoreValues(0.118,Enchantment.DURABILITY,2,10)); @@ -464,5 +465,1118 @@ public class EnchantLevelDatabase { chain_chestplate.add(new StoreValues(0.083,Enchantment.PROTECTION_PROJECTILE,2,10)); chain_chestplate.add(new StoreValues(0.025,Enchantment.PROTECTION_FIRE,1,10)); chain_chestplate.add(new StoreValues(0.019,Enchantment.THORNS,1,10)); + stone_shovel.add(new StoreValues(0.476,Enchantment.DIG_SPEED,3,25)); + stone_shovel.add(new StoreValues(0.302,Enchantment.DURABILITY,3,25)); + stone_shovel.add(new StoreValues(0.132,Enchantment.LOOT_BONUS_BLOCKS,2,25)); + stone_shovel.add(new StoreValues(0.068,Enchantment.SILK_TOUCH,1,25)); + stone_shovel.add(new StoreValues(0.013,Enchantment.DIG_SPEED,4,25)); + stone_shovel.add(new StoreValues(0.003,Enchantment.LOOT_BONUS_BLOCKS,1,25)); + stone_pickaxe.add(new StoreValues(0.48,Enchantment.DIG_SPEED,3,25)); + stone_pickaxe.add(new StoreValues(0.307,Enchantment.DURABILITY,3,25)); + stone_pickaxe.add(new StoreValues(0.13,Enchantment.LOOT_BONUS_BLOCKS,2,25)); + stone_pickaxe.add(new StoreValues(0.062,Enchantment.SILK_TOUCH,1,25)); + stone_pickaxe.add(new StoreValues(0.014,Enchantment.DIG_SPEED,4,25)); + stone_pickaxe.add(new StoreValues(0.002,Enchantment.LOOT_BONUS_BLOCKS,1,25)); + leather_boots.add(new StoreValues(0.248,Enchantment.PROTECTION_ENVIRONMENTAL,3,25)); + leather_boots.add(new StoreValues(0.215,Enchantment.DURABILITY,3,25)); + leather_boots.add(new StoreValues(0.209,Enchantment.PROTECTION_FALL,4,25)); + leather_boots.add(new StoreValues(0.13,Enchantment.PROTECTION_PROJECTILE,4,25)); + leather_boots.add(new StoreValues(0.113,Enchantment.PROTECTION_FIRE,3,25)); + leather_boots.add(new StoreValues(0.03,Enchantment.PROTECTION_EXPLOSIONS,4,25)); + leather_boots.add(new StoreValues(0.023,Enchantment.PROTECTION_EXPLOSIONS,3,25)); + leather_boots.add(new StoreValues(0.008,Enchantment.PROTECTION_ENVIRONMENTAL,4,25)); + leather_boots.add(new StoreValues(0.008,Enchantment.PROTECTION_FIRE,2,25)); + leather_boots.add(new StoreValues(0.005,Enchantment.PROTECTION_FIRE,4,25)); + leather_boots.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,2,25)); + leather_boots.add(new StoreValues(0,Enchantment.PROTECTION_FALL,3,25)); + leather_cap.add(new StoreValues(0.255,Enchantment.PROTECTION_ENVIRONMENTAL,3,25)); + leather_cap.add(new StoreValues(0.225,Enchantment.DURABILITY,3,25)); + leather_cap.add(new StoreValues(0.128,Enchantment.PROTECTION_PROJECTILE,4,25)); + leather_cap.add(new StoreValues(0.117,Enchantment.PROTECTION_FIRE,3,25)); + leather_cap.add(new StoreValues(0.097,Enchantment.WATER_WORKER,1,25)); + leather_cap.add(new StoreValues(0.055,Enchantment.OXYGEN,2,25)); + leather_cap.add(new StoreValues(0.043,Enchantment.OXYGEN,3,25)); + leather_cap.add(new StoreValues(0.029,Enchantment.PROTECTION_EXPLOSIONS,4,25)); + leather_cap.add(new StoreValues(0.024,Enchantment.PROTECTION_EXPLOSIONS,3,25)); + leather_cap.add(new StoreValues(0.009,Enchantment.PROTECTION_ENVIRONMENTAL,4,25)); + leather_cap.add(new StoreValues(0.008,Enchantment.PROTECTION_FIRE,2,25)); + leather_cap.add(new StoreValues(0.004,Enchantment.PROTECTION_FIRE,4,25)); + leather_cap.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,2,25)); + leather_pants.add(new StoreValues(0.324,Enchantment.DURABILITY,3,25)); + leather_pants.add(new StoreValues(0.279,Enchantment.PROTECTION_ENVIRONMENTAL,3,25)); + leather_pants.add(new StoreValues(0.148,Enchantment.PROTECTION_PROJECTILE,4,25)); + leather_pants.add(new StoreValues(0.131,Enchantment.PROTECTION_FIRE,3,25)); + leather_pants.add(new StoreValues(0.034,Enchantment.PROTECTION_EXPLOSIONS,4,25)); + leather_pants.add(new StoreValues(0.023,Enchantment.PROTECTION_EXPLOSIONS,3,25)); + leather_pants.add(new StoreValues(0.009,Enchantment.PROTECTION_FIRE,2,25)); + leather_pants.add(new StoreValues(0.009,Enchantment.PROTECTION_ENVIRONMENTAL,4,25)); + leather_pants.add(new StoreValues(0.006,Enchantment.PROTECTION_FIRE,4,25)); + leather_pants.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,2,25)); + leather_tunic.add(new StoreValues(0.28,Enchantment.DURABILITY,3,25)); + leather_tunic.add(new StoreValues(0.272,Enchantment.PROTECTION_ENVIRONMENTAL,3,25)); + leather_tunic.add(new StoreValues(0.141,Enchantment.PROTECTION_PROJECTILE,4,25)); + leather_tunic.add(new StoreValues(0.131,Enchantment.PROTECTION_FIRE,3,25)); + leather_tunic.add(new StoreValues(0.047,Enchantment.THORNS,1,25)); + leather_tunic.add(new StoreValues(0.038,Enchantment.THORNS,2,25)); + leather_tunic.add(new StoreValues(0.033,Enchantment.PROTECTION_EXPLOSIONS,4,25)); + leather_tunic.add(new StoreValues(0.025,Enchantment.PROTECTION_EXPLOSIONS,3,25)); + leather_tunic.add(new StoreValues(0.011,Enchantment.PROTECTION_FIRE,2,25)); + leather_tunic.add(new StoreValues(0.01,Enchantment.PROTECTION_ENVIRONMENTAL,4,25)); + leather_tunic.add(new StoreValues(0.004,Enchantment.PROTECTION_FIRE,4,25)); + leather_tunic.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,2,25)); + iron_shovel.add(new StoreValues(0.362,Enchantment.DIG_SPEED,3,25)); + iron_shovel.add(new StoreValues(0.31,Enchantment.DURABILITY,3,25)); + iron_shovel.add(new StoreValues(0.126,Enchantment.DIG_SPEED,4,25)); + iron_shovel.add(new StoreValues(0.12,Enchantment.LOOT_BONUS_BLOCKS,2,25)); + iron_shovel.add(new StoreValues(0.066,Enchantment.SILK_TOUCH,1,25)); + iron_shovel.add(new StoreValues(0.009,Enchantment.LOOT_BONUS_BLOCKS,3,25)); + iron_shovel.add(new StoreValues(0,Enchantment.LOOT_BONUS_BLOCKS,1,25)); + iron_axe.add(new StoreValues(0.353,Enchantment.DIG_SPEED,3,25)); + iron_axe.add(new StoreValues(0.303,Enchantment.DURABILITY,3,25)); + iron_axe.add(new StoreValues(0.134,Enchantment.DIG_SPEED,4,25)); + iron_axe.add(new StoreValues(0.127,Enchantment.LOOT_BONUS_BLOCKS,2,25)); + iron_axe.add(new StoreValues(0.066,Enchantment.SILK_TOUCH,1,25)); + iron_axe.add(new StoreValues(0.012,Enchantment.LOOT_BONUS_BLOCKS,3,25)); + iron_axe.add(new StoreValues(0,Enchantment.LOOT_BONUS_BLOCKS,1,25)); + iron_axe.add(new StoreValues(0,Enchantment.OXYGEN,0,25)); + iron_boots.add(new StoreValues(0.257,Enchantment.PROTECTION_ENVIRONMENTAL,3,25)); + iron_boots.add(new StoreValues(0.218,Enchantment.DURABILITY,3,25)); + iron_boots.add(new StoreValues(0.211,Enchantment.PROTECTION_FALL,4,25)); + iron_boots.add(new StoreValues(0.124,Enchantment.PROTECTION_PROJECTILE,4,25)); + iron_boots.add(new StoreValues(0.119,Enchantment.PROTECTION_FIRE,3,25)); + iron_boots.add(new StoreValues(0.029,Enchantment.PROTECTION_EXPLOSIONS,3,25)); + iron_boots.add(new StoreValues(0.02,Enchantment.PROTECTION_EXPLOSIONS,4,25)); + iron_boots.add(new StoreValues(0.014,Enchantment.PROTECTION_FIRE,2,25)); + iron_boots.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,4,25)); + iron_boots.add(new StoreValues(0,Enchantment.PROTECTION_FIRE,4,25)); + iron_boots.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,2,25)); + iron_boots.add(new StoreValues(0,Enchantment.PROTECTION_FALL,3,25)); + iron_pickaxe.add(new StoreValues(0.352,Enchantment.DIG_SPEED,3,25)); + iron_pickaxe.add(new StoreValues(0.306,Enchantment.DURABILITY,3,25)); + iron_pickaxe.add(new StoreValues(0.134,Enchantment.DIG_SPEED,4,25)); + iron_pickaxe.add(new StoreValues(0.121,Enchantment.LOOT_BONUS_BLOCKS,2,25)); + iron_pickaxe.add(new StoreValues(0.07,Enchantment.SILK_TOUCH,1,25)); + iron_pickaxe.add(new StoreValues(0.011,Enchantment.LOOT_BONUS_BLOCKS,3,25)); + iron_pickaxe.add(new StoreValues(0,Enchantment.LOOT_BONUS_BLOCKS,1,25)); + iron_helmet.add(new StoreValues(0.265,Enchantment.PROTECTION_ENVIRONMENTAL,3,25)); + iron_helmet.add(new StoreValues(0.225,Enchantment.DURABILITY,3,25)); + iron_helmet.add(new StoreValues(0.136,Enchantment.PROTECTION_PROJECTILE,4,25)); + iron_helmet.add(new StoreValues(0.108,Enchantment.PROTECTION_FIRE,3,25)); + iron_helmet.add(new StoreValues(0.1,Enchantment.WATER_WORKER,1,25)); + iron_helmet.add(new StoreValues(0.07,Enchantment.OXYGEN,2,25)); + iron_helmet.add(new StoreValues(0.028,Enchantment.PROTECTION_EXPLOSIONS,3,25)); + iron_helmet.add(new StoreValues(0.024,Enchantment.OXYGEN,3,25)); + iron_helmet.add(new StoreValues(0.023,Enchantment.PROTECTION_EXPLOSIONS,4,25)); + iron_helmet.add(new StoreValues(0.015,Enchantment.PROTECTION_FIRE,2,25)); + iron_helmet.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,4,25)); + iron_helmet.add(new StoreValues(0,Enchantment.PROTECTION_FIRE,4,25)); + iron_helmet.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,2,25)); + golden_shovel.add(new StoreValues(0.305,Enchantment.DURABILITY,3,25)); + golden_shovel.add(new StoreValues(0.271,Enchantment.DIG_SPEED,4,25)); + golden_shovel.add(new StoreValues(0.21,Enchantment.DIG_SPEED,3,25)); + golden_shovel.add(new StoreValues(0.094,Enchantment.LOOT_BONUS_BLOCKS,2,25)); + golden_shovel.add(new StoreValues(0.07,Enchantment.SILK_TOUCH,1,25)); + golden_shovel.add(new StoreValues(0.043,Enchantment.LOOT_BONUS_BLOCKS,3,25)); + golden_shovel.add(new StoreValues(0,Enchantment.DIG_SPEED,5,25)); + golden_shovel.add(new StoreValues(0,Enchantment.LOOT_BONUS_BLOCKS,1,25)); + golden_axe.add(new StoreValues(0.308,Enchantment.DURABILITY,3,25)); + golden_axe.add(new StoreValues(0.263,Enchantment.DIG_SPEED,4,25)); + golden_axe.add(new StoreValues(0.216,Enchantment.DIG_SPEED,3,25)); + golden_axe.add(new StoreValues(0.09,Enchantment.LOOT_BONUS_BLOCKS,2,25)); + golden_axe.add(new StoreValues(0.068,Enchantment.SILK_TOUCH,1,25)); + golden_axe.add(new StoreValues(0.047,Enchantment.LOOT_BONUS_BLOCKS,3,25)); + golden_axe.add(new StoreValues(0,Enchantment.LOOT_BONUS_BLOCKS,1,25)); + golden_axe.add(new StoreValues(0,Enchantment.DIG_SPEED,5,25)); + iron_leggings.add(new StoreValues(0.308,Enchantment.DURABILITY,3,25)); + iron_leggings.add(new StoreValues(0.263,Enchantment.DIG_SPEED,4,25)); + iron_leggings.add(new StoreValues(0.216,Enchantment.DIG_SPEED,3,25)); + iron_leggings.add(new StoreValues(0.09,Enchantment.LOOT_BONUS_BLOCKS,2,25)); + iron_leggings.add(new StoreValues(0.068,Enchantment.SILK_TOUCH,1,25)); + iron_leggings.add(new StoreValues(0.047,Enchantment.LOOT_BONUS_BLOCKS,3,25)); + iron_leggings.add(new StoreValues(0,Enchantment.LOOT_BONUS_BLOCKS,1,25)); + iron_leggings.add(new StoreValues(0,Enchantment.DIG_SPEED,5,25)); + diamond_shovel.add(new StoreValues(0.434,Enchantment.DIG_SPEED,3,25)); + diamond_shovel.add(new StoreValues(0.304,Enchantment.DURABILITY,3,25)); + diamond_shovel.add(new StoreValues(0.129,Enchantment.LOOT_BONUS_BLOCKS,2,25)); + diamond_shovel.add(new StoreValues(0.067,Enchantment.SILK_TOUCH,1,25)); + diamond_shovel.add(new StoreValues(0.058,Enchantment.DIG_SPEED,4,25)); + diamond_shovel.add(new StoreValues(0.002,Enchantment.LOOT_BONUS_BLOCKS,3,25)); + diamond_shovel.add(new StoreValues(0.001,Enchantment.LOOT_BONUS_BLOCKS,1,25)); + diamond_axe.add(new StoreValues(0.427,Enchantment.DIG_SPEED,3,25)); + diamond_axe.add(new StoreValues(0.307,Enchantment.DURABILITY,3,25)); + diamond_axe.add(new StoreValues(0.129,Enchantment.LOOT_BONUS_BLOCKS,2,25)); + diamond_axe.add(new StoreValues(0.066,Enchantment.SILK_TOUCH,1,25)); + diamond_axe.add(new StoreValues(0.063,Enchantment.DIG_SPEED,4,25)); + diamond_axe.add(new StoreValues(0.001,Enchantment.LOOT_BONUS_BLOCKS,3,25)); + diamond_axe.add(new StoreValues(0.001,Enchantment.LOOT_BONUS_BLOCKS,1,25)); + golden_boots.add(new StoreValues(0.26,Enchantment.DURABILITY,3,25)); + golden_boots.add(new StoreValues(0.168,Enchantment.PROTECTION_ENVIRONMENTAL,3,25)); + golden_boots.add(new StoreValues(0.139,Enchantment.PROTECTION_FALL,4,25)); + golden_boots.add(new StoreValues(0.117,Enchantment.PROTECTION_PROJECTILE,4,25)); + golden_boots.add(new StoreValues(0.101,Enchantment.PROTECTION_ENVIRONMENTAL,4,25)); + golden_boots.add(new StoreValues(0.085,Enchantment.PROTECTION_FIRE,3,25)); + golden_boots.add(new StoreValues(0.052,Enchantment.PROTECTION_FIRE,4,25)); + golden_boots.add(new StoreValues(0.047,Enchantment.PROTECTION_EXPLOSIONS,4,25)); + golden_boots.add(new StoreValues(0.007,Enchantment.PROTECTION_EXPLOSIONS,3,25)); + golden_boots.add(new StoreValues(0.002,Enchantment.PROTECTION_FIRE,2,25)); + golden_boots.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,2,25)); + iron_chestplate.add(new StoreValues(0.285,Enchantment.DURABILITY,3,25)); + iron_chestplate.add(new StoreValues(0.283,Enchantment.PROTECTION_ENVIRONMENTAL,3,25)); + iron_chestplate.add(new StoreValues(0.141,Enchantment.PROTECTION_PROJECTILE,4,25)); + iron_chestplate.add(new StoreValues(0.124,Enchantment.PROTECTION_FIRE,3,25)); + iron_chestplate.add(new StoreValues(0.062,Enchantment.THORNS,1,25)); + iron_chestplate.add(new StoreValues(0.036,Enchantment.PROTECTION_EXPLOSIONS,3,25)); + iron_chestplate.add(new StoreValues(0.023,Enchantment.PROTECTION_EXPLOSIONS,4,25)); + iron_chestplate.add(new StoreValues(0.02,Enchantment.THORNS,2,25)); + iron_chestplate.add(new StoreValues(0.018,Enchantment.PROTECTION_FIRE,2,25)); + iron_chestplate.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,4,25)); + iron_chestplate.add(new StoreValues(0,Enchantment.PROTECTION_FIRE,4,25)); + iron_chestplate.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,2,25)); + golden_helmet.add(new StoreValues(0.234,Enchantment.DURABILITY,3,25)); + golden_helmet.add(new StoreValues(0.173,Enchantment.PROTECTION_ENVIRONMENTAL,3,25)); + golden_helmet.add(new StoreValues(0.116,Enchantment.PROTECTION_PROJECTILE,4,25)); + golden_helmet.add(new StoreValues(0.101,Enchantment.WATER_WORKER,1,25)); + golden_helmet.add(new StoreValues(0.09,Enchantment.PROTECTION_ENVIRONMENTAL,4,25)); + golden_helmet.add(new StoreValues(0.083,Enchantment.OXYGEN,3,25)); + golden_helmet.add(new StoreValues(0.078,Enchantment.PROTECTION_FIRE,3,25)); + golden_helmet.add(new StoreValues(0.047,Enchantment.PROTECTION_FIRE,4,25)); + golden_helmet.add(new StoreValues(0.041,Enchantment.PROTECTION_EXPLOSIONS,4,25)); + golden_helmet.add(new StoreValues(0.021,Enchantment.OXYGEN,2,25)); + golden_helmet.add(new StoreValues(0.009,Enchantment.PROTECTION_EXPLOSIONS,3,25)); + golden_helmet.add(new StoreValues(0.002,Enchantment.PROTECTION_FIRE,2,25)); + iron_chestplate.add(new StoreValues(0.294,Enchantment.PROTECTION_ENVIRONMENTAL,3,25)); + iron_chestplate.add(new StoreValues(0.278,Enchantment.DURABILITY,3,25)); + iron_chestplate.add(new StoreValues(0.142,Enchantment.PROTECTION_PROJECTILE,4,25)); + iron_chestplate.add(new StoreValues(0.12,Enchantment.PROTECTION_FIRE,3,25)); + iron_chestplate.add(new StoreValues(0.062,Enchantment.THORNS,1,25)); + iron_chestplate.add(new StoreValues(0.034,Enchantment.PROTECTION_EXPLOSIONS,3,25)); + iron_chestplate.add(new StoreValues(0.022,Enchantment.PROTECTION_EXPLOSIONS,4,25)); + iron_chestplate.add(new StoreValues(0.022,Enchantment.THORNS,2,25)); + iron_chestplate.add(new StoreValues(0.018,Enchantment.PROTECTION_FIRE,2,25)); + iron_chestplate.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,4,25)); + iron_chestplate.add(new StoreValues(0,Enchantment.PROTECTION_FIRE,4,25)); + iron_chestplate.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,2,25)); + golden_helmet.add(new StoreValues(0.222,Enchantment.DURABILITY,3,25)); + golden_helmet.add(new StoreValues(0.176,Enchantment.PROTECTION_ENVIRONMENTAL,3,25)); + golden_helmet.add(new StoreValues(0.116,Enchantment.PROTECTION_PROJECTILE,4,25)); + golden_helmet.add(new StoreValues(0.103,Enchantment.WATER_WORKER,1,25)); + golden_helmet.add(new StoreValues(0.093,Enchantment.PROTECTION_ENVIRONMENTAL,4,25)); + golden_helmet.add(new StoreValues(0.085,Enchantment.PROTECTION_FIRE,3,25)); + golden_helmet.add(new StoreValues(0.079,Enchantment.OXYGEN,3,25)); + golden_helmet.add(new StoreValues(0.045,Enchantment.PROTECTION_FIRE,4,25)); + golden_helmet.add(new StoreValues(0.042,Enchantment.PROTECTION_EXPLOSIONS,4,25)); + golden_helmet.add(new StoreValues(0.022,Enchantment.OXYGEN,2,25)); + golden_helmet.add(new StoreValues(0.009,Enchantment.PROTECTION_EXPLOSIONS,3,25)); + golden_helmet.add(new StoreValues(0.001,Enchantment.PROTECTION_FIRE,2,25)); + diamond_pickaxe.add(new StoreValues(0.432,Enchantment.DIG_SPEED,3,25)); + diamond_pickaxe.add(new StoreValues(0.306,Enchantment.DURABILITY,3,25)); + diamond_pickaxe.add(new StoreValues(0.129,Enchantment.LOOT_BONUS_BLOCKS,2,25)); + diamond_pickaxe.add(new StoreValues(0.065,Enchantment.SILK_TOUCH,1,25)); + diamond_pickaxe.add(new StoreValues(0.058,Enchantment.DIG_SPEED,4,25)); + diamond_pickaxe.add(new StoreValues(0.002,Enchantment.LOOT_BONUS_BLOCKS,3,25)); + diamond_pickaxe.add(new StoreValues(0.001,Enchantment.LOOT_BONUS_BLOCKS,1,25)); + diamond_boots.add(new StoreValues(0.255,Enchantment.PROTECTION_ENVIRONMENTAL,3,25)); + diamond_boots.add(new StoreValues(0.214,Enchantment.PROTECTION_FALL,4,25)); + diamond_boots.add(new StoreValues(0.213,Enchantment.DURABILITY,3,25)); + diamond_boots.add(new StoreValues(0.13,Enchantment.PROTECTION_PROJECTILE,4,25)); + diamond_boots.add(new StoreValues(0.116,Enchantment.PROTECTION_FIRE,3,25)); + diamond_boots.add(new StoreValues(0.029,Enchantment.PROTECTION_EXPLOSIONS,3,25)); + diamond_boots.add(new StoreValues(0.02,Enchantment.PROTECTION_EXPLOSIONS,4,25)); + diamond_boots.add(new StoreValues(0.013,Enchantment.PROTECTION_FIRE,2,25)); + diamond_boots.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,4,25)); + diamond_boots.add(new StoreValues(0,Enchantment.PROTECTION_FIRE,4,25)); + diamond_boots.add(new StoreValues(0,Enchantment.PROTECTION_FALL,3,25)); + diamond_boots.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,2,25)); + golden_leggings.add(new StoreValues(0.329,Enchantment.DURABILITY,3,25)); + golden_leggings.add(new StoreValues(0.19,Enchantment.PROTECTION_ENVIRONMENTAL,3,25)); + golden_leggings.add(new StoreValues(0.127,Enchantment.PROTECTION_PROJECTILE,4,25)); + golden_leggings.add(new StoreValues(0.104,Enchantment.PROTECTION_ENVIRONMENTAL,4,25)); + golden_leggings.add(new StoreValues(0.089,Enchantment.PROTECTION_FIRE,3,25)); + golden_leggings.add(new StoreValues(0.053,Enchantment.PROTECTION_FIRE,4,25)); + golden_leggings.add(new StoreValues(0.052,Enchantment.PROTECTION_EXPLOSIONS,4,25)); + golden_leggings.add(new StoreValues(0.008,Enchantment.PROTECTION_EXPLOSIONS,3,25)); + golden_leggings.add(new StoreValues(0.003,Enchantment.PROTECTION_FIRE,2,25)); + golden_chestplate.add(new StoreValues(0.296,Enchantment.DURABILITY,3,25)); + golden_chestplate.add(new StoreValues(0.182,Enchantment.PROTECTION_ENVIRONMENTAL,3,25)); + golden_chestplate.add(new StoreValues(0.124,Enchantment.PROTECTION_PROJECTILE,4,25)); + golden_chestplate.add(new StoreValues(0.102,Enchantment.PROTECTION_ENVIRONMENTAL,4,25)); + golden_chestplate.add(new StoreValues(0.086,Enchantment.PROTECTION_FIRE,3,25)); + golden_chestplate.add(new StoreValues(0.072,Enchantment.THORNS,2,25)); + golden_chestplate.add(new StoreValues(0.05,Enchantment.PROTECTION_FIRE,4,25)); + golden_chestplate.add(new StoreValues(0.047,Enchantment.PROTECTION_EXPLOSIONS,4,25)); + golden_chestplate.add(new StoreValues(0.019,Enchantment.THORNS,1,25)); + golden_chestplate.add(new StoreValues(0.01,Enchantment.PROTECTION_EXPLOSIONS,3,25)); + golden_chestplate.add(new StoreValues(0.003,Enchantment.PROTECTION_FIRE,2,25)); + diamond_helmet.add(new StoreValues(0.266,Enchantment.PROTECTION_ENVIRONMENTAL,3,25)); + diamond_helmet.add(new StoreValues(0.223,Enchantment.DURABILITY,3,25)); + diamond_helmet.add(new StoreValues(0.131,Enchantment.PROTECTION_PROJECTILE,4,25)); + diamond_helmet.add(new StoreValues(0.116,Enchantment.PROTECTION_FIRE,3,25)); + diamond_helmet.add(new StoreValues(0.098,Enchantment.WATER_WORKER,1,25)); + diamond_helmet.add(new StoreValues(0.07,Enchantment.OXYGEN,2,25)); + diamond_helmet.add(new StoreValues(0.03,Enchantment.PROTECTION_EXPLOSIONS,3,25)); + diamond_helmet.add(new StoreValues(0.025,Enchantment.OXYGEN,3,25)); + diamond_helmet.add(new StoreValues(0.021,Enchantment.PROTECTION_EXPLOSIONS,4,25)); + diamond_helmet.add(new StoreValues(0.013,Enchantment.PROTECTION_FIRE,2,25)); + diamond_helmet.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,4,25)); + diamond_helmet.add(new StoreValues(0,Enchantment.PROTECTION_FIRE,4,25)); + diamond_leggings.add(new StoreValues(0.316,Enchantment.DURABILITY,3,25)); + diamond_leggings.add(new StoreValues(0.299,Enchantment.PROTECTION_ENVIRONMENTAL,3,25)); + diamond_leggings.add(new StoreValues(0.151,Enchantment.PROTECTION_PROJECTILE,4,25)); + diamond_leggings.add(new StoreValues(0.128,Enchantment.PROTECTION_FIRE,3,25)); + diamond_leggings.add(new StoreValues(0.032,Enchantment.PROTECTION_EXPLOSIONS,3,25)); + diamond_leggings.add(new StoreValues(0.021,Enchantment.PROTECTION_EXPLOSIONS,4,25)); + diamond_leggings.add(new StoreValues(0.014,Enchantment.PROTECTION_FIRE,2,25)); + diamond_leggings.add(new StoreValues(0.001,Enchantment.PROTECTION_ENVIRONMENTAL,4,25)); + diamond_leggings.add(new StoreValues(0,Enchantment.PROTECTION_FIRE,4,25)); + diamond_leggings.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,2,25)); + diamond_chestplate.add(new StoreValues(0.283,Enchantment.PROTECTION_ENVIRONMENTAL,3,25)); + diamond_chestplate.add(new StoreValues(0.279,Enchantment.DURABILITY,3,25)); + diamond_chestplate.add(new StoreValues(0.141,Enchantment.PROTECTION_PROJECTILE,4,25)); + diamond_chestplate.add(new StoreValues(0.128,Enchantment.PROTECTION_FIRE,3,25)); + diamond_chestplate.add(new StoreValues(0.064,Enchantment.THORNS,1,25)); + diamond_chestplate.add(new StoreValues(0.035,Enchantment.PROTECTION_EXPLOSIONS,3,25)); + diamond_chestplate.add(new StoreValues(0.024,Enchantment.THORNS,2,25)); + diamond_chestplate.add(new StoreValues(0.022,Enchantment.PROTECTION_EXPLOSIONS,4,25)); + diamond_chestplate.add(new StoreValues(0.016,Enchantment.PROTECTION_FIRE,2,25)); + diamond_chestplate.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,4,25)); + diamond_chestplate.add(new StoreValues(0,Enchantment.PROTECTION_FIRE,4,25)); + diamond_chestplate.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,2,25)); + wood_sword.add(new StoreValues(0.243,Enchantment.DAMAGE_ALL,3,25)); + wood_sword.add(new StoreValues(0.176,Enchantment.DURABILITY,3,25)); + wood_sword.add(new StoreValues(0.171,Enchantment.KNOCKBACK,2,25)); + wood_sword.add(new StoreValues(0.072,Enchantment.DAMAGE_UNDEAD,4,25)); + wood_sword.add(new StoreValues(0.069,Enchantment.DAMAGE_ARTHROPODS,4,25)); + wood_sword.add(new StoreValues(0.063,Enchantment.LOOT_BONUS_MOBS,2,25)); + wood_sword.add(new StoreValues(0.051,Enchantment.DAMAGE_UNDEAD,3,25)); + wood_sword.add(new StoreValues(0.051,Enchantment.DAMAGE_ARTHROPODS,3,25)); + wood_sword.add(new StoreValues(0.045,Enchantment.FIRE_ASPECT,1,25)); + wood_sword.add(new StoreValues(0.033,Enchantment.FIRE_ASPECT,2,25)); + wood_sword.add(new StoreValues(0.009,Enchantment.DAMAGE_ALL,4,25)); + wood_sword.add(new StoreValues(0.006,Enchantment.LOOT_BONUS_MOBS,3,25)); + wood_sword.add(new StoreValues(0.003,Enchantment.KNOCKBACK,1,25)); + wood_sword.add(new StoreValues(0,Enchantment.LOOT_BONUS_MOBS,1,25)); + wood_sword.add(new StoreValues(0,Enchantment.DAMAGE_ALL,2,25)); + bow.add(new StoreValues(0.449,Enchantment.ARROW_DAMAGE,3,25)); + bow.add(new StoreValues(0.263,Enchantment.DURABILITY,3,25)); + bow.add(new StoreValues(0.114,Enchantment.ARROW_KNOCKBACK,1,25)); + bow.add(new StoreValues(0.112,Enchantment.ARROW_FIRE,1,25)); + bow.add(new StoreValues(0.06,Enchantment.ARROW_INFINITE,1,25)); + iron_sword.add(new StoreValues(0.238,Enchantment.DAMAGE_ALL,3,25)); + iron_sword.add(new StoreValues(0.178,Enchantment.DURABILITY,3,25)); + iron_sword.add(new StoreValues(0.171,Enchantment.KNOCKBACK,2,25)); + iron_sword.add(new StoreValues(0.073,Enchantment.DAMAGE_UNDEAD,4,25)); + iron_sword.add(new StoreValues(0.072,Enchantment.DAMAGE_ARTHROPODS,4,25)); + iron_sword.add(new StoreValues(0.064,Enchantment.LOOT_BONUS_MOBS,2,25)); + iron_sword.add(new StoreValues(0.054,Enchantment.DAMAGE_ARTHROPODS,3,25)); + iron_sword.add(new StoreValues(0.052,Enchantment.DAMAGE_UNDEAD,3,25)); + iron_sword.add(new StoreValues(0.043,Enchantment.FIRE_ASPECT,1,25)); + iron_sword.add(new StoreValues(0.031,Enchantment.FIRE_ASPECT,2,25)); + iron_sword.add(new StoreValues(0.008,Enchantment.DAMAGE_ALL,4,25)); + iron_sword.add(new StoreValues(0.006,Enchantment.LOOT_BONUS_MOBS,3,25)); + iron_sword.add(new StoreValues(0.003,Enchantment.KNOCKBACK,1,25)); + iron_sword.add(new StoreValues(0,Enchantment.LOOT_BONUS_MOBS,1,25)); + iron_sword.add(new StoreValues(0,Enchantment.DAMAGE_UNDEAD,5,25)); + golden_sword.add(new StoreValues(0.186,Enchantment.DAMAGE_ALL,3,25)); + golden_sword.add(new StoreValues(0.181,Enchantment.DURABILITY,3,25)); + golden_sword.add(new StoreValues(0.17,Enchantment.KNOCKBACK,2,25)); + golden_sword.add(new StoreValues(0.093,Enchantment.DAMAGE_ARTHROPODS,4,25)); + golden_sword.add(new StoreValues(0.092,Enchantment.DAMAGE_UNDEAD,4,25)); + golden_sword.add(new StoreValues(0.052,Enchantment.LOOT_BONUS_MOBS,2,25)); + golden_sword.add(new StoreValues(0.051,Enchantment.DAMAGE_ALL,4,25)); + golden_sword.add(new StoreValues(0.05,Enchantment.FIRE_ASPECT,2,25)); + golden_sword.add(new StoreValues(0.029,Enchantment.DAMAGE_ARTHROPODS,3,25)); + golden_sword.add(new StoreValues(0.026,Enchantment.DAMAGE_UNDEAD,3,25)); + golden_sword.add(new StoreValues(0.026,Enchantment.LOOT_BONUS_MOBS,3,25)); + golden_sword.add(new StoreValues(0.025,Enchantment.FIRE_ASPECT,1,25)); + golden_sword.add(new StoreValues(0.005,Enchantment.DAMAGE_ARTHROPODS,5,25)); + golden_sword.add(new StoreValues(0.005,Enchantment.DAMAGE_UNDEAD,5,25)); + golden_sword.add(new StoreValues(0.001,Enchantment.KNOCKBACK,1,25)); + golden_sword.add(new StoreValues(0,Enchantment.LOOT_BONUS_MOBS,1,25)); + golden_sword.add(new StoreValues(0,Enchantment.DAMAGE_ALL,2,25)); + diamond_sword.add(new StoreValues(0.25,Enchantment.DAMAGE_ALL,3,25)); + diamond_sword.add(new StoreValues(0.173,Enchantment.DURABILITY,3,25)); + diamond_sword.add(new StoreValues(0.17,Enchantment.KNOCKBACK,2,25)); + diamond_sword.add(new StoreValues(0.076,Enchantment.DAMAGE_UNDEAD,3,25)); + diamond_sword.add(new StoreValues(0.076,Enchantment.DAMAGE_ARTHROPODS,3,25)); + diamond_sword.add(new StoreValues(0.071,Enchantment.LOOT_BONUS_MOBS,2,25)); + diamond_sword.add(new StoreValues(0.058,Enchantment.FIRE_ASPECT,1,25)); + diamond_sword.add(new StoreValues(0.051,Enchantment.DAMAGE_UNDEAD,4,25)); + diamond_sword.add(new StoreValues(0.047,Enchantment.DAMAGE_ARTHROPODS,4,25)); + diamond_sword.add(new StoreValues(0.017,Enchantment.FIRE_ASPECT,2,25)); + diamond_sword.add(new StoreValues(0.005,Enchantment.KNOCKBACK,1,25)); + diamond_sword.add(new StoreValues(0,Enchantment.LOOT_BONUS_MOBS,3,25)); + diamond_sword.add(new StoreValues(0,Enchantment.LOOT_BONUS_MOBS,1,25)); + diamond_sword.add(new StoreValues(0,Enchantment.DAMAGE_ALL,4,25)); + diamond_sword.add(new StoreValues(0,Enchantment.DAMAGE_ALL,2,25)); + chain_helmet.add(new StoreValues(0.258,Enchantment.PROTECTION_ENVIRONMENTAL,3,25)); + chain_helmet.add(new StoreValues(0.217,Enchantment.DURABILITY,3,25)); + chain_helmet.add(new StoreValues(0.132,Enchantment.PROTECTION_PROJECTILE,4,25)); + chain_helmet.add(new StoreValues(0.115,Enchantment.PROTECTION_FIRE,3,25)); + chain_helmet.add(new StoreValues(0.097,Enchantment.WATER_WORKER,1,25)); + chain_helmet.add(new StoreValues(0.058,Enchantment.OXYGEN,2,25)); + chain_helmet.add(new StoreValues(0.046,Enchantment.OXYGEN,3,25)); + chain_helmet.add(new StoreValues(0.029,Enchantment.PROTECTION_EXPLOSIONS,4,25)); + chain_helmet.add(new StoreValues(0.022,Enchantment.PROTECTION_EXPLOSIONS,3,25)); + chain_helmet.add(new StoreValues(0.009,Enchantment.PROTECTION_ENVIRONMENTAL,4,25)); + chain_helmet.add(new StoreValues(0.008,Enchantment.PROTECTION_FIRE,2,25)); + chain_helmet.add(new StoreValues(0.004,Enchantment.PROTECTION_FIRE,4,25)); + chain_helmet.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,2,25)); + chain_chestplate.add(new StoreValues(0.281,Enchantment.DURABILITY,3,25)); + chain_chestplate.add(new StoreValues(0.267,Enchantment.PROTECTION_ENVIRONMENTAL,3,25)); + chain_chestplate.add(new StoreValues(0.147,Enchantment.PROTECTION_PROJECTILE,4,25)); + chain_chestplate.add(new StoreValues(0.126,Enchantment.PROTECTION_FIRE,3,25)); + chain_chestplate.add(new StoreValues(0.051,Enchantment.THORNS,1,25)); + chain_chestplate.add(new StoreValues(0.036,Enchantment.THORNS,2,25)); + chain_chestplate.add(new StoreValues(0.035,Enchantment.PROTECTION_EXPLOSIONS,4,25)); + chain_chestplate.add(new StoreValues(0.025,Enchantment.PROTECTION_EXPLOSIONS,3,25)); + chain_chestplate.add(new StoreValues(0.01,Enchantment.PROTECTION_FIRE,2,25)); + chain_chestplate.add(new StoreValues(0.008,Enchantment.PROTECTION_ENVIRONMENTAL,4,25)); + chain_chestplate.add(new StoreValues(0.004,Enchantment.PROTECTION_FIRE,4,25)); + chain_chestplate.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,2,25)); + chain_leggings.add(new StoreValues(0.317,Enchantment.DURABILITY,3,25)); + chain_leggings.add(new StoreValues(0.287,Enchantment.PROTECTION_ENVIRONMENTAL,3,25)); + chain_leggings.add(new StoreValues(0.146,Enchantment.PROTECTION_PROJECTILE,4,25)); + chain_leggings.add(new StoreValues(0.13,Enchantment.PROTECTION_FIRE,3,25)); + chain_leggings.add(new StoreValues(0.032,Enchantment.PROTECTION_EXPLOSIONS,4,25)); + chain_leggings.add(new StoreValues(0.022,Enchantment.PROTECTION_EXPLOSIONS,3,25)); + chain_leggings.add(new StoreValues(0.011,Enchantment.PROTECTION_FIRE,2,25)); + chain_leggings.add(new StoreValues(0.009,Enchantment.PROTECTION_ENVIRONMENTAL,4,25)); + chain_leggings.add(new StoreValues(0.005,Enchantment.PROTECTION_FIRE,4,25)); + chain_leggings.add(new StoreValues(0,Enchantment.PROTECTION_ENVIRONMENTAL,2,25)); + chain_boots.add(new StoreValues(0.251,Enchantment.PROTECTION_ENVIRONMENTAL,3,25)); + chain_boots.add(new StoreValues(0.218,Enchantment.DURABILITY,3,25)); + chain_boots.add(new StoreValues(0.204,Enchantment.PROTECTION_FALL,4,25)); + chain_boots.add(new StoreValues(0.126,Enchantment.PROTECTION_PROJECTILE,4,25)); + chain_boots.add(new StoreValues(0.117,Enchantment.PROTECTION_FIRE,3,25)); + chain_boots.add(new StoreValues(0.03,Enchantment.PROTECTION_EXPLOSIONS,4,25)); + chain_boots.add(new StoreValues(0.021,Enchantment.PROTECTION_EXPLOSIONS,3,25)); + chain_boots.add(new StoreValues(0.01,Enchantment.PROTECTION_FIRE,2,25)); + chain_boots.add(new StoreValues(0.009,Enchantment.PROTECTION_ENVIRONMENTAL,4,25)); + chain_boots.add(new StoreValues(0.004,Enchantment.PROTECTION_FIRE,4,25)); + chain_boots.add(new StoreValues(0,Enchantment.PROTECTION_FALL,3,25)); + stone_shovel.add(new StoreValues(0.414,Enchantment.DIG_SPEED,3,20)); + stone_shovel.add(new StoreValues(0.246,Enchantment.DURABILITY,3,20)); + stone_shovel.add(new StoreValues(0.109,Enchantment.LOOT_BONUS_BLOCKS,1,20)); + stone_shovel.add(new StoreValues(0.085,Enchantment.DIG_SPEED,2,20)); + stone_shovel.add(new StoreValues(0.067,Enchantment.SILK_TOUCH,1,20)); + stone_shovel.add(new StoreValues(0.05,Enchantment.DURABILITY,2,20)); + stone_shovel.add(new StoreValues(0.023,Enchantment.LOOT_BONUS_BLOCKS,2,20)); + stone_pickaxe.add(new StoreValues(0.417,Enchantment.DIG_SPEED,3,20)); + stone_pickaxe.add(new StoreValues(0.25,Enchantment.DURABILITY,3,20)); + stone_pickaxe.add(new StoreValues(0.104,Enchantment.LOOT_BONUS_BLOCKS,1,20)); + stone_pickaxe.add(new StoreValues(0.088,Enchantment.DIG_SPEED,2,20)); + stone_pickaxe.add(new StoreValues(0.064,Enchantment.SILK_TOUCH,1,20)); + stone_pickaxe.add(new StoreValues(0.05,Enchantment.DURABILITY,2,20)); + stone_pickaxe.add(new StoreValues(0.022,Enchantment.LOOT_BONUS_BLOCKS,2,20)); + leather_boots.add(new StoreValues(0.196,Enchantment.DURABILITY,3,20)); + leather_boots.add(new StoreValues(0.193,Enchantment.PROTECTION_ENVIRONMENTAL,3,20)); + leather_boots.add(new StoreValues(0.157,Enchantment.PROTECTION_FALL,4,20)); + leather_boots.add(new StoreValues(0.125,Enchantment.PROTECTION_PROJECTILE,4,20)); + leather_boots.add(new StoreValues(0.102,Enchantment.PROTECTION_FIRE,2,20)); + leather_boots.add(new StoreValues(0.063,Enchantment.PROTECTION_ENVIRONMENTAL,2,20)); + leather_boots.add(new StoreValues(0.051,Enchantment.PROTECTION_EXPLOSIONS,3,20)); + leather_boots.add(new StoreValues(0.051,Enchantment.PROTECTION_FALL,3,20)); + leather_boots.add(new StoreValues(0.033,Enchantment.PROTECTION_FIRE,3,20)); + leather_boots.add(new StoreValues(0.009,Enchantment.DURABILITY,2,20)); + leather_boots.add(new StoreValues(0.006,Enchantment.PROTECTION_PROJECTILE,3,20)); + leather_boots.add(new StoreValues(0.003,Enchantment.PROTECTION_EXPLOSIONS,2,20)); + leather_boots.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,4,20)); + leather_cap.add(new StoreValues(0.207,Enchantment.DURABILITY,3,20)); + leather_cap.add(new StoreValues(0.204,Enchantment.PROTECTION_ENVIRONMENTAL,3,20)); + leather_cap.add(new StoreValues(0.13,Enchantment.PROTECTION_PROJECTILE,4,20)); + leather_cap.add(new StoreValues(0.1,Enchantment.PROTECTION_FIRE,2,20)); + leather_cap.add(new StoreValues(0.09,Enchantment.OXYGEN,2,20)); + leather_cap.add(new StoreValues(0.089,Enchantment.WATER_WORKER,1,20)); + leather_cap.add(new StoreValues(0.07,Enchantment.PROTECTION_ENVIRONMENTAL,2,20)); + leather_cap.add(new StoreValues(0.049,Enchantment.PROTECTION_EXPLOSIONS,3,20)); + leather_cap.add(new StoreValues(0.035,Enchantment.PROTECTION_FIRE,3,20)); + leather_cap.add(new StoreValues(0.01,Enchantment.DURABILITY,2,20)); + leather_cap.add(new StoreValues(0.006,Enchantment.PROTECTION_PROJECTILE,3,20)); + leather_cap.add(new StoreValues(0.002,Enchantment.PROTECTION_EXPLOSIONS,2,20)); + leather_cap.add(new StoreValues(0.001,Enchantment.OXYGEN,1,20)); + leather_cap.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,4,20)); + leather_cap.add(new StoreValues(0.001,Enchantment.OXYGEN,3,20)); + leather_pants.add(new StoreValues(0.288,Enchantment.DURABILITY,3,20)); + leather_pants.add(new StoreValues(0.227,Enchantment.PROTECTION_ENVIRONMENTAL,3,20)); + leather_pants.add(new StoreValues(0.144,Enchantment.PROTECTION_PROJECTILE,4,20)); + leather_pants.add(new StoreValues(0.114,Enchantment.PROTECTION_FIRE,2,20)); + leather_pants.add(new StoreValues(0.077,Enchantment.PROTECTION_ENVIRONMENTAL,2,20)); + leather_pants.add(new StoreValues(0.057,Enchantment.PROTECTION_EXPLOSIONS,3,20)); + leather_pants.add(new StoreValues(0.038,Enchantment.PROTECTION_FIRE,3,20)); + leather_pants.add(new StoreValues(0.013,Enchantment.DURABILITY,2,20)); + leather_pants.add(new StoreValues(0.006,Enchantment.PROTECTION_PROJECTILE,3,20)); + leather_pants.add(new StoreValues(0.002,Enchantment.PROTECTION_EXPLOSIONS,2,20)); + leather_pants.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,4,20)); + leather_tunic.add(new StoreValues(0.259,Enchantment.DURABILITY,3,20)); + leather_tunic.add(new StoreValues(0.215,Enchantment.PROTECTION_ENVIRONMENTAL,3,20)); + leather_tunic.add(new StoreValues(0.142,Enchantment.PROTECTION_PROJECTILE,4,20)); + leather_tunic.add(new StoreValues(0.106,Enchantment.PROTECTION_FIRE,2,20)); + leather_tunic.add(new StoreValues(0.077,Enchantment.THORNS,1,20)); + leather_tunic.add(new StoreValues(0.074,Enchantment.PROTECTION_ENVIRONMENTAL,2,20)); + leather_tunic.add(new StoreValues(0.057,Enchantment.PROTECTION_EXPLOSIONS,3,20)); + leather_tunic.add(new StoreValues(0.039,Enchantment.PROTECTION_FIRE,3,20)); + leather_tunic.add(new StoreValues(0.011,Enchantment.DURABILITY,2,20)); + leather_tunic.add(new StoreValues(0.007,Enchantment.PROTECTION_PROJECTILE,3,20)); + leather_tunic.add(new StoreValues(0.003,Enchantment.PROTECTION_EXPLOSIONS,2,20)); + leather_tunic.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,4,20)); + leather_tunic.add(new StoreValues(0.001,Enchantment.THORNS,2,20)); + iron_shovel.add(new StoreValues(0.478,Enchantment.DIG_SPEED,3,20)); + iron_shovel.add(new StoreValues(0.285,Enchantment.DURABILITY,3,20)); + iron_shovel.add(new StoreValues(0.08,Enchantment.LOOT_BONUS_BLOCKS,2,20)); + iron_shovel.add(new StoreValues(0.067,Enchantment.SILK_TOUCH,1,20)); + iron_shovel.add(new StoreValues(0.051,Enchantment.LOOT_BONUS_BLOCKS,1,20)); + iron_shovel.add(new StoreValues(0.022,Enchantment.DIG_SPEED,2,20)); + iron_shovel.add(new StoreValues(0.011,Enchantment.DURABILITY,2,20)); + iron_shovel.add(new StoreValues(0.001,Enchantment.DIG_SPEED,4,20)); + iron_axe.add(new StoreValues(0.472,Enchantment.DIG_SPEED,3,20)); + iron_axe.add(new StoreValues(0.291,Enchantment.DURABILITY,3,20)); + iron_axe.add(new StoreValues(0.078,Enchantment.LOOT_BONUS_BLOCKS,2,20)); + iron_axe.add(new StoreValues(0.066,Enchantment.SILK_TOUCH,1,20)); + iron_axe.add(new StoreValues(0.054,Enchantment.LOOT_BONUS_BLOCKS,1,20)); + iron_axe.add(new StoreValues(0.021,Enchantment.DIG_SPEED,2,20)); + iron_axe.add(new StoreValues(0.012,Enchantment.DURABILITY,2,20)); + iron_axe.add(new StoreValues(0.001,Enchantment.DIG_SPEED,4,20)); + iron_boots.add(new StoreValues(0.192,Enchantment.DURABILITY,3,20)); + iron_boots.add(new StoreValues(0.162,Enchantment.PROTECTION_ENVIRONMENTAL,3,20)); + iron_boots.add(new StoreValues(0.126,Enchantment.PROTECTION_FALL,4,20)); + iron_boots.add(new StoreValues(0.121,Enchantment.PROTECTION_FIRE,2,20)); + iron_boots.add(new StoreValues(0.121,Enchantment.PROTECTION_PROJECTILE,4,20)); + iron_boots.add(new StoreValues(0.103,Enchantment.PROTECTION_ENVIRONMENTAL,2,20)); + iron_boots.add(new StoreValues(0.08,Enchantment.PROTECTION_FALL,3,20)); + iron_boots.add(new StoreValues(0.05,Enchantment.PROTECTION_EXPLOSIONS,3,20)); + iron_boots.add(new StoreValues(0.014,Enchantment.DURABILITY,2,20)); + iron_boots.add(new StoreValues(0.011,Enchantment.PROTECTION_PROJECTILE,3,20)); + iron_boots.add(new StoreValues(0.011,Enchantment.PROTECTION_FIRE,3,20)); + iron_boots.add(new StoreValues(0.004,Enchantment.PROTECTION_EXPLOSIONS,2,20)); + iron_pickaxe.add(new StoreValues(0.48,Enchantment.DIG_SPEED,3,20)); + iron_pickaxe.add(new StoreValues(0.284,Enchantment.DURABILITY,3,20)); + iron_pickaxe.add(new StoreValues(0.077,Enchantment.LOOT_BONUS_BLOCKS,2,20)); + iron_pickaxe.add(new StoreValues(0.065,Enchantment.SILK_TOUCH,1,20)); + iron_pickaxe.add(new StoreValues(0.053,Enchantment.LOOT_BONUS_BLOCKS,1,20)); + iron_pickaxe.add(new StoreValues(0.023,Enchantment.DIG_SPEED,2,20)); + iron_pickaxe.add(new StoreValues(0.013,Enchantment.DURABILITY,2,20)); + iron_pickaxe.add(new StoreValues(0.001,Enchantment.DIG_SPEED,4,20)); + iron_helmet.add(new StoreValues(0.195,Enchantment.DURABILITY,3,20)); + iron_helmet.add(new StoreValues(0.164,Enchantment.PROTECTION_ENVIRONMENTAL,3,20)); + iron_helmet.add(new StoreValues(0.123,Enchantment.PROTECTION_PROJECTILE,4,20)); + iron_helmet.add(new StoreValues(0.123,Enchantment.PROTECTION_FIRE,2,20)); + iron_helmet.add(new StoreValues(0.107,Enchantment.PROTECTION_ENVIRONMENTAL,2,20)); + iron_helmet.add(new StoreValues(0.093,Enchantment.OXYGEN,2,20)); + iron_helmet.add(new StoreValues(0.092,Enchantment.WATER_WORKER,1,20)); + iron_helmet.add(new StoreValues(0.051,Enchantment.PROTECTION_EXPLOSIONS,3,20)); + iron_helmet.add(new StoreValues(0.017,Enchantment.DURABILITY,2,20)); + iron_helmet.add(new StoreValues(0.012,Enchantment.PROTECTION_FIRE,3,20)); + iron_helmet.add(new StoreValues(0.012,Enchantment.PROTECTION_PROJECTILE,3,20)); + iron_helmet.add(new StoreValues(0.004,Enchantment.PROTECTION_EXPLOSIONS,2,20)); + iron_helmet.add(new StoreValues(0.001,Enchantment.OXYGEN,1,20)); + golden_shovel.add(new StoreValues(0.446,Enchantment.DIG_SPEED,3,20)); + golden_shovel.add(new StoreValues(0.301,Enchantment.DURABILITY,3,20)); + golden_shovel.add(new StoreValues(0.107,Enchantment.LOOT_BONUS_BLOCKS,2,20)); + golden_shovel.add(new StoreValues(0.065,Enchantment.SILK_TOUCH,1,20)); + golden_shovel.add(new StoreValues(0.033,Enchantment.DIG_SPEED,4,20)); + golden_shovel.add(new StoreValues(0.023,Enchantment.LOOT_BONUS_BLOCKS,1,20)); + golden_shovel.add(new StoreValues(0.01,Enchantment.DIG_SPEED,2,20)); + golden_shovel.add(new StoreValues(0.006,Enchantment.DURABILITY,2,20)); + golden_shovel.add(new StoreValues(0.001,Enchantment.LOOT_BONUS_BLOCKS,3,20)); + golden_axe.add(new StoreValues(0.451,Enchantment.DIG_SPEED,3,20)); + golden_axe.add(new StoreValues(0.29,Enchantment.DURABILITY,3,20)); + golden_axe.add(new StoreValues(0.108,Enchantment.LOOT_BONUS_BLOCKS,2,20)); + golden_axe.add(new StoreValues(0.07,Enchantment.SILK_TOUCH,1,20)); + golden_axe.add(new StoreValues(0.034,Enchantment.DIG_SPEED,4,20)); + golden_axe.add(new StoreValues(0.022,Enchantment.LOOT_BONUS_BLOCKS,1,20)); + golden_axe.add(new StoreValues(0.01,Enchantment.DIG_SPEED,2,20)); + golden_axe.add(new StoreValues(0.006,Enchantment.DURABILITY,2,20)); + golden_axe.add(new StoreValues(0.002,Enchantment.LOOT_BONUS_BLOCKS,3,20)); + iron_leggings.add(new StoreValues(0.276,Enchantment.DURABILITY,3,20)); + iron_leggings.add(new StoreValues(0.179,Enchantment.PROTECTION_ENVIRONMENTAL,3,20)); + iron_leggings.add(new StoreValues(0.136,Enchantment.PROTECTION_PROJECTILE,4,20)); + iron_leggings.add(new StoreValues(0.136,Enchantment.PROTECTION_FIRE,2,20)); + iron_leggings.add(new StoreValues(0.127,Enchantment.PROTECTION_ENVIRONMENTAL,2,20)); + iron_leggings.add(new StoreValues(0.055,Enchantment.PROTECTION_EXPLOSIONS,3,20)); + iron_leggings.add(new StoreValues(0.024,Enchantment.DURABILITY,2,20)); + iron_leggings.add(new StoreValues(0.017,Enchantment.PROTECTION_FIRE,3,20)); + iron_leggings.add(new StoreValues(0.013,Enchantment.PROTECTION_PROJECTILE,3,20)); + iron_leggings.add(new StoreValues(0.005,Enchantment.PROTECTION_EXPLOSIONS,2,20)); + diamond_shovel.add(new StoreValues(0.458,Enchantment.DIG_SPEED,3,20)); + diamond_shovel.add(new StoreValues(0.272,Enchantment.DURABILITY,3,20)); + diamond_shovel.add(new StoreValues(0.078,Enchantment.LOOT_BONUS_BLOCKS,1,20)); + diamond_shovel.add(new StoreValues(0.064,Enchantment.SILK_TOUCH,1,20)); + diamond_shovel.add(new StoreValues(0.054,Enchantment.LOOT_BONUS_BLOCKS,2,20)); + diamond_shovel.add(new StoreValues(0.042,Enchantment.DIG_SPEED,2,20)); + diamond_shovel.add(new StoreValues(0.026,Enchantment.DURABILITY,2,20)); + diamond_axe.add(new StoreValues(0.457,Enchantment.DIG_SPEED,3,20)); + diamond_axe.add(new StoreValues(0.277,Enchantment.DURABILITY,3,20)); + diamond_axe.add(new StoreValues(0.078,Enchantment.LOOT_BONUS_BLOCKS,1,20)); + diamond_axe.add(new StoreValues(0.06,Enchantment.SILK_TOUCH,1,20)); + diamond_axe.add(new StoreValues(0.055,Enchantment.LOOT_BONUS_BLOCKS,2,20)); + diamond_axe.add(new StoreValues(0.042,Enchantment.DIG_SPEED,2,20)); + diamond_axe.add(new StoreValues(0.026,Enchantment.DURABILITY,2,20)); + golden_boots.add(new StoreValues(0.233,Enchantment.PROTECTION_ENVIRONMENTAL,3,20)); + golden_boots.add(new StoreValues(0.21,Enchantment.DURABILITY,3,20)); + golden_boots.add(new StoreValues(0.19,Enchantment.PROTECTION_FALL,4,20)); + golden_boots.add(new StoreValues(0.124,Enchantment.PROTECTION_PROJECTILE,4,20)); + golden_boots.add(new StoreValues(0.084,Enchantment.PROTECTION_FIRE,3,20)); + golden_boots.add(new StoreValues(0.046,Enchantment.PROTECTION_FIRE,2,20)); + golden_boots.add(new StoreValues(0.033,Enchantment.PROTECTION_EXPLOSIONS,3,20)); + golden_boots.add(new StoreValues(0.02,Enchantment.PROTECTION_ENVIRONMENTAL,2,20)); + golden_boots.add(new StoreValues(0.017,Enchantment.PROTECTION_EXPLOSIONS,4,20)); + golden_boots.add(new StoreValues(0.015,Enchantment.PROTECTION_FALL,3,20)); + golden_boots.add(new StoreValues(0.008,Enchantment.PROTECTION_ENVIRONMENTAL,4,20)); + golden_boots.add(new StoreValues(0.004,Enchantment.PROTECTION_FIRE,4,20)); + golden_boots.add(new StoreValues(0.003,Enchantment.DURABILITY,2,20)); + golden_boots.add(new StoreValues(0.002,Enchantment.PROTECTION_PROJECTILE,3,20)); + golden_boots.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,2,20)); + iron_chestplate.add(new StoreValues(0.248,Enchantment.DURABILITY,3,20)); + iron_chestplate.add(new StoreValues(0.172,Enchantment.PROTECTION_ENVIRONMENTAL,3,20)); + iron_chestplate.add(new StoreValues(0.133,Enchantment.PROTECTION_FIRE,2,20)); + iron_chestplate.add(new StoreValues(0.132,Enchantment.PROTECTION_PROJECTILE,4,20)); + iron_chestplate.add(new StoreValues(0.121,Enchantment.PROTECTION_ENVIRONMENTAL,2,20)); + iron_chestplate.add(new StoreValues(0.079,Enchantment.THORNS,1,20)); + iron_chestplate.add(new StoreValues(0.05,Enchantment.PROTECTION_EXPLOSIONS,3,20)); + iron_chestplate.add(new StoreValues(0.023,Enchantment.DURABILITY,2,20)); + iron_chestplate.add(new StoreValues(0.015,Enchantment.PROTECTION_FIRE,3,20)); + iron_chestplate.add(new StoreValues(0.013,Enchantment.PROTECTION_PROJECTILE,3,20)); + iron_chestplate.add(new StoreValues(0.006,Enchantment.PROTECTION_EXPLOSIONS,2,20)); + golden_helmet.add(new StoreValues(0.237,Enchantment.PROTECTION_ENVIRONMENTAL,3,20)); + golden_helmet.add(new StoreValues(0.209,Enchantment.DURABILITY,3,20)); + golden_helmet.add(new StoreValues(0.131,Enchantment.PROTECTION_PROJECTILE,4,20)); + golden_helmet.add(new StoreValues(0.098,Enchantment.WATER_WORKER,1,20)); + golden_helmet.add(new StoreValues(0.085,Enchantment.PROTECTION_FIRE,3,20)); + golden_helmet.add(new StoreValues(0.075,Enchantment.OXYGEN,2,20)); + golden_helmet.add(new StoreValues(0.045,Enchantment.PROTECTION_FIRE,2,20)); + golden_helmet.add(new StoreValues(0.033,Enchantment.PROTECTION_EXPLOSIONS,3,20)); + golden_helmet.add(new StoreValues(0.025,Enchantment.OXYGEN,3,20)); + golden_helmet.add(new StoreValues(0.022,Enchantment.PROTECTION_ENVIRONMENTAL,2,20)); + golden_helmet.add(new StoreValues(0.019,Enchantment.PROTECTION_EXPLOSIONS,4,20)); + golden_helmet.add(new StoreValues(0.005,Enchantment.PROTECTION_ENVIRONMENTAL,4,20)); + golden_helmet.add(new StoreValues(0.003,Enchantment.PROTECTION_FIRE,4,20)); + golden_helmet.add(new StoreValues(0.003,Enchantment.DURABILITY,2,20)); + golden_helmet.add(new StoreValues(0.001,Enchantment.PROTECTION_PROJECTILE,3,20)); + golden_helmet.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,2,20)); + golden_helmet.add(new StoreValues(0.001,Enchantment.OXYGEN,1,20)); + diamond_pickaxe.add(new StoreValues(0.463,Enchantment.DIG_SPEED,3,20)); + diamond_pickaxe.add(new StoreValues(0.274,Enchantment.DURABILITY,3,20)); + diamond_pickaxe.add(new StoreValues(0.078,Enchantment.LOOT_BONUS_BLOCKS,1,20)); + diamond_pickaxe.add(new StoreValues(0.064,Enchantment.SILK_TOUCH,1,20)); + diamond_pickaxe.add(new StoreValues(0.052,Enchantment.LOOT_BONUS_BLOCKS,2,20)); + diamond_pickaxe.add(new StoreValues(0.038,Enchantment.DIG_SPEED,2,20)); + diamond_pickaxe.add(new StoreValues(0.026,Enchantment.DURABILITY,2,20)); + diamond_boots.add(new StoreValues(0.19,Enchantment.DURABILITY,3,20)); + diamond_boots.add(new StoreValues(0.158,Enchantment.PROTECTION_ENVIRONMENTAL,3,20)); + diamond_boots.add(new StoreValues(0.124,Enchantment.PROTECTION_PROJECTILE,4,20)); + diamond_boots.add(new StoreValues(0.122,Enchantment.PROTECTION_FIRE,2,20)); + diamond_boots.add(new StoreValues(0.121,Enchantment.PROTECTION_FALL,4,20)); + diamond_boots.add(new StoreValues(0.109,Enchantment.PROTECTION_ENVIRONMENTAL,2,20)); + diamond_boots.add(new StoreValues(0.078,Enchantment.PROTECTION_FALL,3,20)); + diamond_boots.add(new StoreValues(0.047,Enchantment.PROTECTION_EXPLOSIONS,3,20)); + diamond_boots.add(new StoreValues(0.016,Enchantment.DURABILITY,2,20)); + diamond_boots.add(new StoreValues(0.012,Enchantment.PROTECTION_FIRE,3,20)); + diamond_boots.add(new StoreValues(0.009,Enchantment.PROTECTION_PROJECTILE,3,20)); + diamond_boots.add(new StoreValues(0.005,Enchantment.PROTECTION_EXPLOSIONS,2,20)); + diamond_boots.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,4,20)); + golden_leggings.add(new StoreValues(0.306,Enchantment.DURABILITY,3,20)); + golden_leggings.add(new StoreValues(0.272,Enchantment.PROTECTION_ENVIRONMENTAL,3,20)); + golden_leggings.add(new StoreValues(0.148,Enchantment.PROTECTION_PROJECTILE,4,20)); + golden_leggings.add(new StoreValues(0.089,Enchantment.PROTECTION_FIRE,3,20)); + golden_leggings.add(new StoreValues(0.048,Enchantment.PROTECTION_FIRE,2,20)); + golden_leggings.add(new StoreValues(0.039,Enchantment.PROTECTION_EXPLOSIONS,3,20)); + golden_leggings.add(new StoreValues(0.025,Enchantment.PROTECTION_ENVIRONMENTAL,2,20)); + golden_leggings.add(new StoreValues(0.019,Enchantment.PROTECTION_EXPLOSIONS,4,20)); + golden_leggings.add(new StoreValues(0.007,Enchantment.PROTECTION_ENVIRONMENTAL,4,20)); + golden_leggings.add(new StoreValues(0.003,Enchantment.PROTECTION_FIRE,4,20)); + golden_leggings.add(new StoreValues(0.003,Enchantment.DURABILITY,2,20)); + golden_leggings.add(new StoreValues(0.001,Enchantment.PROTECTION_PROJECTILE,3,20)); + golden_leggings.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,2,20)); + golden_chestplate.add(new StoreValues(0.273,Enchantment.DURABILITY,3,20)); + golden_chestplate.add(new StoreValues(0.254,Enchantment.PROTECTION_ENVIRONMENTAL,3,20)); + golden_chestplate.add(new StoreValues(0.141,Enchantment.PROTECTION_PROJECTILE,4,20)); + golden_chestplate.add(new StoreValues(0.09,Enchantment.PROTECTION_FIRE,3,20)); + golden_chestplate.add(new StoreValues(0.065,Enchantment.THORNS,1,20)); + golden_chestplate.add(new StoreValues(0.047,Enchantment.PROTECTION_FIRE,2,20)); + golden_chestplate.add(new StoreValues(0.039,Enchantment.PROTECTION_EXPLOSIONS,3,20)); + golden_chestplate.add(new StoreValues(0.024,Enchantment.PROTECTION_ENVIRONMENTAL,2,20)); + golden_chestplate.add(new StoreValues(0.02,Enchantment.THORNS,2,20)); + golden_chestplate.add(new StoreValues(0.02,Enchantment.PROTECTION_EXPLOSIONS,4,20)); + golden_chestplate.add(new StoreValues(0.007,Enchantment.PROTECTION_ENVIRONMENTAL,4,20)); + golden_chestplate.add(new StoreValues(0.003,Enchantment.DURABILITY,2,20)); + golden_chestplate.add(new StoreValues(0.003,Enchantment.PROTECTION_FIRE,4,20)); + golden_chestplate.add(new StoreValues(0.002,Enchantment.PROTECTION_PROJECTILE,3,20)); + golden_chestplate.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,2,20)); + diamond_helmet.add(new StoreValues(0.195,Enchantment.DURABILITY,3,20)); + diamond_helmet.add(new StoreValues(0.165,Enchantment.PROTECTION_ENVIRONMENTAL,3,20)); + diamond_helmet.add(new StoreValues(0.124,Enchantment.PROTECTION_FIRE,2,20)); + diamond_helmet.add(new StoreValues(0.123,Enchantment.PROTECTION_PROJECTILE,4,20)); + diamond_helmet.add(new StoreValues(0.106,Enchantment.PROTECTION_ENVIRONMENTAL,2,20)); + diamond_helmet.add(new StoreValues(0.09,Enchantment.OXYGEN,2,20)); + diamond_helmet.add(new StoreValues(0.09,Enchantment.WATER_WORKER,1,20)); + diamond_helmet.add(new StoreValues(0.051,Enchantment.PROTECTION_EXPLOSIONS,3,20)); + diamond_helmet.add(new StoreValues(0.019,Enchantment.DURABILITY,2,20)); + diamond_helmet.add(new StoreValues(0.013,Enchantment.PROTECTION_FIRE,3,20)); + diamond_helmet.add(new StoreValues(0.013,Enchantment.PROTECTION_PROJECTILE,3,20)); + diamond_helmet.add(new StoreValues(0.004,Enchantment.PROTECTION_EXPLOSIONS,2,20)); + diamond_helmet.add(new StoreValues(0.001,Enchantment.OXYGEN,1,20)); + diamond_leggings.add(new StoreValues(0.278,Enchantment.DURABILITY,3,20)); + diamond_leggings.add(new StoreValues(0.173,Enchantment.PROTECTION_ENVIRONMENTAL,3,20)); + diamond_leggings.add(new StoreValues(0.145,Enchantment.PROTECTION_PROJECTILE,4,20)); + diamond_leggings.add(new StoreValues(0.14,Enchantment.PROTECTION_FIRE,2,20)); + diamond_leggings.add(new StoreValues(0.124,Enchantment.PROTECTION_ENVIRONMENTAL,2,20)); + diamond_leggings.add(new StoreValues(0.056,Enchantment.PROTECTION_EXPLOSIONS,3,20)); + diamond_leggings.add(new StoreValues(0.025,Enchantment.DURABILITY,2,20)); + diamond_leggings.add(new StoreValues(0.014,Enchantment.PROTECTION_FIRE,3,20)); + diamond_leggings.add(new StoreValues(0.011,Enchantment.PROTECTION_PROJECTILE,3,20)); + diamond_leggings.add(new StoreValues(0.006,Enchantment.PROTECTION_EXPLOSIONS,2,20)); + diamond_chestplate.add(new StoreValues(0.252,Enchantment.DURABILITY,3,20)); + diamond_chestplate.add(new StoreValues(0.174,Enchantment.PROTECTION_ENVIRONMENTAL,3,20)); + diamond_chestplate.add(new StoreValues(0.136,Enchantment.PROTECTION_FIRE,2,20)); + diamond_chestplate.add(new StoreValues(0.133,Enchantment.PROTECTION_PROJECTILE,4,20)); + diamond_chestplate.add(new StoreValues(0.116,Enchantment.PROTECTION_ENVIRONMENTAL,2,20)); + diamond_chestplate.add(new StoreValues(0.073,Enchantment.THORNS,1,20)); + diamond_chestplate.add(new StoreValues(0.055,Enchantment.PROTECTION_EXPLOSIONS,3,20)); + diamond_chestplate.add(new StoreValues(0.022,Enchantment.DURABILITY,2,20)); + diamond_chestplate.add(new StoreValues(0.015,Enchantment.PROTECTION_FIRE,3,20)); + diamond_chestplate.add(new StoreValues(0.013,Enchantment.PROTECTION_PROJECTILE,3,20)); + diamond_chestplate.add(new StoreValues(0.004,Enchantment.PROTECTION_EXPLOSIONS,2,20)); + wood_sword.add(new StoreValues(0.194,Enchantment.DAMAGE_ALL,3,20)); + wood_sword.add(new StoreValues(0.165,Enchantment.DURABILITY,3,20)); + wood_sword.add(new StoreValues(0.121,Enchantment.DAMAGE_ARTHROPODS,3,20)); + wood_sword.add(new StoreValues(0.115,Enchantment.DAMAGE_UNDEAD,3,20)); + wood_sword.add(new StoreValues(0.101,Enchantment.KNOCKBACK,1,20)); + wood_sword.add(new StoreValues(0.071,Enchantment.KNOCKBACK,2,20)); + wood_sword.add(new StoreValues(0.068,Enchantment.FIRE_ASPECT,1,20)); + wood_sword.add(new StoreValues(0.063,Enchantment.DAMAGE_ALL,2,20)); + wood_sword.add(new StoreValues(0.04,Enchantment.LOOT_BONUS_MOBS,2,20)); + wood_sword.add(new StoreValues(0.028,Enchantment.LOOT_BONUS_MOBS,1,20)); + wood_sword.add(new StoreValues(0.008,Enchantment.DURABILITY,2,20)); + wood_sword.add(new StoreValues(0.007,Enchantment.DAMAGE_UNDEAD,2,20)); + wood_sword.add(new StoreValues(0.006,Enchantment.DAMAGE_ARTHROPODS,2,20)); + wood_sword.add(new StoreValues(0.003,Enchantment.DAMAGE_ARTHROPODS,4,20)); + wood_sword.add(new StoreValues(0.002,Enchantment.DAMAGE_UNDEAD,4,20)); + wood_sword.add(new StoreValues(0.001,Enchantment.FIRE_ASPECT,2,20)); + bow.add(new StoreValues(0.302,Enchantment.ARROW_DAMAGE,3,20)); + bow.add(new StoreValues(0.168,Enchantment.DURABILITY,3,20)); + bow.add(new StoreValues(0.167,Enchantment.ARROW_DAMAGE,2,20)); + bow.add(new StoreValues(0.114,Enchantment.ARROW_KNOCKBACK,1,20)); + bow.add(new StoreValues(0.1,Enchantment.ARROW_FIRE,1,20)); + bow.add(new StoreValues(0.096,Enchantment.DURABILITY,2,20)); + bow.add(new StoreValues(0.05,Enchantment.ARROW_INFINITE,1,20)); + iron_sword.add(new StoreValues(0.187,Enchantment.DAMAGE_ALL,3,20)); + iron_sword.add(new StoreValues(0.169,Enchantment.DURABILITY,3,20)); + iron_sword.add(new StoreValues(0.122,Enchantment.DAMAGE_UNDEAD,3,20)); + iron_sword.add(new StoreValues(0.12,Enchantment.DAMAGE_ARTHROPODS,3,20)); + iron_sword.add(new StoreValues(0.102,Enchantment.KNOCKBACK,1,20)); + iron_sword.add(new StoreValues(0.069,Enchantment.FIRE_ASPECT,1,20)); + iron_sword.add(new StoreValues(0.069,Enchantment.KNOCKBACK,2,20)); + iron_sword.add(new StoreValues(0.061,Enchantment.DAMAGE_ALL,2,20)); + iron_sword.add(new StoreValues(0.042,Enchantment.LOOT_BONUS_MOBS,2,20)); + iron_sword.add(new StoreValues(0.028,Enchantment.LOOT_BONUS_MOBS,1,20)); + iron_sword.add(new StoreValues(0.008,Enchantment.DURABILITY,2,20)); + iron_sword.add(new StoreValues(0.006,Enchantment.DAMAGE_UNDEAD,2,20)); + iron_sword.add(new StoreValues(0.005,Enchantment.DAMAGE_ARTHROPODS,2,20)); + iron_sword.add(new StoreValues(0.003,Enchantment.DAMAGE_ARTHROPODS,4,20)); + iron_sword.add(new StoreValues(0.001,Enchantment.DAMAGE_UNDEAD,4,20)); + iron_sword.add(new StoreValues(0.001,Enchantment.FIRE_ASPECT,2,20)); + golden_sword.add(new StoreValues(0.222,Enchantment.DAMAGE_ALL,3,20)); + golden_sword.add(new StoreValues(0.177,Enchantment.DURABILITY,3,20)); + golden_sword.add(new StoreValues(0.119,Enchantment.KNOCKBACK,2,20)); + golden_sword.add(new StoreValues(0.099,Enchantment.DAMAGE_UNDEAD,3,20)); + golden_sword.add(new StoreValues(0.094,Enchantment.DAMAGE_ARTHROPODS,3,20)); + golden_sword.add(new StoreValues(0.064,Enchantment.FIRE_ASPECT,1,20)); + golden_sword.add(new StoreValues(0.056,Enchantment.LOOT_BONUS_MOBS,2,20)); + golden_sword.add(new StoreValues(0.052,Enchantment.KNOCKBACK,1,20)); + golden_sword.add(new StoreValues(0.03,Enchantment.DAMAGE_ALL,2,20)); + golden_sword.add(new StoreValues(0.025,Enchantment.DAMAGE_ARTHROPODS,4,20)); + golden_sword.add(new StoreValues(0.023,Enchantment.DAMAGE_UNDEAD,4,20)); + golden_sword.add(new StoreValues(0.013,Enchantment.LOOT_BONUS_MOBS,1,20)); + golden_sword.add(new StoreValues(0.007,Enchantment.FIRE_ASPECT,2,20)); + golden_sword.add(new StoreValues(0.003,Enchantment.DAMAGE_UNDEAD,2,20)); + golden_sword.add(new StoreValues(0.003,Enchantment.DURABILITY,2,20)); + golden_sword.add(new StoreValues(0.002,Enchantment.DAMAGE_ARTHROPODS,2,20)); + golden_sword.add(new StoreValues(0.001,Enchantment.LOOT_BONUS_MOBS,3,20)); + golden_sword.add(new StoreValues(0.001,Enchantment.DAMAGE_ALL,4,20)); + diamond_sword.add(new StoreValues(0.155,Enchantment.DAMAGE_ALL,3,20)); + diamond_sword.add(new StoreValues(0.151,Enchantment.DURABILITY,3,20)); + diamond_sword.add(new StoreValues(0.13,Enchantment.KNOCKBACK,1,20)); + diamond_sword.add(new StoreValues(0.119,Enchantment.DAMAGE_ARTHROPODS,3,20)); + diamond_sword.add(new StoreValues(0.116,Enchantment.DAMAGE_UNDEAD,3,20)); + diamond_sword.add(new StoreValues(0.105,Enchantment.DAMAGE_ALL,2,20)); + diamond_sword.add(new StoreValues(0.075,Enchantment.FIRE_ASPECT,1,20)); + diamond_sword.add(new StoreValues(0.04,Enchantment.LOOT_BONUS_MOBS,1,20)); + diamond_sword.add(new StoreValues(0.04,Enchantment.KNOCKBACK,2,20)); + diamond_sword.add(new StoreValues(0.027,Enchantment.LOOT_BONUS_MOBS,2,20)); + diamond_sword.add(new StoreValues(0.014,Enchantment.DURABILITY,2,20)); + diamond_sword.add(new StoreValues(0.011,Enchantment.DAMAGE_UNDEAD,2,20)); + diamond_sword.add(new StoreValues(0.01,Enchantment.DAMAGE_ARTHROPODS,2,20)); + diamond_sword.add(new StoreValues(0.001,Enchantment.DAMAGE_ARTHROPODS,4,20)); + chain_helmet.add(new StoreValues(0.203,Enchantment.PROTECTION_ENVIRONMENTAL,3,20)); + chain_helmet.add(new StoreValues(0.203,Enchantment.DURABILITY,3,20)); + chain_helmet.add(new StoreValues(0.132,Enchantment.PROTECTION_PROJECTILE,4,20)); + chain_helmet.add(new StoreValues(0.102,Enchantment.PROTECTION_FIRE,2,20)); + chain_helmet.add(new StoreValues(0.097,Enchantment.WATER_WORKER,1,20)); + chain_helmet.add(new StoreValues(0.092,Enchantment.OXYGEN,2,20)); + chain_helmet.add(new StoreValues(0.064,Enchantment.PROTECTION_ENVIRONMENTAL,2,20)); + chain_helmet.add(new StoreValues(0.049,Enchantment.PROTECTION_EXPLOSIONS,3,20)); + chain_helmet.add(new StoreValues(0.03,Enchantment.PROTECTION_FIRE,3,20)); + chain_helmet.add(new StoreValues(0.01,Enchantment.DURABILITY,2,20)); + chain_helmet.add(new StoreValues(0.006,Enchantment.PROTECTION_PROJECTILE,3,20)); + chain_helmet.add(new StoreValues(0.002,Enchantment.PROTECTION_EXPLOSIONS,2,20)); + chain_helmet.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,4,20)); + chain_helmet.add(new StoreValues(0.001,Enchantment.OXYGEN,1,20)); + chain_helmet.add(new StoreValues(0.001,Enchantment.OXYGEN,3,20)); + chain_chestplate.add(new StoreValues(0.261,Enchantment.DURABILITY,3,20)); + chain_chestplate.add(new StoreValues(0.221,Enchantment.PROTECTION_ENVIRONMENTAL,3,20)); + chain_chestplate.add(new StoreValues(0.14,Enchantment.PROTECTION_PROJECTILE,4,20)); + chain_chestplate.add(new StoreValues(0.109,Enchantment.PROTECTION_FIRE,2,20)); + chain_chestplate.add(new StoreValues(0.076,Enchantment.THORNS,1,20)); + chain_chestplate.add(new StoreValues(0.075,Enchantment.PROTECTION_ENVIRONMENTAL,2,20)); + chain_chestplate.add(new StoreValues(0.055,Enchantment.PROTECTION_EXPLOSIONS,3,20)); + chain_chestplate.add(new StoreValues(0.033,Enchantment.PROTECTION_FIRE,3,20)); + chain_chestplate.add(new StoreValues(0.012,Enchantment.DURABILITY,2,20)); + chain_chestplate.add(new StoreValues(0.006,Enchantment.PROTECTION_PROJECTILE,3,20)); + chain_chestplate.add(new StoreValues(0.003,Enchantment.PROTECTION_EXPLOSIONS,2,20)); + chain_chestplate.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,4,20)); + chain_chestplate.add(new StoreValues(0.001,Enchantment.THORNS,2,20)); + chain_leggings.add(new StoreValues(0.295,Enchantment.DURABILITY,3,20)); + chain_leggings.add(new StoreValues(0.224,Enchantment.PROTECTION_ENVIRONMENTAL,3,20)); + chain_leggings.add(new StoreValues(0.148,Enchantment.PROTECTION_PROJECTILE,4,20)); + chain_leggings.add(new StoreValues(0.111,Enchantment.PROTECTION_FIRE,2,20)); + chain_leggings.add(new StoreValues(0.075,Enchantment.PROTECTION_ENVIRONMENTAL,2,20)); + chain_leggings.add(new StoreValues(0.055,Enchantment.PROTECTION_EXPLOSIONS,3,20)); + chain_leggings.add(new StoreValues(0.037,Enchantment.PROTECTION_FIRE,3,20)); + chain_leggings.add(new StoreValues(0.013,Enchantment.DURABILITY,2,20)); + chain_leggings.add(new StoreValues(0.008,Enchantment.PROTECTION_PROJECTILE,3,20)); + chain_leggings.add(new StoreValues(0.003,Enchantment.PROTECTION_EXPLOSIONS,2,20)); + chain_leggings.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,4,20)); + chain_boots.add(new StoreValues(0.197,Enchantment.DURABILITY,3,20)); + chain_boots.add(new StoreValues(0.195,Enchantment.PROTECTION_ENVIRONMENTAL,3,20)); + chain_boots.add(new StoreValues(0.151,Enchantment.PROTECTION_FALL,4,20)); + chain_boots.add(new StoreValues(0.125,Enchantment.PROTECTION_PROJECTILE,4,20)); + chain_boots.add(new StoreValues(0.105,Enchantment.PROTECTION_FIRE,2,20)); + chain_boots.add(new StoreValues(0.067,Enchantment.PROTECTION_ENVIRONMENTAL,2,20)); + chain_boots.add(new StoreValues(0.053,Enchantment.PROTECTION_EXPLOSIONS,3,20)); + chain_boots.add(new StoreValues(0.049,Enchantment.PROTECTION_FALL,3,20)); + chain_boots.add(new StoreValues(0.033,Enchantment.PROTECTION_FIRE,3,20)); + chain_boots.add(new StoreValues(0.01,Enchantment.DURABILITY,2,20)); + chain_boots.add(new StoreValues(0.005,Enchantment.PROTECTION_PROJECTILE,3,20)); + chain_boots.add(new StoreValues(0.002,Enchantment.PROTECTION_EXPLOSIONS,2,20)); + chain_boots.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,4,20)); + stone_shovel.add(new StoreValues(0.363,Enchantment.DIG_SPEED,4,30)); + stone_shovel.add(new StoreValues(0.308,Enchantment.DURABILITY,3,30)); + stone_shovel.add(new StoreValues(0.12,Enchantment.DIG_SPEED,3,30)); + stone_shovel.add(new StoreValues(0.08,Enchantment.LOOT_BONUS_BLOCKS,2,30)); + stone_shovel.add(new StoreValues(0.068,Enchantment.SILK_TOUCH,1,30)); + stone_shovel.add(new StoreValues(0.054,Enchantment.LOOT_BONUS_BLOCKS,3,30)); + stone_pickaxe.add(new StoreValues(0.364,Enchantment.DIG_SPEED,4,30)); + stone_pickaxe.add(new StoreValues(0.304,Enchantment.DURABILITY,3,30)); + stone_pickaxe.add(new StoreValues(0.115,Enchantment.DIG_SPEED,3,30)); + stone_pickaxe.add(new StoreValues(0.082,Enchantment.LOOT_BONUS_BLOCKS,2,30)); + stone_pickaxe.add(new StoreValues(0.071,Enchantment.SILK_TOUCH,1,30)); + stone_pickaxe.add(new StoreValues(0.057,Enchantment.LOOT_BONUS_BLOCKS,3,30)); + leather_boots.add(new StoreValues(0.289,Enchantment.DURABILITY,3,30)); + leather_boots.add(new StoreValues(0.174,Enchantment.PROTECTION_ENVIRONMENTAL,4,30)); + leather_boots.add(new StoreValues(0.11,Enchantment.PROTECTION_ENVIRONMENTAL,3,30)); + leather_boots.add(new StoreValues(0.108,Enchantment.PROTECTION_PROJECTILE,4,30)); + leather_boots.add(new StoreValues(0.091,Enchantment.PROTECTION_FALL,4,30)); + leather_boots.add(new StoreValues(0.085,Enchantment.PROTECTION_FIRE,4,30)); + leather_boots.add(new StoreValues(0.053,Enchantment.PROTECTION_EXPLOSIONS,4,30)); + leather_boots.add(new StoreValues(0.051,Enchantment.PROTECTION_FIRE,3,30)); + leather_boots.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,3,30)); + leather_cap.add(new StoreValues(0.231,Enchantment.DURABILITY,3,30)); + leather_cap.add(new StoreValues(0.152,Enchantment.PROTECTION_ENVIRONMENTAL,4,30)); + leather_cap.add(new StoreValues(0.108,Enchantment.PROTECTION_ENVIRONMENTAL,3,30)); + leather_cap.add(new StoreValues(0.106,Enchantment.PROTECTION_PROJECTILE,4,30)); + leather_cap.add(new StoreValues(0.105,Enchantment.OXYGEN,3,30)); + leather_cap.add(new StoreValues(0.104,Enchantment.WATER_WORKER,1,30)); + leather_cap.add(new StoreValues(0.078,Enchantment.PROTECTION_FIRE,4,30)); + leather_cap.add(new StoreValues(0.055,Enchantment.PROTECTION_FIRE,3,30)); + leather_cap.add(new StoreValues(0.051,Enchantment.PROTECTION_EXPLOSIONS,4,30)); + leather_cap.add(new StoreValues(0.004,Enchantment.OXYGEN,2,30)); + leather_cap.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,3,30)); + leather_pants.add(new StoreValues(0.34,Enchantment.DURABILITY,3,30)); + leather_pants.add(new StoreValues(0.17,Enchantment.PROTECTION_ENVIRONMENTAL,4,30)); + leather_pants.add(new StoreValues(0.12,Enchantment.PROTECTION_PROJECTILE,4,30)); + leather_pants.add(new StoreValues(0.118,Enchantment.PROTECTION_ENVIRONMENTAL,3,30)); + leather_pants.add(new StoreValues(0.086,Enchantment.PROTECTION_FIRE,4,30)); + leather_pants.add(new StoreValues(0.06,Enchantment.PROTECTION_FIRE,3,30)); + leather_pants.add(new StoreValues(0.055,Enchantment.PROTECTION_EXPLOSIONS,4,30)); + leather_pants.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,3,30)); + leather_tunic.add(new StoreValues(0.296,Enchantment.DURABILITY,3,30)); + leather_tunic.add(new StoreValues(0.173,Enchantment.PROTECTION_ENVIRONMENTAL,4,30)); + leather_tunic.add(new StoreValues(0.113,Enchantment.PROTECTION_PROJECTILE,4,30)); + leather_tunic.add(new StoreValues(0.112,Enchantment.PROTECTION_ENVIRONMENTAL,3,30)); + leather_tunic.add(new StoreValues(0.096,Enchantment.THORNS,2,30)); + leather_tunic.add(new StoreValues(0.087,Enchantment.PROTECTION_FIRE,4,30)); + leather_tunic.add(new StoreValues(0.056,Enchantment.PROTECTION_FIRE,3,30)); + leather_tunic.add(new StoreValues(0.055,Enchantment.PROTECTION_EXPLOSIONS,4,30)); + leather_tunic.add(new StoreValues(0.002,Enchantment.THORNS,1,30)); + leather_tunic.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,3,30)); + iron_shovel.add(new StoreValues(0.43,Enchantment.DIG_SPEED,4,30)); + iron_shovel.add(new StoreValues(0.305,Enchantment.DURABILITY,3,30)); + iron_shovel.add(new StoreValues(0.1,Enchantment.LOOT_BONUS_BLOCKS,3,30)); + iron_shovel.add(new StoreValues(0.071,Enchantment.SILK_TOUCH,1,30)); + iron_shovel.add(new StoreValues(0.042,Enchantment.DIG_SPEED,3,30)); + iron_shovel.add(new StoreValues(0.042,Enchantment.LOOT_BONUS_BLOCKS,2,30)); + iron_shovel.add(new StoreValues(0.003,Enchantment.DIG_SPEED,5,30)); + iron_axe.add(new StoreValues(0.431,Enchantment.DIG_SPEED,4,30)); + iron_axe.add(new StoreValues(0.31,Enchantment.DURABILITY,3,30)); + iron_axe.add(new StoreValues(0.094,Enchantment.LOOT_BONUS_BLOCKS,3,30)); + iron_axe.add(new StoreValues(0.074,Enchantment.SILK_TOUCH,1,30)); + iron_axe.add(new StoreValues(0.042,Enchantment.DIG_SPEED,3,30)); + iron_axe.add(new StoreValues(0.039,Enchantment.LOOT_BONUS_BLOCKS,2,30)); + iron_axe.add(new StoreValues(0.002,Enchantment.DIG_SPEED,5,30)); + iron_boots.add(new StoreValues(0.269,Enchantment.DURABILITY,3,30)); + iron_boots.add(new StoreValues(0.148,Enchantment.PROTECTION_ENVIRONMENTAL,3,30)); + iron_boots.add(new StoreValues(0.127,Enchantment.PROTECTION_FALL,4,30)); + iron_boots.add(new StoreValues(0.121,Enchantment.PROTECTION_PROJECTILE,4,30)); + iron_boots.add(new StoreValues(0.12,Enchantment.PROTECTION_ENVIRONMENTAL,4,30)); + iron_boots.add(new StoreValues(0.074,Enchantment.PROTECTION_FIRE,3,30)); + iron_boots.add(new StoreValues(0.061,Enchantment.PROTECTION_FIRE,4,30)); + iron_boots.add(new StoreValues(0.053,Enchantment.PROTECTION_EXPLOSIONS,4,30)); + iron_boots.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,3,30)); + iron_pickaxe.add(new StoreValues(0.431,Enchantment.DIG_SPEED,4,30)); + iron_pickaxe.add(new StoreValues(0.308,Enchantment.DURABILITY,3,30)); + iron_pickaxe.add(new StoreValues(0.099,Enchantment.LOOT_BONUS_BLOCKS,3,30)); + iron_pickaxe.add(new StoreValues(0.07,Enchantment.SILK_TOUCH,1,30)); + iron_pickaxe.add(new StoreValues(0.043,Enchantment.DIG_SPEED,3,30)); + iron_pickaxe.add(new StoreValues(0.04,Enchantment.LOOT_BONUS_BLOCKS,2,30)); + iron_pickaxe.add(new StoreValues(0.002,Enchantment.DIG_SPEED,5,30)); + iron_helmet.add(new StoreValues(0.238,Enchantment.DURABILITY,3,30)); + iron_helmet.add(new StoreValues(0.144,Enchantment.PROTECTION_ENVIRONMENTAL,3,30)); + iron_helmet.add(new StoreValues(0.122,Enchantment.PROTECTION_PROJECTILE,4,30)); + iron_helmet.add(new StoreValues(0.11,Enchantment.PROTECTION_ENVIRONMENTAL,4,30)); + iron_helmet.add(new StoreValues(0.104,Enchantment.WATER_WORKER,1,30)); + iron_helmet.add(new StoreValues(0.094,Enchantment.OXYGEN,3,30)); + iron_helmet.add(new StoreValues(0.073,Enchantment.PROTECTION_FIRE,3,30)); + iron_helmet.add(new StoreValues(0.053,Enchantment.PROTECTION_FIRE,4,30)); + iron_helmet.add(new StoreValues(0.051,Enchantment.PROTECTION_EXPLOSIONS,4,30)); + iron_helmet.add(new StoreValues(0.005,Enchantment.OXYGEN,2,30)); + iron_helmet.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,3,30)); + golden_shovel.add(new StoreValues(0.404,Enchantment.DIG_SPEED,4,30)); + golden_shovel.add(new StoreValues(0.308,Enchantment.DURABILITY,3,30)); + golden_shovel.add(new StoreValues(0.126,Enchantment.LOOT_BONUS_BLOCKS,3,30)); + golden_shovel.add(new StoreValues(0.069,Enchantment.SILK_TOUCH,1,30)); + golden_shovel.add(new StoreValues(0.045,Enchantment.DIG_SPEED,5,30)); + golden_shovel.add(new StoreValues(0.021,Enchantment.LOOT_BONUS_BLOCKS,2,30)); + golden_shovel.add(new StoreValues(0.018,Enchantment.DIG_SPEED,3,30)); + golden_axe.add(new StoreValues(0.409,Enchantment.DIG_SPEED,4,30)); + golden_axe.add(new StoreValues(0.311,Enchantment.DURABILITY,3,30)); + golden_axe.add(new StoreValues(0.119,Enchantment.LOOT_BONUS_BLOCKS,3,30)); + golden_axe.add(new StoreValues(0.072,Enchantment.SILK_TOUCH,1,30)); + golden_axe.add(new StoreValues(0.044,Enchantment.DIG_SPEED,5,30)); + golden_axe.add(new StoreValues(0.019,Enchantment.DIG_SPEED,3,30)); + golden_axe.add(new StoreValues(0.017,Enchantment.LOOT_BONUS_BLOCKS,2,30)); + iron_leggings.add(new StoreValues(0.33,Enchantment.DURABILITY,3,30)); + iron_leggings.add(new StoreValues(0.166,Enchantment.PROTECTION_ENVIRONMENTAL,3,30)); + iron_leggings.add(new StoreValues(0.129,Enchantment.PROTECTION_PROJECTILE,4,30)); + iron_leggings.add(new StoreValues(0.123,Enchantment.PROTECTION_ENVIRONMENTAL,4,30)); + iron_leggings.add(new StoreValues(0.084,Enchantment.PROTECTION_FIRE,3,30)); + iron_leggings.add(new StoreValues(0.061,Enchantment.PROTECTION_FIRE,4,30)); + iron_leggings.add(new StoreValues(0.058,Enchantment.PROTECTION_EXPLOSIONS,4,30)); + iron_leggings.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,3,30)); + diamond_shovel.add(new StoreValues(0.401,Enchantment.DIG_SPEED,4,30)); + diamond_shovel.add(new StoreValues(0.311,Enchantment.DURABILITY,3,30)); + diamond_shovel.add(new StoreValues(0.08,Enchantment.LOOT_BONUS_BLOCKS,3,30)); + diamond_shovel.add(new StoreValues(0.076,Enchantment.DIG_SPEED,3,30)); + diamond_shovel.add(new StoreValues(0.069,Enchantment.SILK_TOUCH,1,30)); + diamond_shovel.add(new StoreValues(0.056,Enchantment.LOOT_BONUS_BLOCKS,2,30)); + diamond_axe.add(new StoreValues(0.412,Enchantment.DIG_SPEED,4,30)); + diamond_axe.add(new StoreValues(0.305,Enchantment.DURABILITY,3,30)); + diamond_axe.add(new StoreValues(0.081,Enchantment.LOOT_BONUS_BLOCKS,3,30)); + diamond_axe.add(new StoreValues(0.07,Enchantment.SILK_TOUCH,1,30)); + diamond_axe.add(new StoreValues(0.068,Enchantment.DIG_SPEED,3,30)); + diamond_axe.add(new StoreValues(0.055,Enchantment.LOOT_BONUS_BLOCKS,2,30)); + golden_boots.add(new StoreValues(0.329,Enchantment.DURABILITY,3,30)); + golden_boots.add(new StoreValues(0.27,Enchantment.PROTECTION_ENVIRONMENTAL,4,30)); + golden_boots.add(new StoreValues(0.14,Enchantment.PROTECTION_FIRE,4,30)); + golden_boots.add(new StoreValues(0.058,Enchantment.PROTECTION_PROJECTILE,4,30)); + golden_boots.add(new StoreValues(0.053,Enchantment.PROTECTION_EXPLOSIONS,4,30)); + golden_boots.add(new StoreValues(0.04,Enchantment.PROTECTION_ENVIRONMENTAL,3,30)); + golden_boots.add(new StoreValues(0.037,Enchantment.PROTECTION_FALL,4,30)); + golden_boots.add(new StoreValues(0.02,Enchantment.PROTECTION_FIRE,3,30)); + golden_boots.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,3,30)); + iron_chestplate.add(new StoreValues(0.297,Enchantment.DURABILITY,3,30)); + iron_chestplate.add(new StoreValues(0.16,Enchantment.PROTECTION_ENVIRONMENTAL,3,30)); + iron_chestplate.add(new StoreValues(0.131,Enchantment.PROTECTION_PROJECTILE,4,30)); + iron_chestplate.add(new StoreValues(0.125,Enchantment.PROTECTION_ENVIRONMENTAL,4,30)); + iron_chestplate.add(new StoreValues(0.09,Enchantment.THORNS,2,30)); + iron_chestplate.add(new StoreValues(0.073,Enchantment.PROTECTION_FIRE,3,30)); + iron_chestplate.add(new StoreValues(0.058,Enchantment.PROTECTION_FIRE,4,30)); + iron_chestplate.add(new StoreValues(0.051,Enchantment.PROTECTION_EXPLOSIONS,4,30)); + iron_chestplate.add(new StoreValues(0.005,Enchantment.THORNS,1,30)); + iron_chestplate.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,3,30)); + golden_helmet.add(new StoreValues(0.246,Enchantment.DURABILITY,3,30)); + golden_helmet.add(new StoreValues(0.242,Enchantment.PROTECTION_ENVIRONMENTAL,4,30)); + golden_helmet.add(new StoreValues(0.118,Enchantment.PROTECTION_FIRE,4,30)); + golden_helmet.add(new StoreValues(0.116,Enchantment.OXYGEN,3,30)); + golden_helmet.add(new StoreValues(0.102,Enchantment.WATER_WORKER,1,30)); + golden_helmet.add(new StoreValues(0.057,Enchantment.PROTECTION_PROJECTILE,4,30)); + golden_helmet.add(new StoreValues(0.048,Enchantment.PROTECTION_EXPLOSIONS,4,30)); + golden_helmet.add(new StoreValues(0.043,Enchantment.PROTECTION_ENVIRONMENTAL,3,30)); + golden_helmet.add(new StoreValues(0.02,Enchantment.PROTECTION_FIRE,3,30)); + golden_helmet.add(new StoreValues(0.001,Enchantment.OXYGEN,2,30)); + golden_helmet.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,3,30)); + diamond_pickaxe.add(new StoreValues(0.408,Enchantment.DIG_SPEED,4,30)); + diamond_pickaxe.add(new StoreValues(0.307,Enchantment.DURABILITY,3,30)); + diamond_pickaxe.add(new StoreValues(0.081,Enchantment.LOOT_BONUS_BLOCKS,3,30)); + diamond_pickaxe.add(new StoreValues(0.069,Enchantment.SILK_TOUCH,1,30)); + diamond_pickaxe.add(new StoreValues(0.069,Enchantment.DIG_SPEED,3,30)); + diamond_pickaxe.add(new StoreValues(0.058,Enchantment.LOOT_BONUS_BLOCKS,2,30)); + diamond_boots.add(new StoreValues(0.27,Enchantment.DURABILITY,3,30)); + diamond_boots.add(new StoreValues(0.15,Enchantment.PROTECTION_ENVIRONMENTAL,3,30)); + diamond_boots.add(new StoreValues(0.125,Enchantment.PROTECTION_FALL,4,30)); + diamond_boots.add(new StoreValues(0.122,Enchantment.PROTECTION_ENVIRONMENTAL,4,30)); + diamond_boots.add(new StoreValues(0.122,Enchantment.PROTECTION_PROJECTILE,4,30)); + diamond_boots.add(new StoreValues(0.072,Enchantment.PROTECTION_FIRE,3,30)); + diamond_boots.add(new StoreValues(0.062,Enchantment.PROTECTION_FIRE,4,30)); + diamond_boots.add(new StoreValues(0.049,Enchantment.PROTECTION_EXPLOSIONS,4,30)); + diamond_boots.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,3,30)); + golden_leggings.add(new StoreValues(0.347,Enchantment.DURABILITY,3,30)); + golden_leggings.add(new StoreValues(0.272,Enchantment.PROTECTION_ENVIRONMENTAL,4,30)); + golden_leggings.add(new StoreValues(0.136,Enchantment.PROTECTION_FIRE,4,30)); + golden_leggings.add(new StoreValues(0.064,Enchantment.PROTECTION_PROJECTILE,4,30)); + golden_leggings.add(new StoreValues(0.052,Enchantment.PROTECTION_EXPLOSIONS,4,30)); + golden_leggings.add(new StoreValues(0.046,Enchantment.PROTECTION_ENVIRONMENTAL,3,30)); + golden_leggings.add(new StoreValues(0.025,Enchantment.PROTECTION_FIRE,3,30)); + golden_leggings.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,3,30)); + golden_chestplate.add(new StoreValues(0.309,Enchantment.DURABILITY,3,30)); + golden_chestplate.add(new StoreValues(0.263,Enchantment.PROTECTION_ENVIRONMENTAL,4,30)); + golden_chestplate.add(new StoreValues(0.129,Enchantment.PROTECTION_FIRE,4,30)); + golden_chestplate.add(new StoreValues(0.105,Enchantment.THORNS,2,30)); + golden_chestplate.add(new StoreValues(0.062,Enchantment.PROTECTION_PROJECTILE,4,30)); + golden_chestplate.add(new StoreValues(0.054,Enchantment.PROTECTION_EXPLOSIONS,4,30)); + golden_chestplate.add(new StoreValues(0.044,Enchantment.PROTECTION_ENVIRONMENTAL,3,30)); + golden_chestplate.add(new StoreValues(0.022,Enchantment.PROTECTION_FIRE,3,30)); + golden_chestplate.add(new StoreValues(0.001,Enchantment.THORNS,1,30)); + golden_chestplate.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,3,30)); + diamond_helmet.add(new StoreValues(0.235,Enchantment.DURABILITY,3,30)); + diamond_helmet.add(new StoreValues(0.151,Enchantment.PROTECTION_ENVIRONMENTAL,3,30)); + diamond_helmet.add(new StoreValues(0.117,Enchantment.PROTECTION_PROJECTILE,4,30)); + diamond_helmet.add(new StoreValues(0.11,Enchantment.PROTECTION_ENVIRONMENTAL,4,30)); + diamond_helmet.add(new StoreValues(0.103,Enchantment.WATER_WORKER,1,30)); + diamond_helmet.add(new StoreValues(0.098,Enchantment.OXYGEN,3,30)); + diamond_helmet.add(new StoreValues(0.073,Enchantment.PROTECTION_FIRE,3,30)); + diamond_helmet.add(new StoreValues(0.055,Enchantment.PROTECTION_FIRE,4,30)); + diamond_helmet.add(new StoreValues(0.048,Enchantment.PROTECTION_EXPLOSIONS,4,30)); + diamond_helmet.add(new StoreValues(0.005,Enchantment.OXYGEN,2,30)); + diamond_helmet.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,3,30)); + diamond_leggings.add(new StoreValues(0.334,Enchantment.DURABILITY,3,30)); + diamond_leggings.add(new StoreValues(0.165,Enchantment.PROTECTION_ENVIRONMENTAL,3,30)); + diamond_leggings.add(new StoreValues(0.13,Enchantment.PROTECTION_PROJECTILE,4,30)); + diamond_leggings.add(new StoreValues(0.12,Enchantment.PROTECTION_ENVIRONMENTAL,4,30)); + diamond_leggings.add(new StoreValues(0.086,Enchantment.PROTECTION_FIRE,3,30)); + diamond_leggings.add(new StoreValues(0.059,Enchantment.PROTECTION_FIRE,4,30)); + diamond_leggings.add(new StoreValues(0.055,Enchantment.PROTECTION_EXPLOSIONS,4,30)); + diamond_leggings.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,3,30)); + diamond_chestplate.add(new StoreValues(0.3,Enchantment.DURABILITY,3,30)); + diamond_chestplate.add(new StoreValues(0.169,Enchantment.PROTECTION_ENVIRONMENTAL,3,30)); + diamond_chestplate.add(new StoreValues(0.124,Enchantment.PROTECTION_PROJECTILE,4,30)); + diamond_chestplate.add(new StoreValues(0.118,Enchantment.PROTECTION_ENVIRONMENTAL,4,30)); + diamond_chestplate.add(new StoreValues(0.088,Enchantment.THORNS,2,30)); + diamond_chestplate.add(new StoreValues(0.08,Enchantment.PROTECTION_FIRE,3,30)); + diamond_chestplate.add(new StoreValues(0.054,Enchantment.PROTECTION_FIRE,4,30)); + diamond_chestplate.add(new StoreValues(0.054,Enchantment.PROTECTION_EXPLOSIONS,4,30)); + diamond_chestplate.add(new StoreValues(0.005,Enchantment.THORNS,1,30)); + diamond_chestplate.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,3,30)); + wood_sword.add(new StoreValues(0.181,Enchantment.DURABILITY,3,30)); + wood_sword.add(new StoreValues(0.178,Enchantment.KNOCKBACK,2,30)); + wood_sword.add(new StoreValues(0.137,Enchantment.DAMAGE_ALL,4,30)); + wood_sword.add(new StoreValues(0.11,Enchantment.DAMAGE_ALL,3,30)); + wood_sword.add(new StoreValues(0.099,Enchantment.DAMAGE_UNDEAD,4,30)); + wood_sword.add(new StoreValues(0.096,Enchantment.DAMAGE_ARTHROPODS,4,30)); + wood_sword.add(new StoreValues(0.069,Enchantment.FIRE_ASPECT,2,30)); + wood_sword.add(new StoreValues(0.057,Enchantment.LOOT_BONUS_MOBS,3,30)); + wood_sword.add(new StoreValues(0.022,Enchantment.DAMAGE_UNDEAD,5,30)); + wood_sword.add(new StoreValues(0.021,Enchantment.DAMAGE_ARTHROPODS,5,30)); + wood_sword.add(new StoreValues(0.02,Enchantment.LOOT_BONUS_MOBS,2,30)); + wood_sword.add(new StoreValues(0.002,Enchantment.FIRE_ASPECT,1,30)); + wood_sword.add(new StoreValues(0.002,Enchantment.DAMAGE_ARTHROPODS,3,30)); + wood_sword.add(new StoreValues(0.001,Enchantment.DAMAGE_UNDEAD,3,30)); + bow.add(new StoreValues(0.269,Enchantment.DURABILITY,3,30)); + bow.add(new StoreValues(0.264,Enchantment.ARROW_DAMAGE,4,30)); + bow.add(new StoreValues(0.172,Enchantment.ARROW_DAMAGE,3,30)); + bow.add(new StoreValues(0.112,Enchantment.ARROW_FIRE,1,30)); + bow.add(new StoreValues(0.068,Enchantment.ARROW_KNOCKBACK,1,30)); + bow.add(new StoreValues(0.06,Enchantment.ARROW_INFINITE,1,30)); + bow.add(new StoreValues(0.051,Enchantment.ARROW_KNOCKBACK,2,30)); + iron_sword.add(new StoreValues(0.184,Enchantment.DURABILITY,3,30)); + iron_sword.add(new StoreValues(0.179,Enchantment.KNOCKBACK,2,30)); + iron_sword.add(new StoreValues(0.138,Enchantment.DAMAGE_ALL,4,30)); + iron_sword.add(new StoreValues(0.106,Enchantment.DAMAGE_ALL,3,30)); + iron_sword.add(new StoreValues(0.096,Enchantment.DAMAGE_ARTHROPODS,4,30)); + iron_sword.add(new StoreValues(0.092,Enchantment.DAMAGE_UNDEAD,4,30)); + iron_sword.add(new StoreValues(0.076,Enchantment.FIRE_ASPECT,2,30)); + iron_sword.add(new StoreValues(0.055,Enchantment.LOOT_BONUS_MOBS,3,30)); + iron_sword.add(new StoreValues(0.022,Enchantment.DAMAGE_UNDEAD,5,30)); + iron_sword.add(new StoreValues(0.022,Enchantment.DAMAGE_ARTHROPODS,5,30)); + iron_sword.add(new StoreValues(0.02,Enchantment.LOOT_BONUS_MOBS,2,30)); + iron_sword.add(new StoreValues(0.002,Enchantment.FIRE_ASPECT,1,30)); + iron_sword.add(new StoreValues(0.001,Enchantment.DAMAGE_ARTHROPODS,3,30)); + iron_sword.add(new StoreValues(0.001,Enchantment.DAMAGE_UNDEAD,3,30)); + golden_sword.add(new StoreValues(0.186,Enchantment.DAMAGE_ALL,4,30)); + golden_sword.add(new StoreValues(0.183,Enchantment.KNOCKBACK,2,30)); + golden_sword.add(new StoreValues(0.175,Enchantment.DURABILITY,3,30)); + golden_sword.add(new StoreValues(0.077,Enchantment.FIRE_ASPECT,2,30)); + golden_sword.add(new StoreValues(0.068,Enchantment.DAMAGE_UNDEAD,4,30)); + golden_sword.add(new StoreValues(0.068,Enchantment.LOOT_BONUS_MOBS,3,30)); + golden_sword.add(new StoreValues(0.064,Enchantment.DAMAGE_ARTHROPODS,4,30)); + golden_sword.add(new StoreValues(0.055,Enchantment.DAMAGE_ALL,3,30)); + golden_sword.add(new StoreValues(0.053,Enchantment.DAMAGE_ARTHROPODS,5,30)); + golden_sword.add(new StoreValues(0.052,Enchantment.DAMAGE_UNDEAD,5,30)); + golden_sword.add(new StoreValues(0.01,Enchantment.LOOT_BONUS_MOBS,2,30)); + golden_sword.add(new StoreValues(0.001,Enchantment.FIRE_ASPECT,1,30)); + golden_sword.add(new StoreValues(0.001,Enchantment.DAMAGE_ALL,5,30)); + golden_sword.add(new StoreValues(0.001,Enchantment.DAMAGE_UNDEAD,3,30)); + golden_sword.add(new StoreValues(0.001,Enchantment.DAMAGE_ARTHROPODS,3,30)); + diamond_sword.add(new StoreValues(0.185,Enchantment.DURABILITY,3,30)); + diamond_sword.add(new StoreValues(0.177,Enchantment.KNOCKBACK,2,30)); + diamond_sword.add(new StoreValues(0.145,Enchantment.DAMAGE_ALL,3,30)); + diamond_sword.add(new StoreValues(0.108,Enchantment.DAMAGE_UNDEAD,4,30)); + diamond_sword.add(new StoreValues(0.105,Enchantment.DAMAGE_ARTHROPODS,4,30)); + diamond_sword.add(new StoreValues(0.103,Enchantment.DAMAGE_ALL,4,30)); + diamond_sword.add(new StoreValues(0.07,Enchantment.FIRE_ASPECT,2,30)); + diamond_sword.add(new StoreValues(0.047,Enchantment.LOOT_BONUS_MOBS,3,30)); + diamond_sword.add(new StoreValues(0.028,Enchantment.LOOT_BONUS_MOBS,2,30)); + diamond_sword.add(new StoreValues(0.009,Enchantment.DAMAGE_UNDEAD,5,30)); + diamond_sword.add(new StoreValues(0.008,Enchantment.DAMAGE_ARTHROPODS,5,30)); + diamond_sword.add(new StoreValues(0.004,Enchantment.FIRE_ASPECT,1,30)); + diamond_sword.add(new StoreValues(0.002,Enchantment.DAMAGE_UNDEAD,3,30)); + diamond_sword.add(new StoreValues(0.002,Enchantment.DAMAGE_ARTHROPODS,3,30)); + chain_helmet.add(new StoreValues(0.233,Enchantment.DURABILITY,3,30)); + chain_helmet.add(new StoreValues(0.152,Enchantment.PROTECTION_ENVIRONMENTAL,4,30)); + chain_helmet.add(new StoreValues(0.108,Enchantment.PROTECTION_ENVIRONMENTAL,3,30)); + chain_helmet.add(new StoreValues(0.105,Enchantment.WATER_WORKER,1,30)); + chain_helmet.add(new StoreValues(0.104,Enchantment.OXYGEN,3,30)); + chain_helmet.add(new StoreValues(0.102,Enchantment.PROTECTION_PROJECTILE,4,30)); + chain_helmet.add(new StoreValues(0.077,Enchantment.PROTECTION_FIRE,4,30)); + chain_helmet.add(new StoreValues(0.055,Enchantment.PROTECTION_FIRE,3,30)); + chain_helmet.add(new StoreValues(0.055,Enchantment.PROTECTION_EXPLOSIONS,4,30)); + chain_helmet.add(new StoreValues(0.003,Enchantment.OXYGEN,2,30)); + chain_helmet.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,3,30)); + chain_chestplate.add(new StoreValues(0.298,Enchantment.DURABILITY,3,30)); + chain_chestplate.add(new StoreValues(0.167,Enchantment.PROTECTION_ENVIRONMENTAL,4,30)); + chain_chestplate.add(new StoreValues(0.114,Enchantment.PROTECTION_PROJECTILE,4,30)); + chain_chestplate.add(new StoreValues(0.114,Enchantment.PROTECTION_ENVIRONMENTAL,3,30)); + chain_chestplate.add(new StoreValues(0.095,Enchantment.THORNS,2,30)); + chain_chestplate.add(new StoreValues(0.084,Enchantment.PROTECTION_FIRE,4,30)); + chain_chestplate.add(new StoreValues(0.06,Enchantment.PROTECTION_FIRE,3,30)); + chain_chestplate.add(new StoreValues(0.056,Enchantment.PROTECTION_EXPLOSIONS,4,30)); + chain_chestplate.add(new StoreValues(0.003,Enchantment.THORNS,1,30)); + chain_chestplate.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,3,30)); + chain_leggings.add(new StoreValues(0.343,Enchantment.DURABILITY,3,30)); + chain_leggings.add(new StoreValues(0.172,Enchantment.PROTECTION_ENVIRONMENTAL,4,30)); + chain_leggings.add(new StoreValues(0.118,Enchantment.PROTECTION_ENVIRONMENTAL,3,30)); + chain_leggings.add(new StoreValues(0.111,Enchantment.PROTECTION_PROJECTILE,4,30)); + chain_leggings.add(new StoreValues(0.084,Enchantment.PROTECTION_FIRE,4,30)); + chain_leggings.add(new StoreValues(0.065,Enchantment.PROTECTION_FIRE,3,30)); + chain_leggings.add(new StoreValues(0.055,Enchantment.PROTECTION_EXPLOSIONS,4,30)); + chain_leggings.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,3,30)); + chain_boots.add(new StoreValues(0.29,Enchantment.DURABILITY,3,30)); + chain_boots.add(new StoreValues(0.172,Enchantment.PROTECTION_ENVIRONMENTAL,4,30)); + chain_boots.add(new StoreValues(0.109,Enchantment.PROTECTION_ENVIRONMENTAL,3,30)); + chain_boots.add(new StoreValues(0.108,Enchantment.PROTECTION_PROJECTILE,4,30)); + chain_boots.add(new StoreValues(0.093,Enchantment.PROTECTION_FALL,4,30)); + chain_boots.add(new StoreValues(0.083,Enchantment.PROTECTION_FIRE,4,30)); + chain_boots.add(new StoreValues(0.057,Enchantment.PROTECTION_EXPLOSIONS,4,30)); + chain_boots.add(new StoreValues(0.056,Enchantment.PROTECTION_FIRE,3,30)); + chain_boots.add(new StoreValues(0.001,Enchantment.PROTECTION_EXPLOSIONS,3,30)); } } diff --git a/BankEconomyMod/src/me/kaZep/Base/Main.java b/BankEconomyMod/src/me/kaZep/Base/Main.java index 7a6f4ba..6867601 100644 --- a/BankEconomyMod/src/me/kaZep/Base/Main.java +++ b/BankEconomyMod/src/me/kaZep/Base/Main.java @@ -3827,7 +3827,7 @@ public void payDay(int time) //DERP if (item.getType()==Material.BOW) {enchant_data=ENCHANTMENT_DATA.bow;} else if (item.getType()==Material.IRON_SWORD) {enchant_data=ENCHANTMENT_DATA.iron_sword;} else - if (item.getType()==Material.GOLD_SWORD) {enchant_data=ENCHANTMENT_DATA.gold_sword;} else + if (item.getType()==Material.GOLD_SWORD) {enchant_data=ENCHANTMENT_DATA.golden_sword;} else if (item.getType()==Material.DIAMOND_SWORD) {enchant_data=ENCHANTMENT_DATA.diamond_sword;} else if (item.getType()==Material.STONE_SPADE) {enchant_data=ENCHANTMENT_DATA.stone_shovel;} else if (item.getType()==Material.STONE_PICKAXE) {enchant_data=ENCHANTMENT_DATA.stone_pickaxe;} else @@ -3901,19 +3901,17 @@ public void payDay(int time) } //see if we should try for a second/third/fourth enchantment. boolean keepgoing=false; - if (lv==5) { - if (enchantments==1 && Math.random()<=0.07) { - keepgoing=true; - } else - if (enchantments==2 && Math.random()<=0.045) { - keepgoing=true; - } else - if (enchantments==3 && Math.random()<=0.03) { - keepgoing=true; - } - if (!keepgoing) { - break; - } + if (enchantments==1 && Math.random()<=0.07*((double)lv)) { + keepgoing=true; + } else + if (enchantments==2 && Math.random()<=0.045*((double)lv)) { + keepgoing=true; + } else + if (enchantments==3 && Math.random()<=0.03*((double)lv)) { + keepgoing=true; + } + if (!keepgoing) { + break; } } } diff --git a/BankEconomyMod/src/me/kaZep/Base/PlayerListener.java b/BankEconomyMod/src/me/kaZep/Base/PlayerListener.java index 8690740..1c6abe9 100644 --- a/BankEconomyMod/src/me/kaZep/Base/PlayerListener.java +++ b/BankEconomyMod/src/me/kaZep/Base/PlayerListener.java @@ -5192,6 +5192,42 @@ implements Listener if (result.getResult().getType()==Material.DIAMOND_SWORD) { crafteditem=true; } + if (this.plugin.hasJobBuff("Weaponsmith", p, Job.JOB40) && crafteditem) { + ItemStack[] crafteditems = result.getMatrix(); + if (e.getClick()==ClickType.SHIFT_RIGHT || e.getClick()==ClickType.SHIFT_LEFT) { + int lowestamt=9999; + for (int i=0;i lore = new ArrayList(); @@ -5921,8 +5967,8 @@ implements Listener if (p.getGameMode()!=GameMode.CREATIVE) { p.setAllowFlight(false); p.setFlying(false); + p.sendMessage(ChatColor.DARK_RED+""+ChatColor.ITALIC+"Flight disabled..."); } - p.sendMessage(ChatColor.DARK_RED+""+ChatColor.ITALIC+"Flight disabled..."); } } } @@ -11493,10 +11539,23 @@ implements Listener newItemsCount += post.getAmount(); //Do any enchants we need to do here. ItemStack clone = post.clone(); + if (hasJobBuff("Weaponsmith", player.getName(), Job.JOB40) && validItem_Weaponsmith(post)) { + ItemStack resulting = clone; + resulting = EnchantItem(clone,25,(Player)player); + int finalstack=1; + while (Math.random()<=0.3) { + finalstack++; + } + resulting.setAmount(finalstack); + player.getInventory().setItem(i, resulting); + } if (PlayerinJob((Player)player,"Weaponsmith")) { if (getJobLv("Weaponsmith", player.getName())>=10 && validItem_Weaponsmith(post)) { //Bukkit.getPlayer("sigonasr2").sendMessage("Valid item. Going to attempt to enchant."); - ItemStack resulting = EnchantItem(clone,5,(Player)player); + ItemStack resulting = clone; + if (!hasJobBuff("Weaponsmith", player.getName(), Job.JOB40)) { + resulting = EnchantItem(clone,5,(Player)player); + } if (hasJobBuff("Weaponsmith", player.getName(), Job.JOB30A)) { ItemMeta meta = resulting.getItemMeta(); List lore = new ArrayList();