phoenix.lua 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. mobs.register_mob("nssm:phoenix", {
  2. type = "monster",
  3. description = "Phoenix",
  4. hp_max = 260*500,
  5. hp_min = 160*500,
  6. collisionbox = {-0.65, -0.4, -0.65, 0.65, 0.4, 0.65},
  7. visual = "mesh",
  8. mesh = "phoenix.x",
  9. textures = {
  10. {"phoenix.png"}
  11. },
  12. visual_size = {x = 18, y = 18},
  13. view_range = 35,
  14. lifetimer = 18000,
  15. floats = 1,
  16. rotate = 270,
  17. walk_velocity = 2,
  18. run_velocity = 2.5,
  19. fall_speed = 0,
  20. stepheight = 3,
  21. sounds = {
  22. random = "phoenix",
  23. distance = 45,
  24. },
  25. damage = 2*500,
  26. jump = false,
  27. drops = {
  28. --{name = "nssm:life_energy", chance = 1, min = 7, max = 8},
  29. --{name = "nssm:sun_feather", chance = 1, min = 1, max = 1},
  30. --{name = "nssm:phoenix_tear", chance = 1, min = 5, max = 6},
  31. --{name = "nssm:phoenix_nuggets", chance = 6, min = 10, max = 20},
  32. },
  33. armor = 40,
  34. drawtype = "front",
  35. water_damage = 5*500,
  36. lava_damage = 0,
  37. fire_damage = 0,
  38. light_damage = 0,
  39. blood_texture = "nssm_blood.png",
  40. blood_amount = 50,
  41. fly = true,
  42. attack_type = "shoot",
  43. arrow = "oerkki:flame_bolt",
  44. reach = 1,
  45. shoot_interval = 4,
  46. animation = {
  47. speed_normal = 25,
  48. speed_run = 25,
  49. stand_start = 220,
  50. stand_end = 280,
  51. walk_start = 140,
  52. walk_end = 180,
  53. run_start = 190,
  54. run_end = 210,
  55. punch_start = 80,
  56. punch_end = 110,
  57. shoot_start = 80,
  58. shoot_end = 110,
  59. }
  60. })
  61. mobs.register_egg("nssm:phoenix", "Phoenix", "fire_basic_flame.png", 1)