Here is an example:
You hit 106, leaving your opponent with 694hp!
You hit 118, leaving your opponent with 576hp!
You hit 39, leaving your opponent with 537hp!
You hit 150, leaving your opponent with 387hp!
You hit 147, leaving your opponent with 240hp!
You hit 136, leaving your opponent with 104hp!
You hit 133, leaving your opponent with -29hp!
that is without the if statement i tried, i want it so that if the hit is greater than the hp, just the remaining hp amount is taken off so the end value is 0.
Thanks,
Shergold.