Siege.yml

turret:
  alias: "Siege Turret"
  structure:
  - "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTM0ZDhiZGU5ODU3ZDg3MmU1MjEyNGQ5OTgyMTU0Y2YzZDI4Yjc3MDJmYmFjZDE5ODMzYzUxMWZlNmMxY2RmNSJ9fX0="
  - "TERRACOTTA"
  - "IRON_BLOCK"
  shoot_type: PARABOLIC
  target: ENEMIES
  require_ammunition: true
  health_recovery: 10
  default_options:
    attack_players: false
    attack_monsters: true
    attack_animals: false
    attack_others: false
    priority: CLOSEST
  effects:
    shoot_effect:
      sound: ENTITY_CREEPER_DEATH;1;0.3
      parabolic_separation: 35
      parabolic_speed: 0.05
      list_of_effects:
        effect1:
          particle: EXPLOSION_NORMAL
          speed: 0.01
        effect2:
          particle: FLAME
          speed: 0.01
          offset_horizontal: 0.4
        effect3:
          particle: FLAME
          speed: 0.01
          offset_horizontal: -0.4
    impact_effect:
      sound: ENTITY_GENERIC_EXPLODE;1;0.4
      list_of_effects:
        effect1:
          particle: EXPLOSION_LARGE
          speed: 1
  upgrades:
    1:
      speed: 3
      range: 11
      min_damage: 4
      max_damage: 9
      splash_radius: 1.5
      health: 50
      entity_damage_reduction: "%armor%*0.03+%protection_projectile_level%*0.03"
      money_cost: 0
      max_ammo: 576
      critical_hit:
        chance: 10
        min_damage: 6
        max_damage: 12
    2:
      speed: 2.5
      range: 13
      min_damage: 8
      max_damage: 15
      splash_radius: 2.5
      health: 70
      entity_damage_reduction: "%armor%*0.025+%protection_projectile_level%*0.025"
      money_cost: 1000
      max_ammo: 1152
      critical_hit:
        chance: 15
        min_damage: 10
        max_damage: 17
    3:
      speed: 2
      range: 15
      min_damage: 13
      max_damage: 20
      splash_radius: 3.5
      health: 100
      entity_damage_reduction: "%armor%*0.02+%protection_projectile_level%*0.02"
      money_cost: 3000
      max_ammo: 1728
      critical_hit:
        chance: 20
        min_damage: 16
        max_damage: 24
items:
  block:
    id: "IRON_BLOCK"
    name: "&aSiege Turret &6Block"
    lore:
    - "&7Slow speed turret that damages multiple"
    - "&7enemies on every hit."
    - ""
    - "&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» &7Explosion Radius: &a%splash_radius% blocks"
  ammunition:
    id: "GUNPOWDER"
    name: "&6Siege Turret &7Ammunition"
    lore:
    - "&7Place this item in your turret inventory"
    - "&7to start shooting."
inventory:
  upgrade:
    id: "EMERALD"
    name: "&aSiege 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"
    - "&7Explosion Radius: &a%current_splash_radius% blocks&8 ➜ &a%next_splash_radius% blocks"
    - "&7Health: &a%current_health%&8 ➜ &a%next_health%"
    - "&7Critical Hit Chance: &a%current_critical_chance%%&8 ➜ &a%next_critical_chance%%"
    - "&7Max Ammo: &a%current_max_ammo%&8 ➜ &a%next_max_ammo%"
    - ""
    - "&7Cost: &6$%money_cost%"
    - ""
    - "&8[Click to Upgrade to Level &e&l%next_level%&8]"  
  last_upgrade:
    id: "REDSTONE"
    name: "&aSiege 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"
    - "&7Explosion Radius: &a%current_splash_radius% blocks"
    - "&7Health: &a%current_health%"
    - "&7Critical Hit Chance: &a%current_critical_chance%%"
    - "&7Max Ammo: &a%current_max_ammo%"
    - ""
    - "&7No more Upgrades available" 
hologram:
- "&8[&6Siege Turret&8]"
- "&7Owner: &a%owner%"
- "&7Level: &a%level%"
- "&7Damage: &a%min_damage%&7-&a%max_damage%"
- "&7Health: &e%current_health%&8/&e%max_health%"
hit_hologram:
- "&c-%value% &8[&7%owner%&8]"
hit_hologram_critical_hit:
- "&e&lCRITICAL!"
- "&c-%value% &8[&7%owner%&8]"

Last updated