fight funciton

getting in the information as i go form the players to the formulas
completed after corrected my wrong terms.