{
    "pools": [
        {
			"name": "wizardry_dispenser",
            "rolls": 1,
            "conditions": [
                {
                    "condition": "random_chance",
                    "chance": 0.4
                }
            ],
            "entries": [
                {
                    "type": "item",
                    "name": "ebwizardry:scroll",
                    "weight": 1,
                    "functions": [
                        {
                            "function": "ebwizardry:random_spell",
                            "spells": [
                                "magic_missile",
                                "arc",
                                "thunderbolt",
                                "summon_zombie",
                                "dart",
                                "ice_shard",
                                "firebolt",
                                "poison",
                                "flame_ray",
                                "frost_ray"
                            ]
                        },
                        {
                            "function": "set_count",
                            "count": {
                                "min": 1,
                                "max": 5
                            }
                        }
                    ]
                },
                {
                    "type": "item",
                    "name": "ebwizardry:firebomb",
                    "weight": 3
                },
                {
                    "type": "item",
                    "name": "ebwizardry:poison_bomb",
                    "weight": 3
                },
                {
                    "type": "item",
                    "name": "ebwizardry:smoke_bomb",
                    "weight": 3
                },
                {
                    "type": "item",
                    "name": "ebwizardry:spark_bomb",
                    "weight": 3
                }
            ]
        }
    ]
}