RPG Maker Forums

I'm posting some questions in regards to the hit formula box.  One, what is the proper syntax for "rounding up" or "rounding down" to the nearest whole number?  What is the syntax for "if 0 or less, then 1?"

Basically, how does this formula translate:

(x - 10/2, rounded down + random number 1-20) + (a stat defined by N.A.S.T.Y. Extra Stats) - y

x = Attacker's Strength

y = Defender's Defense

For those of you in the know, it is sort of a variation of the D20 hit and damage formula.

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,040
Messages
1,018,470
Members
137,821
Latest member
Capterson
Top