Added hp (forgotten) and random calculation of attack