nssm/mobs/white_werewolf.lua

52 lines
1.1 KiB
Lua
Raw Normal View History

2018-08-08 12:56:14 +03:00
mobs:register_mob("nssm:white_werewolf", {
type = "monster",
hp_max = 40,
hp_min = 25,
collisionbox = {-0.85, -0.01, -0.85, 0.85, 3.50, 0.85},
visual = "mesh",
mesh = "white_werewolf.x",
textures = {
{"white_werewolf.png"}
},
visual_size = {x = 4, y = 4},
2018-08-08 12:56:14 +03:00
makes_footstep_sound = true,
view_range = 30,
walk_velocity = 3,
fear_height = 4,
run_velocity = 5,
2018-08-09 13:57:31 +03:00
sounds = {
2022-09-28 12:41:38 +03:00
random = "werewolf"
2018-08-08 12:56:14 +03:00
},
damage = 5,
jump = true,
drops = {
{name = "nssm:life_energy", chance = 1, min = 3, max = 4},
{name = "nssm:werewolf_leg", chance = 2, min = 1, max = 2},
2022-09-28 12:41:38 +03:00
{name = "nssm:white_wolf_fur", chance = 2, min = 1, max = 1}
2018-08-09 13:57:31 +03:00
},
2018-08-08 12:56:14 +03:00
armor = 80,
drawtype = "front",
water_damage = 2,
lava_damage = 5,
2021-04-05 11:49:24 +03:00
fire_damage = 5,
2018-08-08 12:56:14 +03:00
light_damage = 0,
group_attack = true,
attack_animals = true,
knock_back = 2,
blood_texture = "nssm_blood.png",
stepheight = 1.1,
2018-08-08 12:56:14 +03:00
attack_type = "dogfight",
animation = {
speed_normal = 15,
speed_run = 25,
stand_start = 1,
stand_end = 60,
walk_start = 90,
walk_end = 130,
run_start = 140,
run_end = 160,
punch_start = 170,
2022-09-28 12:41:38 +03:00
punch_end = 193
2018-08-09 13:57:31 +03:00
}
2018-08-08 12:56:14 +03:00
})