Hey,
Is damage rounded up or down? Let's say a basic attack (atk-(0.5*def)) with an attack of 2 and a def of 1.. would normally be 1.5 damage. Does it round to 1 ?
Regards.
Damage Rounding
Moderators: marionline, SDHawk
Damage Rounding
vvight.wordpress.com
Re: Damage Rounding
Damage is rounded to the nearest integer. When exactly halfway between integers (x.5), it's rounded to the nearest even integer (this the default in FreeBASIC; I don't know how QuickBasic OHR versions worked). So 1.5 damage becomes 2, while 2.5 becomes 2.