Quote:
|
Originally Posted by noobie
then its already 0 or 0.xx
thats the simplest way of doing it.
|
Hmm, just checked that. Not true...
It should be 7.65, making it 8.
speed/strreq
37/35
hitsmax = (int)(((1 / speed) * 3000));
maxdamage = (int)(((strreq + speed + hitsmax) / 20));
hitsmax should be 81.08108108... making it 81
It's below 10 appearently, so an If statement makes it 10.
But assuming it WAS 81, then maxdamage should be: 7.65, making it 8.
If it was 0, then it should be: 3.6, making it 4.
Either way, it shouldn't be 0...