コード例 #1
0
 //Remove the items enchants in item_enchantment_template
 public static void removeItemEnchantments(Item item)
 {
     ItemEnchantmentTemplate.remove(item);
 }
コード例 #2
0
 //Adds the enchants to item_enchantmen_template in the DB
 public static void addItemProperties(Item item, List <ItemRandomProperties> properties)
 {
     ItemEnchantmentTemplate.add(item, properties);
 }