{
    "format_version": "1.10.0",
    "animation_controllers": {
        "controller.animation.cc_fairytales.lightning": {
            "states": {
                "default": {
                    "transitions": [
                        {
                            "impacted": "query.mark_variant == 1"
                        }
                    ]
                },
                "impacted": {
                    "on_entry": [
                        "/execute if entity @p[r=20] run execute at @p run summon lightning_bolt ~ ~ ~",
                        "@s resetear"
                    ],
                    "transitions": [
                        {
                            "default": "true"
                        }
                    ]
                }
            }
        }
    }
}