1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-12-23 18:05:30 +01:00

update mobs

This commit is contained in:
2015-09-14 18:53:48 +02:00
parent 56e10efec2
commit c9ba04f339
13 changed files with 88 additions and 53 deletions

View File

@@ -54,11 +54,16 @@ mobs:register_mob("mobs:mese_monster", {
light_damage = 0,
-- model animation
animation = {
speed_normal = 15, speed_run = 15,
stand_start = 0, stand_end = 14,
walk_start = 15, walk_end = 38,
run_start = 40, run_end = 63,
punch_start = 15, punch_end = 38, -- was 40 & 63
speed_normal = 15,
speed_run = 15,
stand_start = 0,
stand_end = 14,
walk_start = 15,
walk_end = 38,
run_start = 40,
run_end = 63,
punch_start = 40,
punch_end = 63,
},
})
-- spawn on stone between 20 and -1 light, 1 in 7000 chance, 1 in area below -25
@@ -77,14 +82,14 @@ mobs:register_arrow("mobs:mese_arrow", {
player:punch(self.object, 1.0, {
full_punch_interval = 1.0,
damage_groups = {fleshy = 8}, --Modif MFF
}, 0)
}, nil)
end,
hit_mob = function(self, player)
player:punch(self.object, 1.0, {
full_punch_interval = 1.0,
damage_groups = {fleshy = 8}, --Modif MFF
}, 0)
}, nil)
end,
hit_node = function(self, pos, node)