Just a rapid question, is there a limit of the number of characters that can be written into a the custom formula field? Is there a way to expand it? I have an hability that must chek if several states have been aplied to the target, and it seems I've already filled the field T_T
P.S. English not native, as you will probably guess.
100 characters, but there is a way to get round that. by using a scriptlet.
class Game_Battler < Game_BattlerBase def custom_formula_name(a, b, v) #here you can add as much as you want endend[SIZE=10.5pt]then you only need to write this in your skill formula box:[/SIZE]
[SIZE=10.5pt]custom_formula_name(a, b, v)[/SIZE]
[SIZE=10.5pt]a is attacker, b is target, v is variable.[/SIZE]
[SIZE=10.5pt]Just make sure that each time you make a different skill using this method, you give a unique custom name to your formula.[/SIZE]
And the syntax in the scriptlet is the same as in the custum formula? where do I add the scriptlet? TY for your help ^^
Like all scripts you put it under Materials and above Main.
The syntax is the same, but you don't do it in one great big long line. Each argument will be on its own line.