calculation question

Make games! Discuss those games here.

Moderators: Bob the Hamster, marionline, SDHawk

Post Reply
User avatar
Meowskivich
Blubber Bloat
Posts: 2199
Joined: Tue Mar 06, 2012 12:38 am
Location: Earth
Contact:

calculation question

Post by Meowskivich »

does the OHRRPGCE round up or down for equations?

I ask this in partial reference to attacks that are randomized, since they do, I believe, 1.20+-% of the base calculation. like, say, a calculation end 15.3, would it round up to 16? or just 15?
dOn'T MiNd mE! i'M jUsT CoNtAgIoUs!!!
Play Orbs CCG: http://orbsccg.com/r/4r6x :V
User avatar
Bob the Hamster
Liquid Metal King Slime
Posts: 7460
Joined: Tue Oct 16, 2007 2:34 pm
Location: Hamster Republic (Ontario Enclave)
Contact:

Post by Bob the Hamster »

In the case of damage randomization, the number is rounded to the nearest integer. 15.3 will become 15, but 15.7 will become 16.

That may not be true of other calculations. I know there are plenty of places that always just truncate the decimal places, but for damage randomization, it is rounded.
User avatar
Meowskivich
Blubber Bloat
Posts: 2199
Joined: Tue Mar 06, 2012 12:38 am
Location: Earth
Contact:

Post by Meowskivich »

Sweetness. I wanted to know for some healing attacks, like like in dragon quest games where they sometimes let you know the randomization range (like 70 - 80 HP restore)

thank ye sah
Last edited by Meowskivich on Thu Aug 08, 2013 3:12 am, edited 1 time in total.
dOn'T MiNd mE! i'M jUsT CoNtAgIoUs!!!
Play Orbs CCG: http://orbsccg.com/r/4r6x :V
Post Reply