2018-08-08 12:56:14 +03:00
|
|
|
mobs:register_mob("nssm:uloboros", {
|
|
|
|
type = "monster",
|
|
|
|
hp_max = 28,
|
|
|
|
hp_min = 17,
|
|
|
|
collisionbox = {-0.5, 0.00, -0.5, 0.5, 0.8, 0.5},
|
|
|
|
visual = "mesh",
|
|
|
|
mesh = "uloboros.x",
|
2020-07-26 21:42:13 +03:00
|
|
|
textures = {
|
|
|
|
{"uloboros.png"}
|
|
|
|
},
|
|
|
|
visual_size = {x = 4, y = 4},
|
2018-08-08 12:56:14 +03:00
|
|
|
makes_footstep_sound = true,
|
|
|
|
view_range = 22,
|
|
|
|
walk_velocity = 1.5,
|
|
|
|
fear_height = 4,
|
|
|
|
run_velocity = 2.5,
|
|
|
|
rotate = 270,
|
|
|
|
sounds = {
|
|
|
|
random = "uloboros",
|
|
|
|
},
|
|
|
|
damage = 5,
|
|
|
|
reach = 2,
|
|
|
|
jump = true,
|
|
|
|
drops = {
|
2020-07-26 21:42:13 +03:00
|
|
|
{name = "nssm:life_energy", chance = 1, min = 1, max = 4},
|
|
|
|
{name = "nssm:spider_leg", chance = 2, min = 1, max = 8},
|
|
|
|
{name = "nssm:silk_gland", chance = 4, min = 1, max = 3},
|
|
|
|
{name = "nssm:spider_meat", chance = 4, min = 1, max = 2},
|
2018-08-08 12:56:14 +03:00
|
|
|
},
|
|
|
|
armor = 80,
|
|
|
|
drawtype = "front",
|
|
|
|
water_damage = 1,
|
|
|
|
lava_damage = 7,
|
2021-04-05 11:49:24 +03:00
|
|
|
fire_damage = 7,
|
2018-08-08 12:56:14 +03:00
|
|
|
light_damage = 0,
|
2020-07-26 21:42:13 +03:00
|
|
|
group_attack = true,
|
|
|
|
attack_animals = true,
|
|
|
|
knock_back = 2,
|
|
|
|
blood_texture = "nssm_blood_blue.png",
|
|
|
|
stepheight = 1.1,
|
2018-08-08 12:56:14 +03:00
|
|
|
attack_type = "dogfight",
|
|
|
|
animation = {
|
|
|
|
speed_normal = 20,
|
|
|
|
speed_run = 30,
|
|
|
|
stand_start = 1,
|
|
|
|
stand_end = 80,
|
|
|
|
walk_start = 120,
|
|
|
|
walk_end = 160,
|
|
|
|
run_start = 120,
|
|
|
|
run_end = 160,
|
|
|
|
punch_start = 80,
|
|
|
|
punch_end = 110,
|
|
|
|
},
|
|
|
|
do_custom = function(self)
|
|
|
|
webber_ability(self, "nssm:web", 2)
|
|
|
|
end,
|
|
|
|
})
|