{
  "criteria": {
    "requirement": {
      "trigger": "minecraft:player_hurt_entity",
      "conditions": {
        "player": [],
        "entity": {
          "type": "minecraft:skeleton",
          "nbt": "{Tags:[player2]}"
        }
      }
    }
  },
  "rewards": {
    "function": "survivalplus:tools/player/badbone/hurt"
  }
}
