RPG combat system.

Blitz3D Forums/Blitz3D Programming/RPG combat system.

Most common problems in those kinds of long equations is caused by float to integer conversions.
int1% = 7
flt1# = 3.256

val1# = int1 * flt1
val2# = flt1 * int1

Those two equations return a different result. The val2 returns the accurate result and val1 should be modified
val1# = Float(int1) * flt1
to work properly.

Is this the problem?