{
    "name": "Purgery",
    "description": "You can suck all the power out from everybody around you.",
    "type": "origins:active_self",
    "entity_action": {
        "type": "origins:and",
        "actions": [
            {
                "type": "origins:execute_command",
                "command": "effect give @e[distance=..8] minecraft:wither 5 0",
                "permission_level": 4
            },
            {
                "type": "origins:execute_command",
                "command": "effect give @s minecraft:regeneration 5 0",
                "permission_level": 4
            },
            {
                "type": "origins:execute_command",
                "command": "effect clear @s minecraft:wither",
                "permission_level": 4
            }
        ]
    },
    "cooldown": 2100,
    "hud_render": {
        "should_render": true,
        "sprite_location": "origins:textures/gui/community/spiderkolo/resource_bar_02.png",
        "bar_index": 17
    },
    "key": {
        "key": "key.origins.primary_active"
    }
}