1
0
Fork 0

Shulker; fix attack open animation, improve peek

This commit is contained in:
Bakawun 2023-11-14 13:57:56 +00:00 committed by the-real-herowl
parent 26cfdf0b7c
commit b02a3deec7
1 changed files with 4 additions and 2 deletions

View File

@ -68,8 +68,10 @@ mcl_mobs.register_mob("mobs_mc:shulker", {
stand_speed = 25, walk_speed = 25, run_speed = 50, punch_speed = 25,
speed_normal = 25, speed_run = 50,
stand_start = 0, stand_end = 25,
walk_start = 65, walk_end = 65,
walk_start = 45, walk_end = 65,
walk_loop = false,
run_start = 65, run_end = 85,
run_loop
punch_start = 80, punch_end = 100,
},
view_range = 16,
@ -85,7 +87,7 @@ mcl_mobs.register_mob("mobs_mc:shulker", {
mcl_mobs:yaw(self, 0, 0, dtime)
end
if self.state == "attack" then
self:set_animation("punch")
self:set_animation("run")
end
self.path.way = false
self.look_at_players = false