fixed fight function and battle info function