Siege.yml

turret:
  alias: "迫击炮"
  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: "&a迫击炮&6方块"
    lore:
    - "&7一个缓慢的炮塔"
    - "&7攻击中目标时造成范围性伤害."
    - ""
    - "&8» &7等级: &e%upgrade_level%"
    - "&8» &7伤害: &a%min_damage%&7-&a%max_damage%"
    - "&8» &7冷却: &a%speed%秒"
    - "&8» &7范围: &a%range%格"
    - "&8» &7爆炸半径: &a%splash_radius%格"
  ammunition:
    id: "GUNPOWDER"
    name: "&6迫击炮&7弹药"
    lore:
    - "&7把这个物品放入你的炮塔弹药舱里"
    - "&7来使炮塔开始射击."
inventory:
  upgrade:
    id: "EMERALD"
    name: "&a迫击炮&e升级"
    lore:
    - "&7等级: &e&l%current_level%&8 ➜ &e&l%next_level%"  
    - "&7伤害: &a%current_min_damage%&7-&a%current_max_damage%&8 ➜ &a%next_min_damage%&7-&a%next_max_damage%"
    - "&7冷却: &a%current_speed%(秒)&8 ➜ &a%next_speed%(秒)"
    - "&7范围: &a%current_range%格&8 ➜ &a%next_range%格"
    - "&7爆炸半径: &a%current_splash_radius%格&8 ➜ &a%next_splash_radius%格"
    - "&7生命值: &a%current_health%&8 ➜ &a%next_health%"
    - "&7暴击几率: &a%current_critical_chance%%&8 ➜ &a%next_critical_chance%%"
    - "&7最大弹药上限: &a%current_max_ammo%&8 ➜ &a%next_max_ammo%"
    - ""
    - "&7花费: &6$%money_cost%"
    - ""
    - "&8[点击升到&e&l%next_level%&8级]"  
  last_upgrade:
    id: "REDSTONE"
    name: "&a迫击炮&e升级"
    lore:
    - "&7等级: &e&l%current_level%"  
    - "&7伤害: &a%current_min_damage%&7-&a%current_max_damage%"
    - "&7冷却: &a%current_speed%(秒)"
    - "&7范围: &a%current_range%格"
    - "&7爆炸半径: &a%current_splash_radius%格"
    - "&7生命值: &a%current_health%"
    - "&7暴击几率: &a%current_critical_chance%%&8 ➜ &a%next_critical_chance%%"
    - "&7最大弹药上限: &a%current_max_ammo%&8 ➜ &a%next_max_ammo%"
    - ""
    - "&c无法再继续升级" 
hologram:
- "&8[&6迫击炮&8]"
- "&7拥有者: &a%owner%"
- "&7等级: &a%level%"
- "&7伤害: &a%min_damage%&7-&a%max_damage%"
- "&7生命值: &e%current_health%&8/&e%max_health%"
hit_hologram:
- "&c-%value% &8[&7%owner%&8]"
hit_hologram_critical_hit:
- "&e&l暴击!"
- "&c-%value% &8[&7%owner%&8]"

Last updated