* ============================================================================
* Automatic State Removal Conditions
* ============================================================================
*
* By default, RPG Maker MV's battle system has automatic state removal under
* three different conditions: none, action end, turn end.
*
* None and Turn End are working as intended. However, Action End, however, had
* the states removed at the start of the battler's action rather than the end.
* This is changed and updated to occur only at the end of a battler's action.
*
* Two more automatic conditions are now added: Action Start and Turn Start.
* These can be added and implemented using the following notetags:
*
* State Notetags:
* <Action Start: x>
* <Action Start: x to y>
* This will cause this state to update its turns remaining at the start of
* an action. x is the number of turns it will last. If you use x to y, upon
* applying the state, the state will be removed a random number of turns
* from x to y.
*
* <Turn Start: x>
* <Turn Start: x to y>
* This will cause the state to update its turns remaining at the start of a
* battle turn. x is the number of turns it will last. If you use x to y,
* upon applying the state, the state will be removed a random number of
* turns from x to y.
*
* States with Action End have a unique trait to them where if the caster of
* the state is the current active battler (subject) and if the state is then
* applied on the user itself, they will gain a 'free turn'. The 'free turn' is
* to mitigate the user from losing 1 duration of the turn since with an Action
* End timing, they would lose the benefit of being under the state for that
* turn's timing.