new fight alghoritm