예제 #1
0
 public Enchantment(string enchantName, Item ingredientHerb, int quantity, ItemEquipType restrictions, RequirementType satisfiesReq)
 {
     name                   = enchantName;
     ingredient             = ingredientHerb;
     ingredientQuantity     = quantity;
     enchantSlotRestriction = restrictions;
     reqTypes               = satisfiesReq;
     GameRegistry.RegisterEnchantment(this);
 }