Here's a trick:
Perhaps you have a specific portion of repeating code within your Skill/Item damage formulas.
In order to make your formula smaller, or to have a guaranteed form of consistency, you can set a Variable to be a String in the beginning of your game:
Simply take your repeating code, place it between two quotes, and set it as a script assigned to a specific Variable. (In this case, it is Variable ID 3)
Then, within your formulas, you can evaluate that Variable (simply do
eval(v[x]) and it will treat the text like it is code):
Now you have a single place to manipulate if you ever want to make small changes to your base formula.
Simply change the stuff in between the two quotes within the Variable, and it will change for all the Skills it affects.
(Also take note you may want to make multiple Variables like this; one for ATK/DEF, one for MAT/MDF, one for healing, etc....)
And finally, another use for this could be to create weather, terrain, or other global effects to Enemies/Actors.
Say, for example, you enter a forest that boosts all healing Skills; simply change your global healing formula whenever you enter to forest, and change it back to normal whenever you leave.
Whenever you activate weather during your game, maybe you also want to reduce the power of magic attacks.
Or perhaps your party get cursed! And now all of your physical abilities are really weak (using the example below):
The possibilities are endless!
