changed random num for battle scene