Healing.yml

turret:
  alias: "Healing Turret"
  structure:
  - "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTY3OTkxOGU1MmYzZjhmMmNhYmJiZWFjNmE5NzY4MWYyZjhhYTEwYzBiMmU4MTg1OTI4ODVhNGEwZTlkMjI3In19fQ=="
  - "BLUE_CONCRETE"
  - "LAPIS_BLOCK"
  shoot_type: INSTANT
  target: ALLIES
  require_ammunition: true
  health_recovery: 10
  default_options:
    attack_players: true
    attack_monsters: false
    attack_animals: true
    attack_others: false
    priority: CLOSEST
  effects:
    shoot_effect:
      sound: ENTITY_STRAY_DEATH;1;2
      separation: 0.3
      amount: 100
      list_of_effects:
        effect1:
          particle: REDSTONE;188415
          speed: 0.01
  upgrades:
    1:
      speed: 6
      range: 5
      min_heal: 2
      max_heal: 4
      max_targets: 2
      health: 50 
    2:
      speed: 5
      range: 6
      min_heal: 3
      max_heal: 5
      max_targets: 3
      health: 70
      item_cost:
        item1:
          id: DIAMOND
          message_displayname: "&eDiamond"
          amount: 5
        item2:
          id: IRON_INGOT
          message_displayname: "&eIron Ingot"
          amount: 10
    3:
      speed: 4
      range: 7
      min_heal: 4
      max_heal: 6
      max_targets: 4
      health: 100
      item_cost:
        item1:
          id: DIAMOND
          message_displayname: "&eDiamond"
          amount: 10
        item2:
          id: IRON_INGOT
          message_displayname: "&eIron Ingot"
          amount: 25
items:
  block:
    id: "LAPIS_BLOCK"
    name: "&aHealing Turret &6Block"
    lore:
    - "&7Slow speed turret that heals"
    - "&7multiple allies."
    - ""
    - "&8» &7Level: &e%upgrade_level%"
    - "&8» &7Heal: &a%min_heal%&7-&a%max_heal%"
    - "&8» &7Cooldown: &a%speed% seconds"
    - "&8» &7Range: &a%range% blocks"
    - "&8» &7Maximum Targets: &a%max_targets%"
  ammunition:
    id: "PRISMARINE_CRYSTALS"
    name: "&6Healing Turret &7Ammunition"
    lore:
    - "&7Place this item in your turret inventory"
    - "&7to start shooting." 
inventory:
  upgrade:
    id: "EMERALD"
    name: "&aHealing Turret &eUpgrade"
    lore:
    - "&7Level: &e&l%current_level%&8 ➜ &e&l%next_level%"  
    - "&7Heal: &a%current_min_heal%&7-&a%current_max_heal%&8 ➜ &a%next_min_heal%&7-&a%next_max_heal%"
    - "&7Cooldown: &a%current_speed%(s)&8 ➜ &a%next_speed%(s)"
    - "&7Range: &a%current_range% blocks&8 ➜ &a%next_range% blocks"
    - "&7Maximum Targets: &a%current_max_targets% &8 ➜ &a%next_max_targets%"
    - "&7Health: &a%current_health%&8 ➜ &a%next_health%"
    - ""
    - "&7Cost:"
    - "%items_cost%"
    - ""
    - "&8[Click to Upgrade to Level &e&l%next_level%&8]"  
  last_upgrade:
    id: "REDSTONE"
    name: "&aHealing Turret &eUpgrade"
    lore:
    - "&7Level: &e&l%current_level%"  
    - "&7Heal: &a%current_min_heal%&7-&a%current_max_heal%"
    - "&7Cooldown: &a%current_speed%(s)"
    - "&7Range: &a%current_range% blocks"
    - "&7Maximum Targets: &a%current_max_targets%"
    - "&7Health: &a%current_health%"
    - ""
    - "&7No more Upgrades available" 
hologram:
- "&8[&6Healing Turret&8]"
- "&7Owner: &a%owner%"
- "&7Level: &a%level%"
- "&7Heal: &a%min_heal%&7-&a%max_heal%"
- "&7Health: &e%current_health%&8/&e%max_health%"
hit_hologram:
- "&a+%value%&4❤  &8[&7%owner%&8]"

Last updated