{
    "criteria": {
        "1":{
            "trigger": "entity_hurt_player",
            "conditions": {
                "damage": {
                    "type": {
                        "tags": [
                            {
                                "expected": true,
                                "id": "blade2:mob_attack"
                            }
                        ]
                    }
                },
                "player": [
                    {
                        "condition": "reference",
                        "name": "blade2:both"
                    }
                ]
            }
        }
    },
    "rewards": {
        "function": "blade2:hit"
    }
}