diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 6e21c05c8..6eac022a3 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -365,11 +365,13 @@ local set_yaw = function(self, yaw, delay, dtime) ddtime = dtime end - if math.abs(target_shortest_path) > 200*ddtime then + minetest.chat_send_all(math.abs(target_shortest_path)) + + if math.abs(target_shortest_path) > 280*ddtime then if target_shortest_path > 0 then - self.object:set_yaw(self.object:get_yaw()+3*ddtime) + self.object:set_yaw(self.object:get_yaw()+1.5*ddtime) else - self.object:set_yaw(self.object:get_yaw()-3*ddtime) + self.object:set_yaw(self.object:get_yaw()-1.5*ddtime) end end