{
  "description": {
    "text": "Panic Speed",
    "color": "gray",
    "italic": false
  },
  "supported_items": "#minecraft:enchantable/chest_armor",
  "weight": 1,
  "max_level": 3,
  "min_cost": {
    "base": 5,
    "per_level_above_first": 10
  },
  "max_cost": {
    "base": 50,
    "per_level_above_first": 10
  },
  "anvil_cost": 6,
  "slots": [
    "chest"
  ],
  "effects": {
    "minecraft:post_attack": [
      {
        "effect": {
          "type": "minecraft:run_function",
          "function": "survivalplus:tools/armor/panic/speed"
        },
        "enchanted": "victim",
        "affected": "victim"
      }
    ]
  }
}