{
    "pools": [
        {
            "conditions": [
                {
                    "condition": "killed_by_player"
                },
                {
                    "condition": "random_chance_with_looting",
                    "chance": 0.02,
                    "looting_multiplier": 0.01
                }
            ],
            "rolls": 1,
            "entries": [
                {
                    "type": "item",
                    "name": "ebwizardry:spell_book",
                    "weight": 1,
                    "functions": [
                        {
                            "function": "ebwizardry:random_spell"
                        }
                    ]
                }
            ]
        }
    ]
}