This script allows you to use a formula to calculate an enemy's parameters. You can use literal values or a set of variables provided for the formulas.
There are 8 formulas available, one for each parameter
Use the notetag
<param formula: mhp FORMULA><param formula: mmp FORMULA><param formula: atk FORMULA><param formula: def FORMULA><param formula: mat FORMULA><param formula: mdf FORMULA><param formula: agi FORMULA><param formula: luk FORMULA>Where the FORMULA is any valid ruby formula that returns a number.You can use the following variables in your formula:
val - original parameter value specified in the databaseself - the RPG::Enemy object a - the subject (this Game_Enemy object) p - game party t - game troop v - game variables s - game switchesIf no formula is specified, then the default value is given.If you would like to use ruby statements that extend across multiple lines,