{
    "name": "Thunderbolt",
    "description": "When you hit someone, they have a small chance of being struck by lightning.",
    "condition": {
        "type": "origins:equipped_item",
        "equipment_slot": "mainhand",
        "item_condition": {
            "type": "origins:ingredient",
            "ingredient": {
                "item": "minecraft:air"
            }
        }
    },
    "type": "origins:target_action_on_hit",
    "entity_action": {
        "type": "origins:chance",
        "chance": 0.15,
        "action": {
            "type": "origins:execute_command",
            "command": "summon minecraft:lightning_bolt",
            "permission_level": 4
        }
    },
    "cooldown": 0,
    "hud_render": {
        "should_render": false
    }
}