{
    "pools": [
        {
			"name": "wizardry",
            "rolls": {
                "min": 3,
                "max": 7
            },
            "entries": [
				{
                    "type": "loot_table",
                    "name": "ebwizardry:subsets/novice_wands",
                    "weight": 3
                },
				{
                    "type": "loot_table",
                    "name": "ebwizardry:subsets/wizard_armour",
                    "weight": 6
                },
				{
                    "type": "loot_table",
                    "name": "ebwizardry:subsets/arcane_tomes",
                    "weight": 6
                },
				{
                    "type": "loot_table",
                    "name": "ebwizardry:subsets/wand_upgrades",
                    "weight": 2
                },
                {
                    "type": "item",
                    "name": "ebwizardry:magic_crystal",
                    "weight": 5,
					"functions": [
						{
							"function": "set_count",
                            "count": {
                                "min": 1,
                                "max": 4
                            }
						}
					]
                },
                {
                    "type": "item",
                    "name": "ebwizardry:spell_book",
                    "weight": 20,
                    "functions": [
                        {
                            "function": "ebwizardry:random_spell"
                        }
                    ]
                },
                {
                    "type": "item",
                    "name": "ebwizardry:scroll",
                    "weight": 10,
                    "functions": [
                        {
                            "function": "ebwizardry:random_spell"
                        }
                    ]
                },
                {
                    "type": "item",
                    "name": "ebwizardry:armour_upgrade",
                    "weight": 1
                },
                {
                    "type": "item",
                    "name": "ebwizardry:identification_scroll",
                    "weight": 3
                },
                {
                    "type": "item",
                    "name": "ebwizardry:firebomb",
                    "weight": 4
                },
                {
                    "type": "item",
                    "name": "ebwizardry:poison_bomb",
                    "weight": 4
                },
                {
                    "type": "item",
                    "name": "ebwizardry:smoke_bomb",
                    "weight": 4
                }
            ]
        }
    ]
}