{
    "pools": [
		{
			"name": "common",
			"rolls": 1,
			"entries": [
				{
					"type": "item",
                    "name": "wizardry:magic_crystal",
                    "weight": 1,
                    "functions": [
                        {
                            "function": "set_count",
                            "count": {
                                "min": 3,
                                "max": 5
                            },
							"function": "looting_enchant",
                            "count": {
                                "min": 0,
                                "max": 1
                            }
                        }
                    ]
				}
			]
		},
        {
			"name": "rare",
            "conditions": [
                {
                    "condition": "killed_by_player"
                },
                {
                    "condition": "random_chance_with_looting",
                    "chance": 0.05,
                    "looting_multiplier": 0.01
                }
            ],
            "rolls": 1,
            "entries": [
                {
                    "type": "item",
                    "name": "wizardry:spell_book",
                    "weight": 1,
                    "functions": [
                        {
                            "function": "wizardry:wizard_spell"
                        }
                    ]
                }
            ]
        }
    ]
}