dungeon_master.lua 335 B

1234567891011121314151617
  1. mobs:spawn({
  2. name = "mobs_monster:dungeon_master",
  3. nodes = {"caverealms:hot_cobble"},
  4. max_light = 12,
  5. min_light = 0,
  6. chance = 7000,
  7. active_object_count = 2,
  8. max_height = -8000,
  9. on_spawn = function(self, pos)
  10. self.hp_max = 70
  11. self.health = 70
  12. self.damage = 5
  13. self.shoot_interval = 1.5
  14. self.dogshoot_switch = 0
  15. end
  16. })