{
  "criteria": {
    "requirement": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:random_chance",
            "chance": 0.3
          }
        ],
        "damage": {
          "source_entity": {
            "type": "minecraft:spider"
          }
        }
      }
    }
  },
  "rewards": {
    "function": "survivalplus:tools/gethit/webbed"
  }
}