Chrono trigger dmg formula

broken image
broken image

The four basic arithmetic operators should be self-explanatory, but are explained with Ruby syntax rules in mind. Negative floats are preceded by the negative sign with no space between the sign and the numerical value. Floating point values float for short are values with any number of significant figures. Instead, values that start with '0' are treated as octal values.įor example. In other words, what you see is what you get in base Numerical values that precede with '0' are not integers. Negative integers are preceded by the negative sign with no space between the sign and the numerical value. Integers are whole number values with no significant figures. In order to make examples in this guide clear, the output will be explicitly stated within an associated comment on the same line. But when creating your damage formula, the output is implied. Examples will include a Ruby statement and their outputs in the associated 'comment'.Ĭomments are preceded by the ' ' symbol and are not meant to be explicitly typed in the formula box. However, the purpose of this guide is to introduce basic Ruby syntax and concepts so that you can make the most out the 'Formula' field.

broken image

You do not need any prior programming experience in order to make your own formulas. Formulas must adhere to Ruby syntax rules even though this requirement isn't explicitly stated. Basic arithmetic skill and intermediate algebra are recommended.