parse battle result