export const dynamicWeaponsConfig = {
  hacker_sword: {
    normal: {
      range: 8,
      probability: 0.5,// [0 low] - [1 hyper]
      entity_effect: "dive_hw:hacker_sword_projectile",
      particleInterval: 20, // en ticks (20 = 1s)
      durationHacking: 3,
      effectsToAdd: [
        [
          "minecraft:poison",//name id
          60,//duration in ticks
          1,//amplifier
          0.8,//probability to add | [0 low] - [1 hyper],
          true//show particles
        ],
        [
          "minecraft:weakness",
          60,
          2,
          1,
          true
        ]
      ]
    },
    special: {
      durationHacking: 5,
      range: 5,
      particle: "dive_hw:sword_slash",
      damagePerSecond: 0.2,
      effectsToAdd: [
        [
          "minecraft:weakness",
          100,
          10,
          1,
          true
        ],
        [
          "minecraft:slowness",
          100,
          2,
          1,
          true
        ],
        [
          "minecraft:nausea",
          100,
          10,
          1,
          true
        ]
      ]
    }
  },
  hacker_blade: {
    normal: {
      probability: 0.75,
      entity_effect: "dive_hw:hacker_blade_slash_particle",
      particle: "dive_hw:glitch_particle",
      durationHacking: 3,
      maxDistance: 5,
      effectsToAdd: [
        [
          "minecraft:weakness",
          60,
          10,
          1,
          true
        ],
        [
          "minecraft:slowness",
          60,
          1,
          0.7,
          true
        ]
      ]
    },
    special: {
      range: 10,
      overloadDamage: 5,
      overloadParticle: "dive_hw:hammer_particle",
      particle: "dive_hw:glitch_particle",
      durationHacking: 4,
      effectsToAdd: [
        [
          "minecraft:poison",
          80,
          30,
          1,
          true
        ]
      ]
    }
  },
  hacker_axe: {
    normal: {
      entity_effect: "dive_hw:hacker_sword_projectile",
      overloadParticle: "dive_hw:hammer_particle",
      durationHacking: 3,
      effectsToAdd: [
        [
          "minecraft:slowness",
          60,
          1,
          1,
          true
        ],
        [
          "minecraft:nausea",
          60,
          1,
          1,
          true
        ],
        [
          "minecraft:weakness",
          60,
          2,
          1,
          true
        ],
      ]
    },
    special: {
      range: 7,
      rangeDamage: 9,
      particle: "dive_hw:glitch_particle",
      overloadParticle: "dive_hw:hammer_particle",
      cooldownToKick: 0.8,
      effectsToAdd: [
        [
          "minecraft:weakness",
          100,
          1,
          1,
          true
        ]
      ]
    }
  },
  hacker_hammer: {
    normal: {
      probability: 1,
      entity_effect: "dive_hw:hacker_sword_projectile",
      durationHacking: 3,
      effectsToAdd: [
        [
          "minecraft:weakness",
          60,
          10,
          1,
          false
        ],
        [
          "minecraft:nausea",
          60,
          10,
          1,
          false
        ],
        [
          "minecraft:blindness",
          60,
          10,
          1,
          false
        ]
      ]
    },
    special: {
      durationHacking: 3,
      range: 7,
      particle: "dive_hw:glitch_hammer",
      overloadParticle: "dive_hw:glitch_hammer",
      damagePerSecond: 0.2,
      cooldownToImpact: 1,
      effectsToAdd: [
        [
          "minecraft:slowness",
          60,
          10,
          1,
          false
        ]
      ]
    }
  },
  hacker_bow: {
    secondsToShoot: 0.4,
    secondsToRemoveProjectile: 3,
    normal: {
      damage: 2,
      particle: "dive_hw:glitch_particle",
      overloadParticle: "dive_hw:hammer_particle",
      effectsToAdd: [
        [
          "minecraft:weakness",
          80,
          255,
          1,
          true
        ],
        [
          "minecraft:slowness",
          60,
          10,
          1,
          true
        ],
        [
          "minecraft:nausea",
          60,
          10,
          1,
          true
        ]
      ]
    },
    special: {
      rainRange: 3,
      high: 8,
      maxArrows: 30,
      centerParticle: "dive_hw:hammer_particle"
    }
  },
  hacker_crossbow: {
    secondsToShoot: 0.4,
    secondsToRemoveProjectile: 3,
    normal: {
      damage: 2,
      particle: "dive_hw:glitch_particle",
      overloadParticle: "dive_hw:glitch_particle",
      effectsToAdd: [
        [
          "minecraft:weakness",
          40,
          10,
          1,
          false
        ],
        [
          "minecraft:slowness",
          80,
          10,
          1,
          false
        ]
      ]
    },
    special: {
      rainRange: 8,
      high: 12,
      maxArrows: 30,
      centerParticle: "dive_hw:glitch_particle",
      lockEffects: ["speed", "jump_boost", "poison"],
      lockEffectsDuration: 3,
      capDistance: 6,
      effectsToAdd: [
        [
          "minecraft:weakness",
          100,
          255,
          1,
          false
        ],
        [
          "minecraft:slowness",
          100,
          10,
          1,
          false
        ]
      ]
    }
  },
  hacker_blaster: {
    secondsToShoot: 0.3,
    secondsToRemoveProjectile: 1.8,
    normal: {
      damage: 3,
      particle: "dive_hw:laser_beam_1_core",
      overloadParticle: "dive_hw:laser_beam_1_core",
      effectsToAdd: [
        [
          "minecraft:wither",
          60,
          2,
          1,
          true
        ]
      ]
    }
  },
  hacker_laser: {
    secondsToShoot: 0.1,
    secondsToRemoveProjectile: 4,
    normal: {
      damage: 3,
      particle: "dive_hw:hammer_particle",
      overloadParticle: "dive_hw:hammer_particle",
      effectsToAdd: [
        [
          "minecraft:weakness",
          40,
          10,
          1,
          false
        ]
      ]
    }
  },
  hacker_wings: {
  },
  hacker_jetpack: {
    particleFly: "dive_hw:smoke",
    soundFly: "block.campfire.crackle",
    soundFlyDelay: 10
  },
  hacker_pickaxe: {
    fireBorde: 7,
    applyFireRadius: 5,
    damagePerSecond: 2,
    duration: 4,
    particle: ""
  },
  hacker_chopper: {
    secondsToStart: 1,
    entity_effect: "dive_hw:hacker_sword_projectile"
  },
  hacker_hoe: {
    secondsToStart: 1
  },
  hacker_wand: {
  maxTeleportRange: 80,
  secondsToStart: 2.2,
  particleErrorFindObjective: "dive_hw:wand_fire",
  particleGlitch: "dive_hw:glitch_particle"
},
  hacker_drill: {
    ticksToStart: 0,
    rangeMiner: 2,
    duration: 1.5,
    particle: "dive_hw:drill_particle"
  }
}