{
    "trigger": 
        {
            "type": "tetra:apply_hit_effects"
        }
    ,
    "effect": "deep_injury",
    "outcome": {
        "type": "tetra:multiple",
        "outcomes": [
            {
                "type": "tetra:push_entity",
                "vector": {
                  "vectors": {
                    "facing": {
                      "type": "tetra:entity_facing",
                      "entity": "attacker"
                    }
                  },
                  "type": "tetra:expression",
                  "result": [
                    "facingX * 0.2",
                    1,
                    "facingZ * 0.2"
                  ]
                },
                "entity": "target"
            },            

          {
            "type": "tetra:sound",
            "sound": "minecraft:entity.ender_dragon.ambient",
            "position": {
                "type": "tetra:entity_position",
                "entity": "attacker",
                "origin": "center"
                },
                "volume": 0.3,
                "pitch": 1.0
            }
        ],
        "count": 3,
        "random": false
    },
    "condition":{
        "type": "tetra:random",
        "chance": 0.15
    }
}