This script allows states to be given a portion of code to eval during the 'refresh state turns' method.
What this means is, you can create various hp / mp / tp moddifying states. You could also attach variables onto your state turns.
Obviously, as you can code the formula, this opens a whole range of possibilities. Such as using various stats to determine the hp/mp loss, Using element resistance to determine TP gain, Using variables to determine the HP lost...
There are many uses for this kind of feature, so dont be scared to think 'outside of the box'.
Features
- Run Custom Code When State Turns Are Refreshed.