Slowness.yml

turret:
  alias: "Slowness Turret"
  structure:
  - "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYWZjOWYzNDA2MGU3MWVmMDdiNDRkNzkyNzg0ZGI4ZDQwNTY0Y2JiMzZmMjFkOTUxNzg0MDBlYmJhYjk2OGM5ZSJ9fX0="
  - "PURPLE_STAINED_GLASS"
  - "PURPLE_TERRACOTTA"
  shoot_type: INSTANT
  target: ENEMIES
  require_ammunition: false
  health_recovery: 10
  default_options:
    attack_players: false
    attack_monsters: true
    attack_animals: false
    attack_others: false
    priority: CLOSEST
  effects:
    shoot_effect:
      sound: BLOCK_CONDUIT_ACTIVATE;1;2
      separation: 0.3
      amount: 100
      list_of_effects:
        effect1:
          particle: REDSTONE;15293951
          speed: 0.01
    impact_effect:
      list_of_effects:
        effect1:
          particle: FLASH
          speed: 0.1
  upgrades:
    1:
      speed: 1.5
      range: 15
      min_damage: 1
      max_damage: 2.5
      money_cost: 0
      actions:
        action1:
          type: "potion_effect: SLOW;1"
          duration: 5
          probability: 20
    2:
      speed: 1.25
      range: 17
      min_damage: 1.5
      max_damage: 3
      money_cost: 1000
      actions:
        action1:
          type: "potion_effect: SLOW;1"
          duration: 6
          probability: 40
    3:
      speed: 1
      range: 20
      min_damage: 2
      max_damage: 3.5
      money_cost: 3000
      actions:
        action1:
          type: "potion_effect: SLOW;1"
          duration: 7
          probability: 60
items:
  block:
    id: "PURPLE_TERRACOTTA"
    name: "&aSlowness Turret &6Block"
    lore:
    - "&7Special turret that damages and"
    - "&7slows enemies."
    - ""
    - "&8» &7Level: &e%upgrade_level%"
    - "&8» &7Damage: &a%min_damage%&7-&a%max_damage%"
    - "&8» &7Cooldown: &a%speed% seconds"
    - "&8» &7Range: &a%range% blocks"
    - ""
    - "&8» &e%action_action1_probability%% &7probability of applying &dslowness"
    - "&8» &7for &e%action_action1_duration% &7seconds."
  ammunition:
    id: "PURPLE_DYE"
    name: "&6Slowness Turret &7Ammunition"
    lore:
    - "&7Place this item in your turret inventory"
    - "&7to start shooting." 
inventory:
  upgrade:
    id: "EMERALD"
    name: "&aSlowness Turret &eUpgrade"
    lore:
    - "&7Level: &e&l%current_level%&8 ➜ &e&l%next_level%"  
    - "&7Damage: &a%current_min_damage%&7-&a%current_max_damage%&8 ➜ &a%next_min_damage%&7-&a%next_max_damage%"
    - "&7Cooldown: &a%current_speed%(s)&8 ➜ &a%next_speed%(s)"
    - "&7Range: &a%current_range% blocks&8 ➜ &a%next_range% blocks"
    - ""
    - "&eCurrent:"
    - "&a%current_action_action1_probability%% &7probability of applying &dslowness"
    - "&7for &a%current_action_action1_duration% &7seconds."
    - ""
    - "&eNext:"
    - "&a%next_action_action1_probability%% &7probability of applying &dslowness"
    - "&7for &a%next_action_action1_duration% &7seconds."
    - ""
    - "&7Cost: &6$%money_cost%"
    - ""
    - "&8[Click to Upgrade to Level &e&l%next_level%&8]"  
  last_upgrade:
    id: "REDSTONE"
    name: "&aSlowness Turret &eUpgrade"
    lore:
    - "&7Level: &e&l%current_level%"  
    - "&7Damage: &a%current_min_damage%&7-&a%current_max_damage%"
    - "&7Cooldown: &a%current_speed%(s)"
    - "&7Range: &a%current_range% blocks"
    - ""
    - "&a%current_action_action1_probability%% &7probability of applying &dslowness"
    - "&7for &a%current_action_action1_duration% &7seconds."
    - ""
    - "&7No more Upgrades available" 
hologram:
- "&8[&6Slowness Turret&8]"
- "&7Owner: &a%owner%"
- "&7Level: &a%level%"
- "&7Damage: &a%min_damage%&7-&a%max_damage%"
hit_hologram:
- "&c-%value% &8[&7%owner%&8]"

Last updated