While VX Ace allows you to modify individual characters' chance of being afflicted by states, there is no way by default to allow modifiers on how long a state lasts. This script allows you to use element rates as modifiers on the duration of states. This is completely independent of the rate of inflicting the state, so this can be used, for example, to have enemies that are easily afflicted by a state but shake it off quickly or enemies that are difficult to land a state on but have it last a very long time.
To use, add this notetag to the state notes, where "x" is the number of the element rate you wish to use for the state:
Then simply assign the element rate as normal. (i.e. >100% = longer duration, <100% = shorter duration)
Free for use in any commercial or non-commercial project! Credit to "lilyWhite"; I reserve the right to be slightly miffed if you get the capitalization wrong. :3
The script is within the spoiler below. Just copy into the Script Editor—no configuration required!