{
    "target": "cave_dweller:cave_dweller",
    "events": {
        "on_attacked": [{
            "target": "entity",
            "health_left": 0.95,
            "function": "resurvival:send_to_hell",
            "potion_effects": [
                {
                    "id": "minecraft:slowness",
                    "amplifier": 0,
                    "duration": 1
                }
                ]
            }
        ]
    }
}