{
    "target": "minecraft:piglin_brute",
    "events": {
        "on_damaged": [{
            "target": "this",
            "potion_effects": [
                {
                    "id": "minecraft:slowness",
                    "amplifier": 0,
                    "duration": 2
                }
                ]
            }
        ]
    }
}