Implement luck calculation