Fixed errors in Battle.java